aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/header.html29
-rw-r--r--views/local.css8
2 files changed, 25 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>
diff --git a/views/local.css b/views/local.css
new file mode 100644
index 0000000..680d300
--- /dev/null
+++ b/views/local.css
@@ -0,0 +1,8 @@
+#altnavbar{
+ margin-left:17%;
+ position:fixed;
+ background:var(--bg-page);
+ opacity:0.7;
+ top:0;
+ padding:5px
+}