{# ========================================================================== Grundgerüst aller angemeldeten Seiten. Blöcke: extra_head, page_title, page_sub, breadcrumb, topbar_extra, content, dialogs, scripts ========================================================================== #} {% block title %}{{ self.page_title() }} · {{ app_name }}{% endblock %} {% block extra_head %}{% endblock %}
{% block breadcrumb %}{% endblock %}
{% block page_title %}{{ app_name }}{% endblock %}
{% set sub %}{% block page_sub %}{% endblock %}{% endset %} {% if sub | trim %}
{{ sub }}
{% endif %}
{% block topbar_extra %}{% endblock %} {% for pill in status_pills %} {# Eine Pille kann mehr als Text sein: ein Countdown (data-countdown-to wird laufend gezählt) und eine Aktion. Der Knopf steckt bewusst in der Pille -- er gehört zu der Angabe, die er aktualisiert. #} {% if pill.dot %}{% endif %} {{ pill.label }} {% if pill.countdown_to %} {% endif %} {% if pill.suffix %}{{ pill.suffix }}{% endif %} {% if pill.action %}
{% endif %}
{% endfor %}
{% block content %}{% endblock %}
{# -- Flash-Meldungen: als JSON, von app.js in Toasts verwandelt ----------- #} {% with messages = get_flashed_messages(with_categories=true) %} {% endwith %} {# -- Befehlspalette ------------------------------------------------------- #}
wählen Enter öffnen Esc schliessen
{# -- Bestätigungsdialog (ersetzt window.confirm) ------------------------- #} {% block dialogs %}{% endblock %} {% block scripts %}{% endblock %}