aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-01-25 16:03:52 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-01-25 16:03:52 +0100
commit4ac3847260f9bbf0c1f3d71904a45056a43bc6be (patch)
tree798721767dc9d39770b4baea5b0054cca7efa350
parent2882855ef6ba6aa00d1305df3f2f6de74e71e5cc (diff)
downloadhonk_custom-4ac3847260f9bbf0c1f3d71904a45056a43bc6be.tar.gz
honk_custom-4ac3847260f9bbf0c1f3d71904a45056a43bc6be.zip
add search bar
-rw-r--r--views/header.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/header.html b/views/header.html
index a57dcde..faad2a4 100644
--- a/views/header.html
+++ b/views/header.html
@@ -25,7 +25,10 @@
<a href="/xzone">fetch</a> |
<a href="/atme">@me</a> |
<a href="/u/{{ .UserInfo.Username}}">my honks</a> |
- <a href="/account">settings</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>
<ul>
<li><a id="homelink" href="/">home</a>