From: yomguy Date: Thu, 20 Sep 2012 15:04:21 +0000 (+0200) Subject: add admin template X-Git-Tag: 0.9-probarreau~352 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a282d6636d861b3030549ebe0d39dca045f0bc76;p=teleforma.git add admin template --- 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 %} +
+ + + +