diff options
author | Alan Pearce | 2024-06-25 09:56:28 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-25 09:56:54 +0200 |
commit | e500a1089797eee1b027d5237b2e4f140004098c (patch) | |
tree | 9cfdf1f9ee0a77cd7b19dbbe0354f2d39eaac664 /internal/components | |
parent | 8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015 (diff) | |
download | searchix-e500a1089797eee1b027d5237b2e4f140004098c.tar.lz searchix-e500a1089797eee1b027d5237b2e4f140004098c.tar.zst searchix-e500a1089797eee1b027d5237b2e4f140004098c.zip |
feat: add message for users with javascript disabled
Diffstat (limited to 'internal/components')
-rw-r--r-- | internal/components/search.templ | 5 |
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> } } |