From 606e6b3843e427e4b3779935f7cb5f548d7c61d5 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sat, 13 Dec 2025 16:45:57 -0300 Subject: [PATCH] fix(style): demo mode close button is place incorrectly --- app/templates/layouts/base.html | 97 +++++++++++++++++---------------- 1 file changed, 49 insertions(+), 48 deletions(-) diff --git a/app/templates/layouts/base.html b/app/templates/layouts/base.html index d89e0df..fbb5c13 100644 --- a/app/templates/layouts/base.html +++ b/app/templates/layouts/base.html @@ -5,52 +5,53 @@ {% load title %} - - - - - {% filter site_title %} - {% block title %} - {% endblock title %} - {% endfilter %} - - {% include 'includes/head/favicons.html' %} - {% progressive_web_app_meta %} - {# {% include 'includes/styles.html' %}#} - {% block extra_styles %}{% endblock %} - {% include 'includes/scripts.html' %} - {% block extra_js_head %}{% endblock %} - - -
- {% include 'includes/mobile_navbar.html' %} - {% include 'includes/sidebar.html' %} -
- {% settings "DEMO" as demo_mode %} - {% if demo_mode %} -
- -
- {% endif %} -
- {% block content %} - {% endblock content %} + data-theme="{% if request.session.theme == 'wygiwyh_light' %}wygiwyh_light{% else %}wygiwyh_dark{% endif %}"> + + + + + + {% filter site_title %} + {% block title %} + {% endblock title %} + {% endfilter %} + + {% include 'includes/head/favicons.html' %} + {% progressive_web_app_meta %} + {# {% include 'includes/styles.html' %}#} + {% block extra_styles %}{% endblock %} + {% include 'includes/scripts.html' %} + {% block extra_js_head %}{% endblock %} + + + +
+ {% include 'includes/mobile_navbar.html' %} + {% include 'includes/sidebar.html' %} +
+ {% settings "DEMO" as demo_mode %} + {% if demo_mode %} +
+ - {% include "includes/offcanvas.html" %} - {% include "includes/toasts.html" %} -
-
- {% include "includes/tools/calculator.html" %} - {% block extra_js_body %} - {% endblock extra_js_body %} - - +
+ {% endif %} +
+ {% block content %} + {% endblock content %} +
+ {% include "includes/offcanvas.html" %} + {% include "includes/toasts.html" %} +
+
+ {% include "includes/tools/calculator.html" %} + {% block extra_js_body %} + {% endblock extra_js_body %} + + + \ No newline at end of file