{#- The settings menu: the user's name opens it. Its first row is the session's — whom this browser is signed in as, and the way out, a button — a thing done to a session and not to how the page looks, so it stands apart, above the rest, and in reach at once however short the window. Beneath it, under the headline *Display* and its line that says where these choices are kept, everything that is about *this browser's* view of the surface — each look of `looks.py`, the theme leading them, the layout after the theme. A look's group is the roster's entry, its heading, the line beneath it that says what the group changes — the page's help on its settings, beside the choice (backlog #91) — and its values' words, and its value checked is the one in force: this browser's choice, or the deployment's default where it has made none (ADR-0029). Each group is a radio group its heading names and its line describes, so a screen reader says both as the focus enters it; the groups stand in columns where the window has room for them, and read down each in turn, as the keyboard walks them — two, and three at a desk since the eighth group. Radio circles rather than check marks, because these are exclusive choices, and each one submits immediately — `data-ls-submit`, the same marker the dashboard's filter switches carry, wired once by prefs.js. The post goes to /preferences, which writes the cookie and sends the viewer back to the page they were on; the server then renders the choice onto , so the next page never flashes the wrong scheme (ADR-0029). The menu stays open while the viewer chooses: a click inside it closes it no more (`data-bs-auto-close="outside"`, where Bootstrap's own closes it on every click), and the page a choice reloads opens it again on that choice (prefs.js); Escape or a click outside it closes it. -#} {%- macro look_group(look) %}
{{ look.heading }}
{{ look.line }}
{% for value in look.values %} {% endfor %}
{%- endmacro -%} {%- set layout_labels = { 'rail': 'left rail', 'topbar': 'top bar', 'kiosk': 'kiosk', } -%}