From 1b2b493128efcfc052e879adfe2d4d799faabb9a Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Sun, 6 Sep 2020 19:44:53 +0200 Subject: [PATCH] Included footer template. in globall + a bit formatting love. --- .../lostplaces_app/templates/global.html | 152 +++++++++--------- 1 file changed, 80 insertions(+), 72 deletions(-) diff --git a/lostplaces/lostplaces_app/templates/global.html b/lostplaces/lostplaces_app/templates/global.html index 1919371..6214a19 100644 --- a/lostplaces/lostplaces_app/templates/global.html +++ b/lostplaces/lostplaces_app/templates/global.html @@ -3,83 +3,91 @@ - - - - - - - {% block title %}Urban Exploration{% endblock %} - + + + + + + + {% block title %}Urban Exploration{% endblock %} + - {% block additional_head %} - {% endblock additional_head %} + {% block additional_head %} + {% endblock additional_head %} - + - -
-
- -
- - {% if user.is_authenticated %} - Hi {{ user.username }}! - logout - {% if user.is_superuser %} - | admin - {% endif %} + +
+
+ +
+ + {% if user.is_authenticated %} + Hi {{ user.username }}! + logout + {% if user.is_superuser %} + admin + {% endif %} - {% else %} - You are not logged in. - login | - signup - {% endif %} - -
-
- - - -
- {% if messages %} -
-
    - {% for message in messages %} -
  • -
    -
    -
    + {% else %} + You are not logged in. + login | + signup + {% endif %} + +
    +
+ + + +
+ {% if messages %} +
+
    + {% for message in messages %} +
  • +
    +
    +
    +
    +
    +
    + {{ message }}
    -
    - {{ message }} -
    -
- - {% endfor %} - -
- {% endif %} - {% block maincontent %} - {% endblock maincontent %} - - - + + {% endfor %} + + + {% endif %} + {% block maincontent %} + {% endblock maincontent %} + + + + + {% block footer %} + {% include 'partials/nav/footer.html' %} + {% endblock footer %} + + \ No newline at end of file