Rewrite search suggestions module

This commit is contained in:
Cadence Ember 2022-10-24 18:13:54 +13:00
parent d8d4e4375e
commit 3c7a2f8453
Signed by untrusted user: cadence
GPG key ID: BC1C2C61CF521B17
4 changed files with 71 additions and 57 deletions

View file

@ -112,10 +112,11 @@
(nav (@ (class "sitesearch"))
(form (@ (action ,(format "/~a/search" wikiname))
(class "bw-search-form")
(id "bw-pr-search"))
(id "bw-pr-search-form"))
(label (@ (for "bw-search-input")) "Search ")
(input (@ (type "text") (name "q") (id "bw-search-input") (autocomplete "off")))
(div (@ (class "bw-ss__container"))))))
(div (@ (id "bw-pr-search-input"))
(input (@ (type "text") (name "q") (id "bw-search-input") (autocomplete "off"))))
(div (@ (class "bw-ss__container") (id "bw-pr-search-suggestions"))))))
(div (@ (id "content") #;(class "page-content"))
(div (@ (id "mw-content-text"))
,content))