From 45a1bff51d3ef5daef5207569bc73c805205aa26 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 12 Feb 2016 14:03:36 +0530 Subject: [PATCH] templates: Base template for all applications To show introduction and title of a module which will be available as properties of a module. This allows the setup process to show the introduction to the application instead of a blank page. --- plinth/templates/app.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 plinth/templates/app.html diff --git a/plinth/templates/app.html b/plinth/templates/app.html new file mode 100644 index 000000000..023171c08 --- /dev/null +++ b/plinth/templates/app.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% comment %} +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +{% endcomment %} + +{% load i18n %} + +{% block content %} +

{{ title }}

+ + {% for paragraph in description %} +

{{ paragraph|safe }}

+ {% endfor %} + + {% block configuration %} + {% endblock %} + +{% endblock %}