| 1 | diff --git a/internal/webui/page.html b/internal/webui/page.html |
| 2 | index 8163364..a02731a 100644 |
| 3 | --- a/internal/webui/page.html |
| 4 | +++ b/internal/webui/page.html |
| 5 | @@ -61,7 +61,7 @@ |
| 6 | {{end}}</div></td> |
| 7 | <td id="aside"><div id="panel">{{template "panel" .}}</div></td> |
| 8 | </tr></tbody></table> |
| 9 | -<footer id="footer"><table><tr><td><span id="prompt"><b>{{.Slug}}</b> » {{prompt .Path .Query}}</span></td><td><span id="who">{{if .Private}}private relay{{else if .Actor}}signed in as {{template "nostrKey" .Actor}} (<button id="session-logout" type="button">sign out</button>){{else}}browsing as guest (<a href="/signin">Sign in</a>){{end}}</span> <span id="session-status" role="status"></span><span id="navigation-status" role="status" aria-live="polite"></span><button id="theme" type="button" aria-label="Switch theme">theme</button></td></tr></table></footer> |
| 10 | +<footer id="footer"><table><tr><td><span id="prompt"><b>{{.Slug}}</b> » {{prompt .Path .Query}}</span></td><td><span id="who">{{if .Private}}private relay{{else if .Actor}}signed in as {{template "nostrKey" .Actor}} (<button id="session-logout" type="button">sign out</button>){{else}}browsing as guest (<a href="/signin">Sign in</a>){{end}}</span> <span id="session-status" role="status"></span><span id="navigation-status" role="status" aria-live="polite"></span></td></tr></table></footer> |
| 11 | <script>{{script "tiny.js"}}</script> |
| 12 | <script>{{script "bridge.js"}}</script> |
| 13 | <script>{{script "blossom-encryption.js"}}</script> |
| 14 | @@ -87,7 +87,7 @@ |
| 15 | <p>← <a href="/">relay</a></p> |
| 16 | {{else}}<header><span><a id="mark" href="/" title="{{.Slug}}"><i>t</i><i>i</i><i>n</i><i>y</i></a></span></header> |
| 17 | <nav>{{range $item := relayItems}}<a href="{{$item.Href}}"{{if eq $item.Tab $.Tab}} aria-current="page"{{end}}>{{$item.Label}}</a>{{end}}</nav> |
| 18 | -{{end}}{{end}} |
| 19 | +{{end}}<p id="rail-tools"><button id="theme" type="button" aria-label="Switch theme">theme</button></p>{{end}} |
| 20 | |
| 21 | {{/* The panel holds facts and filters for the current page. */}} |
| 22 | {{define "panel"}}{{$kind := railKind .Tab}}{{if .Private}}{{template "panel-signin" .}} |
| 23 | diff --git a/internal/webui/style.css b/internal/webui/style.css |
| 24 | index a21d9b3..630fd67 100644 |
| 25 | --- a/internal/webui/style.css |
| 26 | +++ b/internal/webui/style.css |
| 27 | @@ -36,7 +36,8 @@ img{max-width:100%} |
| 28 | #prompt{color:var(--muted)}#prompt b{color:var(--ink);font-weight:500} |
| 29 | #who{color:var(--muted)}#who b,#who nostr-key{color:var(--ink)} |
| 30 | #who button{border:0;background:none;padding:0;color:var(--accent);font:inherit}#who button:hover{text-decoration:underline} |
| 31 | -#theme{border:0;background:none;padding:0 0 0 8px;color:var(--muted);font:inherit} |
| 32 | +#rail-tools{margin-top:12px} |
| 33 | +#theme{border:0;background:none;padding:0;color:var(--muted);font:12px var(--mono)}#theme:hover{color:var(--ink);text-decoration:underline} |
| 34 | |
| 35 | /* Rail */ |
| 36 | #rail header{height:60px;box-sizing:border-box;border-bottom:1px solid var(--line);font:13px var(--mono);display:table;width:100%} |