feat(webui): use brand as channel selector on dashboard; keep brand link on other pages; tone down commit text color/size

This commit is contained in:
Thomas Cravey 2025-08-17 15:43:25 -05:00
parent 6e64969bb6
commit 71cf7a927f
3 changed files with 12 additions and 3 deletions

View file

@ -11,7 +11,16 @@
</head>
<body>
<header class="nav">
<div><a class="brand" href="/">sojuboy</a></div>
<div>
{{ if eq .Content "dashboard" }}
<details id="brand-chans" role="list">
<summary class="brand" aria-haspopup="listbox">sojuboy</summary>
<ul id="nav-chans" role="listbox"></ul>
</details>
{{ else }}
<a class="brand" href="/">sojuboy</a>
{{ end }}
</div>
<div class="commit">{{ .CommitShort }}</div>
<nav>
<ul>