{% extends "layouts/main.html" %} {#- The layout of an info screen (a display on the wall nobody operates, Module.SCREENS): the head of main.html (theme, colour mode, import map, translations) without navigation and page chrome; a slim head row (logo, title, live state, clock) and the page filling the viewport (designed for 1920 x 1080 without scrolling). : frame.css and the web components hide buttons and other controls (opt-out [data-screen-keep], opt-in [data-screen-hide]); flaskspark/screen.js swallows right clicks (no context menus), clicks and activating keys, shows the clock and the live state, and recovers by itself (reloads after the push channel was down for long and once a day at screen.reload_at). The modules' LAYOUT templates (navigation scripts, dialogs) are not included. Pages fill `content` (the core's flaskspark/screen.html: the sections of the modules); `screen_head` replaces the head row. Context: screen (Module.Screen), screen_title, screen_mode (a fixed colour mode or ""), screen_scale. -#} {% block html_attrs %} data-screen="{{ screen.key }}" {%- if screen_mode %} data-theme-fixed="{{ screen_mode }}"{% endif %} {%- if screen.reload_at %} data-screen-reload-at="{{ screen.reload_at }}"{% endif %} {%- if screen_scale %} style="--app-screen-scale: {{ screen_scale }}"{% endif %}{% endblock %} {% block title %}{{ screen_title }} ยท {{ app_title }}{% endblock %} {% block body_attrs %}class="app-body app-screen-body" data-theme="{{ theme.name }}" data-i18n-endpoint="{{ url_for('flaskspark_i18n') }}"{% endblock %} {% block app_body %}