mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-29 04:07:04 +02:00
feat: full text search
This commit is contained in:
8
html-router/templates/searchbar.html
Normal file
8
html-router/templates/searchbar.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="flex items-center gap-2 min-w-[90px]">
|
||||
<form class="w-full" hx-boost="true" method="get" action="/search"
|
||||
hx-trigger="keyup changed delay:500ms from:#search-input, search from:#search-input" hx-push-url="true">
|
||||
<input id="search-input" type="search" placeholder="Search for anything..."
|
||||
class="input input-sm input-bordered input-primary w-full" name="query" autocomplete="off"
|
||||
value="{{ query_param | default('', true) }}" />
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user