Show Viewing as on Roles as a select, also with one agent

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-09-29 16:40:33 +02:00
1 parent 6124b00062
commit 4b722744a7
5 files changed
+9 -16

No files matched your search

+3 -3
View File
@@ -40,11 +40,11 @@
<div class="shell">
<aside id="rail" aria-label="Filters">
<section class="rail-viewing" aria-labelledby="viewing-as">
{# One agent is its name, two or more a select, none a sentence with
the way to make one. The script shows whichever applies. #}
{# A select of the enabled agents, also when there is one, so the place
to switch agent is always the same; none is a sentence with the way
to make one. The script shows whichever applies. #}
<h3 id="viewing-as">Viewing as <a class="linky" href="/settings/agents">agents</a></h3>
<select id="agent" class="rail-select agent-pick" aria-labelledby="viewing-as" hidden></select>
<p id="agent-one" class="agent-pick" hidden></p>
<p id="agent-none" class="rail-note" hidden></p>
</section>
<section>