summaryrefslogtreecommitdiff
path: root/head.html
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-27 12:58:36 +0100
committerMartin Fischer <martin@push-f.com>2021-11-27 13:05:53 +0100
commit66053a7ad733ff7bce6025dadd1a2128db2a1175 (patch)
treeed1ef11cabf6b5a870c62f1e6fa5986ced41faeb /head.html
parente2aab0547ad4f4c6bcb2f288e54a8f93e054b7fb (diff)
html: design for noscript
Diffstat (limited to 'head.html')
-rw-r--r--head.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/head.html b/head.html
index 77279c3..4af8e9c 100644
--- a/head.html
+++ b/head.html
@@ -9,7 +9,13 @@
<div class=header>
<div class=left><h1>Rust features</h1></div>
-<input id=search autofocus autocomplete=off tabindex=4>
+<input id=search autocomplete=off tabindex=4>
+<noscript>
+With JavaScript you get a search box here.
+<style>
+#search { display: none; }
+</style>
+</noscript>
<script src=script.js></script>
<div class=right></div>
</div>