From af1ba13d863e2c8395a01b1eea68d5af23ad27f4 Mon Sep 17 00:00:00 2001 From: ajurna Date: Thu, 30 Jul 2015 10:49:57 +0100 Subject: [PATCH] added containers for the rest of hte pages after last commit. --- comic/templates/comic/comic_list.html | 2 + comic/templates/comic/settings_page.html | 60 ++++++++++++------------ comic/templates/comic/users_page.html | 46 +++++++++--------- 3 files changed, 56 insertions(+), 52 deletions(-) diff --git a/comic/templates/comic/comic_list.html b/comic/templates/comic/comic_list.html index 93a5eb6..2d20905 100644 --- a/comic/templates/comic/comic_list.html +++ b/comic/templates/comic/comic_list.html @@ -11,6 +11,7 @@ {% endfor %} {% endblock %} {% block content %} +

Comics

{% if file_list %} @@ -26,4 +27,5 @@

No comics.

{% endif %}
+
{% endblock %} \ No newline at end of file diff --git a/comic/templates/comic/settings_page.html b/comic/templates/comic/settings_page.html index 4896c5d..3072d46 100644 --- a/comic/templates/comic/settings_page.html +++ b/comic/templates/comic/settings_page.html @@ -13,34 +13,36 @@ {% endblock %} {% block content %} -{% if error_message %} - -{% endif %} -{% if success_message %} - -{% endif %} -
- {% csrf_token %} - {% for item in form %} -
- - {{ item }} -
- {% endfor %} - -
-{% endblock %} +
+ {% if error_message %} + + {% endif %} + {% if success_message %} + + {% endif %} +
+ {% csrf_token %} + {% for item in form %} +
+ + {{ item }} +
+ {% endfor %} + +
+ {% endblock %} -{% block content2 %} -{% if error_message %} - -{% endif %} -
- {% csrf_token %} -
- - -
- -
+ {% block content2 %} + {% if error_message %} + + {% endif %} +
+ {% csrf_token %} +
+ + +
+ +
+
{% endblock %} \ No newline at end of file diff --git a/comic/templates/comic/users_page.html b/comic/templates/comic/users_page.html index 0fa3938..7e87b3a 100644 --- a/comic/templates/comic/users_page.html +++ b/comic/templates/comic/users_page.html @@ -13,29 +13,29 @@ {% endblock %} {% block content %} - - - - - - - - - - - {% for user in users %} - - - - - - - {% endfor %} - - - -
#UsernameEmailSuperuser
{{user.id}}{{user.username}}{{user.email}}{{user.is_superuser}}
-Add User +
+ + + + + + + + + + + {% for user in users %} + + + + + + + {% endfor %} + +
#UsernameEmailSuperuser
{{user.id}}{{user.username}}{{user.email}}{{user.is_superuser}}
+ Add User +
{% endblock %} {% block script %}