Added HTML
This commit is contained in:
21
frontend/htmx/contents/dash/inventory.html
Normal file
21
frontend/htmx/contents/dash/inventory.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{{ define "content" }}
|
||||
|
||||
<h1>Inventar</h1>
|
||||
|
||||
<input
|
||||
type="search"
|
||||
name="q"
|
||||
placeholder="Suchen..."
|
||||
hx-get="/api/items/search"
|
||||
hx-trigger="keyup changed delay:300ms"
|
||||
hx-target="#items"
|
||||
>
|
||||
|
||||
<div
|
||||
id="items"
|
||||
hx-get="/api/items"
|
||||
hx-trigger="load"
|
||||
>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user