diff options
author | tdro <tdro@noreply.example.com> | 2024-03-08 14:01:03 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2024-03-08 14:01:03 -0500 |
commit | 16a4dc43137edf413849eec4b10dbbcfaa66b2a7 (patch) | |
tree | e18d4ee6572628db24d59d5feba7f09ff6436c1c /themes/default/layouts/partials | |
parent | 7880038d9577fb0a14a30d2f7fab9f25304d8fd1 (diff) | |
download | canory-16a4dc43137edf413849eec4b10dbbcfaa66b2a7.tar.gz canory-16a4dc43137edf413849eec4b10dbbcfaa66b2a7.tar.bz2 canory-16a4dc43137edf413849eec4b10dbbcfaa66b2a7.zip |
themes/default/layouts/partials/navigator-middle: Use query selector
Search entry -> search box
Diffstat (limited to 'themes/default/layouts/partials')
-rw-r--r-- | themes/default/layouts/partials/navigator-middle.html | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/themes/default/layouts/partials/navigator-middle.html b/themes/default/layouts/partials/navigator-middle.html index efe5153..7259b43 100644 --- a/themes/default/layouts/partials/navigator-middle.html +++ b/themes/default/layouts/partials/navigator-middle.html @@ -52,27 +52,24 @@ {{ end }} {{ end }} - <search-entry id="search-frame"> - <form - id="search-form" - action="https://lite.duckduckgo.com/lite/" - > + <search-box> + <form role="search" action="https://lite.duckduckgo.com/lite/"> <input aria-autocomplete="list" aria-label="search input" autocomplete="off" - id="search-input" + id="search" name="q" required="" spellcheck="false" type="search" value="" /> - <button id="search-submit"> + <button type="submit"> {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/search.svg")) }} <small>Search</small> </button> - <ul hidden="" id="search-results"></ul> + <ul hidden=""></ul> </form> - </search-entry> + </search-box> </nav> |