about summary refs log tree commit diff stats
path: root/internal/components/search.templ
diff options
context:
space:
mode:
authorAlan Pearce2024-06-25 09:56:28 +0200
committerAlan Pearce2024-06-25 09:56:54 +0200
commite500a1089797eee1b027d5237b2e4f140004098c (patch)
tree9cfdf1f9ee0a77cd7b19dbbe0354f2d39eaac664 /internal/components/search.templ
parent8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015 (diff)
downloadsearchix-e500a1089797eee1b027d5237b2e4f140004098c.tar.lz
searchix-e500a1089797eee1b027d5237b2e4f140004098c.tar.zst
searchix-e500a1089797eee1b027d5237b2e4f140004098c.zip
feat: add message for users with javascript disabled
Diffstat (limited to 'internal/components/search.templ')
-rw-r--r--internal/components/search.templ5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/components/search.templ b/internal/components/search.templ
index 2cae754..e5d3446 100644
--- a/internal/components/search.templ
+++ b/internal/components/search.templ
@@ -30,5 +30,10 @@ templ SearchPage(tdata TemplateData, r ResultData) {
 		<dialog id="dialog">
 			<button autofocus>Close</button>
 		</dialog>
+		<noscript>
+			<p class="notice">
+				Everything should work fine without JavaScript. If that is not the case, <a href="https://todo.sr.ht/~alanpearce/searchix">report an issue</a>
+			</p>
+		</noscript>
 	}
 }