clone

a self-hosted multitenant nostr relay with sites, file storage, git hosting, and inbox and outbox delivery

move the theme toggle to the bottom of the navigation

Dami committed 791c183
commit
791c183f5afe15152fffc30662e28d97366cce51
parent
e3206c2177f97a2a2e70464baad5e29afdd1856a
author
Dami <dami.etoile@gmail.com>
2 files changed, +4 -3
Minternal/webui/page.html4++--
Minternal/webui/style.css3++-
M internal/webui/page.html +2 -2
@@ -61,7 +61,7 @@
6161 {{end}}</div></td>6262 <td id="aside"><div id="panel">{{template "panel" .}}</div></td>6363 </tr></tbody></table>64-<footer id="footer"><table><tr><td><span id="prompt"><b>{{.Slug}}</b> &raquo; {{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>64+<footer id="footer"><table><tr><td><span id="prompt"><b>{{.Slug}}</b> &raquo; {{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>6565 <script>{{script "tiny.js"}}</script>6666 <script>{{script "bridge.js"}}</script>6767 <script>{{script "blossom-encryption.js"}}</script>
@@ -87,7 +87,7 @@
8787 <p>&larr; <a href="/">relay</a></p>8888 {{else}}<header><span><a id="mark" href="/" title="{{.Slug}}"><i>t</i><i>i</i><i>n</i><i>y</i></a></span></header>8989 <nav>{{range $item := relayItems}}<a href="{{$item.Href}}"{{if eq $item.Tab $.Tab}} aria-current="page"{{end}}>{{$item.Label}}</a>{{end}}</nav>90-{{end}}{{end}}90+{{end}}<p id="rail-tools"><button id="theme" type="button" aria-label="Switch theme">theme</button></p>{{end}}9191 9292 {{/* The panel holds facts and filters for the current page. */}}9393 {{define "panel"}}{{$kind := railKind .Tab}}{{if .Private}}{{template "panel-signin" .}}
M internal/webui/style.css +2 -1