diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-04-16 21:19:48 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-04-16 21:21:42 +0300 |
commit | bded55860db436df017799fec507ce3482584822 (patch) | |
tree | bb735f3097129352fad06e4ceb2573bc13dcf31b /web/templates/index | |
parent | js: small cleanup of unused code (diff) | |
download | soko-bded55860db436df017799fec507ce3482584822.tar.gz soko-bded55860db436df017799fec507ce3482584822.tar.bz2 soko-bded55860db436df017799fec507ce3482584822.zip |
fix typeahead completion and unvendor d3 and typeahead
- fix typeahead completion for useflags and in packages search (was
missing import JS)
- unvendor d3 and typeahead and upgrade them to latest versions
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'web/templates/index')
-rw-r--r-- | web/templates/index/show.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/templates/index/show.tmpl b/web/templates/index/show.tmpl index 5f732e6..bddf144 100644 --- a/web/templates/index/show.tmpl +++ b/web/templates/index/show.tmpl @@ -14,15 +14,15 @@ of <span class="text-primary"> {{.PackageCount}} </span> Gentoo Packages</h2> <form action="/packages/search" method="get"> - <div class="typeahead-container px-5"> - <div class="typeahead-field"> - <span class="typeahead-query" style="font-size: 1.1em; height: 2.3em;"> + <div class="typeahead__container px-5"> + <div class="typeahead__field"> + <span class="typeahead__query" style="font-size: 1.1em; height: 2.3em;"> <input class="rounded-left" style="font-size: 1.1em; height: 2.3em;border-right: 0px;" id="q" name="q" type="search" autocomplete="off" placeholder="Find Packages" aria-label="Find Packages" autofocus> </span> - <span class="typeahead-button" style="font-size: 1.1em!important; height: 2.3em!important;border-left: 0px;"> + <span class="typeahead__button" style="font-size: 1.1em!important; height: 2.3em!important;border-left: 0px;"> <button style="border-top-right-radius: 0.25rem !important; border-bottom-right-radius: 0.25rem !important; font-size: 1.1em!important; height: 2.3em!important;border-left: 0px;box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);!important;" type="submit" title="Find" aria-label="Find"> - <span class="typeahead-search-icon"></span><span class="sr-only">Find</span> + <span class="typeahead__search-icon"></span><span class="sr-only">Find</span> </button> </span> </div> |