{# Theme before first paint; mirrors modules/app/theme.js (key, colours, default). #}
{% include "partials/icon_sprite.html" %}
{% include "partials/clock_sidebar.html" %}
{# The app bar (modules/app/appBar.js): the nav and the current view's header
controls, kept across view switches. Hidden until a view on it is shown. #}
{# Primary mount root — views are cloned from templates below. #}
{% include "views/overview.html" %}
{% include "views/cpu.html" %}
{% include "views/app-settings.html" %}
{% include "views/main.html" %}
{% include "views/chimes.html" %}
{% include "views/log.html" %}
{% include "views/manual-log-entry.html" %}
{% include "views/settings.html" %}
{% include "views/beat-scope.html" %}
{% include "views/count-teeth.html" %}
{% include "views/frequencies.html" %}
{% include "views/environment.html" %}
{% include "views/create-clock.html" %}
{% include "views/create-clock-modal.html" %}
{% include "views/stamp-seeds.html" %}
{% include "views/archive-clock.html" %}
{% include "views/delete-clock.html" %}
{% include "views/lift-calibrate.html" %}
{% include "views/input-assign-swap.html" %}
{% include "views/prune-history.html" %}
{% include "views/record-source.html" %}
{% include "views/gear-photo-source.html" %}
{% include "views/keyboard-shortcuts.html" %}
{% include "views/sensors-connection.html" %}
{% include "views/sensors-picker.html" %}
{% include "views/sensors-confirm.html" %}
{% include "views/sensors-delete.html" %}
{% include "views/remote-password.html" %}
{% for view_id, html in plugin_templates or [] %}
{{ html }}
{% endfor %}
{# First-start screen (modules/app/licenceStart.js): every fresh load while capture is
off for want of a licence. "Not now" closes it for this tab; the banner reopens it. #}
{# A licence has arrived (modules/app/licenceDone.js): signed in by emailed link, or a
licence file added. #}
{# The one status bar (modules/app/statusBar.js): bottom of the clock column, or
moved into the rail footer (.js-railFoot) while the shell is too narrow to pin. #}
{# The text catalog (docs/TEXT_CATALOG.md): read by modules/tools/text.js, so it precedes the bundle. #}
{% for script_path, script_src in inline_boot_scripts %}
{% endfor %}
{# Hashed esbuild bundle (built on start / index warm). #}
{% if dev_text_editor_src %}
{# Source runs only (api/dev_text.py): Edit Text mode, docs/TEXT_CATALOG.md "Editors". #}
{% endif %}