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:
parent
6e64969bb6
commit
71cf7a927f
3 changed files with 12 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue