all repos — honk @ b353e85b32adb4d96af7f15751039bab9af25c91

my fork of honk

readd searchbox
Anirudh Oppiliappan x@icyphox.sh
Thu, 21 Sep 2023 09:23:24 +0300
commit

b353e85b32adb4d96af7f15751039bab9af25c91

parent

13e2becd282d2dd8f52d499348bd3ccb1e9dece6

2 files changed, 9 insertions(+), 0 deletions(-)

jump to
M views/honkpage.htmlviews/honkpage.html

@@ -7,6 +7,11 @@ <p>{{ .Name }} <span style="margin-left:1em;"><a href="/u/{{ .Name }}/rss">rss</a></span>

<p>{{ .WhatAbout }} {{ end }} <p>{{ .ServerMessage }} + +<form action="/q" method="GET"> +<input type="text" name="q" autocomplete=off size=10 id="searchbox" placeholder="search"> +</form> + </div> {{ if .HonkCSRF }} {{ template "honkform.html" . }}
M views/style.cssviews/style.css

@@ -558,3 +558,7 @@

.fontmonospace { font-family: monospace; } + +#searchbox { + width: 95%; +}