From a282d6636d861b3030549ebe0d39dca045f0bc76 Mon Sep 17 00:00:00 2001 From: yomguy Date: Thu, 20 Sep 2012 17:04:21 +0200 Subject: [PATCH] add admin template --- MANIFEST.in | 6 ++-- teleforma/templates/admin/base.html | 48 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 4 deletions(-) create mode 100644 teleforma/templates/admin/base.html diff --git a/MANIFEST.in b/MANIFEST.in index bd54b34c..e8c9cbc9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,11 +4,9 @@ include CHANGELOG include README.rst exclude *.cfg recursive-include example * -recursive-include teleforma/templates * -recursive-include teleforma/static * -recursive-include teleforma/pages * - +recursive-include doc * global-exclude *.pyc prune dist prune build +recursive-exclude TeleForma.egg-info * diff --git a/teleforma/templates/admin/base.html b/teleforma/templates/admin/base.html new file mode 100644 index 00000000..d5f4b3f1 --- /dev/null +++ b/teleforma/templates/admin/base.html @@ -0,0 +1,48 @@ + + + +{% block title %}{% endblock %} + +{% block extrastyle %}{% endblock %} + +{% if LANGUAGE_BIDI %}{% endif %} + +{% block extrahead %}{% endblock %} +{% block blockbots %}{% endblock %} + +{% load i18n %} + + + + +
+ + {% if not is_popup %} + {% block breadcrumbs %}{% endblock %} + {% endif %} + + {% if messages %} + + {% endif %} + + +
+ {% block pretitle %}{% endblock %} + {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} + {% block content %} + {% block object-tools %}{% endblock %} + {{ content }} + {% endblock %} + {% block sidebar %}{% endblock %} +
+
+ + + {% block footer %}{% endblock %} +
+ + + + -- 2.39.5