From a72467d5f7b61f4aa12f0ea9e124ed95a235838d Mon Sep 17 00:00:00 2001 From: Burathar Date: Sun, 26 Sep 2021 15:39:21 +0200 Subject: [PATCH] Add js waring --- biscd/biscd/templates/base.html | 52 ++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/biscd/biscd/templates/base.html b/biscd/biscd/templates/base.html index 8c57327..963ee2e 100644 --- a/biscd/biscd/templates/base.html +++ b/biscd/biscd/templates/base.html @@ -70,40 +70,44 @@ - -
- {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} -
-
- {% if category == 'message' or category == 'info' %} -
- {% elif category == 'success' %} -
- {% elif category == 'warning' %} -
- {% elif category == 'error' %} -
- {% endif %} - - {{ message }} -
+ + {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} + {% for category, message in messages %} +
+
+ {% if category == 'message' or category == 'info' %} +
+ {% elif category == 'success' %} +
+ {% elif category == 'warning' %} +
+ {% elif category == 'error' %} +
+ {% endif %} + + {{ message }}
- {% endfor %} - {% endif %} - {% endwith %} +
+ {% endfor %} + {% endif %} + {% endwith %} - {# application content needs to be provided in the app_content block #} - {% block app_content %}{% endblock %} + {# application content needs to be provided in the app_content block #} + {% block app_content %}{% endblock %}
+{% block scripts %}{% endblock %} \ No newline at end of file