{# The frame every page is in. The top bar is `TABS` from app/web/pages.py plus the cog, and the cog's sub-tabs are `SETTINGS` there: adding a page is one entry in one of those lists, never a link here. #} {% block title %}roledesk{% endblock %} {# Kept on the home screen rather than in a tab, as newsdesk is: `display: standalone` in the manifest drops the browser's chrome, which is worth a row of roles on a phone. `manifest.json` and not `.webmanifest`, because StaticFiles guesses the content type from the extension and not every machine knows the second one. Two `theme-color`s so the status bar is the colour of the header right under it. No service worker: the app is no use without the server. #} {# iOS reads neither the manifest nor the line above: standalone mode, the home screen label and the status bar are still set from its own `apple-` metas. #}
roledesk
{% block content %}{% endblock %}
{# toasts first, and the order is load-bearing: it owns `window.toast`, which app.js calls on a failed fetch and live.js feeds server notices into, and `window.esc`, which every page script below builds its HTML with. app.js next, since every page script takes `api` and the shared helpers from it. #} {% block scripts %}{% endblock %}