aboutsummaryrefslogtreecommitdiff
path: root/search/search.html
diff options
context:
space:
mode:
authorJulien Dessaux2021-09-14 17:23:41 +0200
committerJulien Dessaux2021-09-14 17:23:41 +0200
commiteab06cc1ef988c01f03f688f5e1f31c458223b32 (patch)
tree5cbd8d6e829fe63d1e104889b2f4ed8f6ce28198 /search/search.html
parentFixed mistake in gitignore (diff)
downloadwww-eab06cc1ef988c01f03f688f5e1f31c458223b32.tar.gz
www-eab06cc1ef988c01f03f688f5e1f31c458223b32.tar.bz2
www-eab06cc1ef988c01f03f688f5e1f31c458223b32.zip
Added autofocus to the search field
Diffstat (limited to 'search/search.html')
-rw-r--r--search/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/search/search.html b/search/search.html
index 74041ab..edd598a 100644
--- a/search/search.html
+++ b/search/search.html
@@ -1,6 +1,6 @@
{{ define "search" }}
<form action="/search/" method="post">
- <input class="fullwidth" type="text" placeholder="Enter your search terms here" name="query" value="{{ .Query }}" required><br>
+ <input class="fullwidth" type="text" placeholder="Enter your search terms here" name="query" value="{{ .Query }}" required autofocus><br>
<input type="checkbox" id="searchTitle" name="searchTitle" value="true"{{ if .SearchTitle }} checked{{ end }}><label for="searchTitle">Titles</label>
<input type="checkbox" id="searchTags" name="searchTags" value="true"{{ if .SearchTags }} checked{{ end }}><label for="searchTags">Tags</label>
<input type="checkbox" id="searchDescription" name="searchDescription" value="true"{{ if .SearchDescription }} checked{{ end }}><label for="searchDescription">Descriptions</label>