diff --git a/admin_interface/templates/admin/base_site.html b/admin_interface/templates/admin/base_site.html index 05cc19c..77f3e43 100644 --- a/admin_interface/templates/admin/base_site.html +++ b/admin_interface/templates/admin/base_site.html @@ -597,15 +597,21 @@ {% endblock %} -{% block extrahead %} +{% block blockbots %} {{ block.super }} - +{# https://github.com/elky/django-flat-responsive#important-note #} + + {% get_admin_interface_theme as theme %} {% if theme.related_modal_active %} - + + + {% endif %} {% endblock %} +{% block bodyclass %}admin-interface flat-theme {% get_admin_interface_theme as theme %}{% if theme.name %}{{ theme.name|slugify }}-theme{% endif %}{% endblock %} + {% block branding %} {% get_admin_interface_theme as theme %}

@@ -616,24 +622,4 @@ {% if theme.title %}{% trans theme.title %}{% else %}{% trans 'Django administration' %}{% endif %} {% endif %}

-{% endblock %} - -{% block bodyclass %}admin-interface flat-theme{% endblock %} - -{% block blockbots %} -{{ block.super }} - -{% endblock %} - -{% block sidebar %} -{% endblock %} - -{% block footer %} -{{ block.super }} -{% get_admin_interface_theme as theme %} -{% if theme.related_modal_active %} - - -{% endif %} -{% endblock %} - +{% endblock %} \ No newline at end of file