aboutsummaryrefslogtreecommitdiff
path: root/views/header.html
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-01-25 16:57:45 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-01-25 16:57:45 +0100
commitc7c15a4e8b7cb5b0cb23d51367fa9d8b795c4da1 (patch)
treeb8f0f9641280bb61787839a3daa08905d9bf1014 /views/header.html
parent4ac3847260f9bbf0c1f3d71904a45056a43bc6be (diff)
downloadhonk_custom-c7c15a4e8b7cb5b0cb23d51367fa9d8b795c4da1.tar.gz
honk_custom-c7c15a4e8b7cb5b0cb23d51367fa9d8b795c4da1.zip
The alt navbar is cleaner now + search bar.
- css is put in the local.css file.
Diffstat (limited to 'views/header.html')
-rw-r--r--views/header.html29
1 files changed, 17 insertions, 12 deletions
diff --git a/views/header.html b/views/header.html
index faad2a4..9356c2c 100644
--- a/views/header.html
+++ b/views/header.html
@@ -18,18 +18,7 @@
<header>
{{ if .UserInfo }}
<details id="topmenu">
- <summary>menu |
- <a href="/newhonk">new honk</a> |
- <a href="/front">fanfare</a> |
- <a href="/">home</a> |
- <a href="/xzone">fetch</a> |
- <a href="/atme">@me</a> |
- <a href="/u/{{ .UserInfo.Username}}">my honks</a> |
- <a href="/account">settings</a> |
- <form action="/q" method="GET">
- <input type="text" name="q" autocomplete="off" size="10" placeholder="search">
- </form>
- <span> {{ .UserInfo.Username }}</span></summary>
+ <summary>menu <span> {{ .UserInfo.Username }}</span></summary>
<ul>
<li><a id="homelink" href="/">home</a>
<li><a id="atmelink" href="/atme">@me</a>
@@ -69,6 +58,22 @@
</form>
</ul>
</details>
+
+<!-- CUSTOM HONK NAVIGATION BAR -->
+ <div id="altnavbar">
+ <a href="/newhonk">new honk</a> |
+ <a href="/front">fanfare</a> |
+ <a href="/">home</a> |
+ <a href="/xzone">fetch</a> |
+ <a href="/atme">@me</a> |
+ <a href="/u/{{ .UserInfo.Username}}">my honks</a> |
+ <a href="/account">settings</a> |
+ <form style="display:inline" action="/q" method="GET">
+ <input type="text" name="q" autocomplete="off" size="10" placeholder="search">
+ </form>
+ </div>
+<!-- END -->
+
<p id="topspacer"></p>
{{ else }}
<span><a id="homelink" href="/">home</a></span>