feat(webui): move channel list into navbar dropdown with checkmark; remove sidebar and footer; show short commit centered in navbar
This commit is contained in:
parent
b70cf17713
commit
6e64969bb6
5 changed files with 22 additions and 10 deletions
|
|
@ -12,8 +12,15 @@
|
|||
<body>
|
||||
<header class="nav">
|
||||
<div><a class="brand" href="/">sojuboy</a></div>
|
||||
<div class="commit">{{ .CommitShort }}</div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="chan">
|
||||
<details role="list">
|
||||
<summary aria-haspopup="listbox">Channel</summary>
|
||||
<ul id="nav-chans" role="listbox"></ul>
|
||||
</details>
|
||||
</li>
|
||||
<li><a href="/summarizer">Summarizer</a></li>
|
||||
<li><a href="/logout">Logout</a></li>
|
||||
</ul>
|
||||
|
|
@ -24,7 +31,7 @@
|
|||
{{ else if eq .Content "summarizer" }}
|
||||
{{ template "summarizer" . }}
|
||||
{{ end }}
|
||||
<footer><small>{{ .Version }} ({{ .Commit }})</small></footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue