From ed6ae335158d662d2c29634e88243942e637d170 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 4 Aug 2010 14:13:57 +0200 Subject: restructure the templates a bit --- templates/403.html | 8 ++++++++ templates/base.html | 16 ++++++++++------ templates/edit.html | 31 +++++++++++++++++++++++++++++++ templates/tree.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+), 6 deletions(-) create mode 100644 templates/403.html create mode 100644 templates/edit.html create mode 100644 templates/tree.html diff --git a/templates/403.html b/templates/403.html new file mode 100644 index 0000000..00b94f1 --- /dev/null +++ b/templates/403.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block headline %}Permission denied{% endblock %} +{% block title %}COIP{% endblock %} +{% block main %} +
+

{{message}}

+
+{% endblock %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 7a56ee3..ab645b3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,6 +6,7 @@ + @@ -17,6 +18,7 @@ + {% block title %}{% endblock %} +{% endblock %} +{% block headline %}{% if name %}{{name.shortname}}{% else %}{{profile.display_name}}{% endif %}{% endblock %} +{% block title %}COIP{% if name %} - {{name.shortname}}{% endif %}{% endblock %} +{% block main %} +{% if name %} +
+ {% if name and render.up %} + {% if name.parent %} + .. (up one level) + {% else %} + .. (up one level) + {% endif %} + {% endif %} +
+
+{% endif %} +
+{% block content %}{% endblock %} +
+{% endblock %} \ No newline at end of file -- cgit v1.1