{% if brand.favicon_url %} {% else %} {% endif %} {% block title %}{{ page_title or config.title }} · {{ config.title }}{% endblock %} {% if brand.has_custom_theme %} {% endif %} {% for css_href in brand.extra_css %} {% endfor %} {% for js_src in brand.extra_js %} {% endfor %} {{ render_slot('head_extra') }}
{{ render_slot('topbar_right') }} {% if config.read_only %} READ-ONLY {% endif %} {% if config.environment == 'production' %} PROD {% elif config.environment == 'staging' %} STAGING {% else %} DEV {% endif %} {% if config.enable_user_preferences %}
{% endif %}
{% if is_impersonating and impersonator %}
{{ deck_icon("user-check", 14) }} IMPERSONATING {{ current_user.label }} ({{ current_user.roles | join(", ") }}) · Real actor: {{ impersonator.username }}{% if impersonate_read_only %} · READ-ONLY{% endif %}
{% endif %} {% if is_insecure_open %}
{{ deck_icon("alert-triangle", 14) }} OpenAuthProvider active (local development mode). Configure BasicAuthProvider, RBACAuthProvider, or FlaskLoginAuthProvider before production.
{% endif %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for cat, msg in messages %}
{{ msg }}
{% endfor %}
{% endif %} {% endwith %} {% block content %}{% endblock %}