{% load i18n static %} {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} {% if lucus_selected_appearance == 'auto' %} {% endif %} {% block title %}{% if title %}{{ title }} | {% endif %}{{ site_title|default:'' }}{% endblock %} {% block dark-mode-vars %}{# Appearance: data-theme on (script above + lucus-appearance.js for auto). #}{% endblock %} {% block extrastyle %} {# Lucus only: layout/tokens, then admin UI layer, then palette (overrides CSS variables). #} {% if lucus_extra_stylesheets %} {% for lucus_extra_stylesheet in lucus_extra_stylesheets %} {% endfor %} {% endif %} {% endblock %} {% block responsive %} {% endblock %} {% block extrahead %} {% if lucus_side_dashboard_nav %} {% endif %} {% endblock %} {% translate 'Skip to main content' %}
{% if has_permission and not is_popup %} {% endif %} {% if lucus_admin_background_image_url and not is_popup %} {# Inside #container so it stacks under header/main; sibling-before-container stayed under z-index:1 and never showed through. #} {% endif %} {% if not is_popup %} {% block header %} {% endblock %} {% endif %} {% if has_permission and not is_popup and not lucus_side_dashboard_nav %} {% include "admin/includes/lucus_mobile_nav_panel.html" %} {% endif %} {% if lucus_side_dashboard_nav %}
{% block lucus_side_dashboard_nav %} {% include "admin/includes/lucus_side_dashboard_nav.html" %} {% endblock %}
{% endif %}
{% block nav-breadcrumbs %}{% endblock %}
{% block messages %} {% if messages %}
    {% for message in messages %}
  • {{ message|capfirst }}
  • {% endfor %}
{% endif %} {% endblock %} {% block pretitle %}{% endblock %} {% block content_title %}{% if title %}{{ title }}{% endif %}{% endblock %} {% block object-tools %}{% endblock %} {% block content %}{{ content }}{% endblock %} {% block sidebar %}{% endblock %} {% block footer %}{% endblock %}
{% if lucus_side_dashboard_nav %}
{% endif %}
{% block extrabody %} {# calendar.js + DateTimeShortcuts.js: load only from Admin* widget {{ media }} on change_form. Including them here duplicates scripts and runs DateTimeShortcuts.init() twice (double “Today” / “Now” links). #} {% if lucus_ui_clean_input_types %} {% endif %} {% if lucus_side_dashboard_nav %} {% endif %} {% if has_permission and not is_popup %} {% endif %} {% endblock extrabody %}