From 0232420d5d405faced57ffd6f3798208fadb79a3 Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 7 Jun 2022 08:13:12 -0500 Subject: [PATCH] cleaned up some navbar items into a dropdown --- benchcoach/templates/base.html | 182 +++++++++++++++++---------------- 1 file changed, 95 insertions(+), 87 deletions(-) diff --git a/benchcoach/templates/base.html b/benchcoach/templates/base.html index 5fc685e..8e20498 100644 --- a/benchcoach/templates/base.html +++ b/benchcoach/templates/base.html @@ -1,131 +1,139 @@ {% load static i18n %} {% get_current_language as LANGUAGE_CODE %} - - - - {% block title %}BenchCoach{% endblock title %} - - - + + + + {% block title %}BenchCoach{% endblock title %} + + + - + - {% block css %} + {% block css %} - {% endblock %} - - {# Placed at the top of the document so pages load faster with defer #} - {% block javascript %} - - - + {% endblock %} + + {# Placed at the top of the document so pages load faster with defer #} + {% block javascript %} + + + - - - - + + + + - {% endblock javascript %} + {% endblock javascript %} - + - + -
- -
+
- {% if messages %} - {% for message in messages %} -
- {{ message }} - -
- {% endfor %} - {% endif %} +
- {% block content %} -

Use this document as a way to quick start any new project.

- {% endblock content %} + {% if messages %} + {% for message in messages %} +
+ {{ message }} + +
+ {% endfor %} + {% endif %} -
+ {% block content %} +

Use this document as a way to quick start any new project.

+ {% endblock content %} - {% block modal %}{% endblock modal %} +
- {% block inline_javascript %} - {% comment %} +{% block modal %}{% endblock modal %} + +{% block inline_javascript %} + {% comment %} Script tags with only code, no src (defer by default). To run with a "defer" so that you run inline code: {% endcomment %} - {% endblock inline_javascript %} - +{% endblock inline_javascript %} +