htmx integration
This commit is contained in:
@@ -8,15 +8,16 @@
|
||||
<title>HiKoS</title>
|
||||
<link rel="icon" type="image/vnd.icon" href="/static/img/favicon.ico">
|
||||
<link rel="stylesheet" href="/static/css/main.css">
|
||||
<script src="/static/packages/htmx/htmx.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div id="bereich-a">
|
||||
<div class="top">
|
||||
<input type="text" placeholder="Suchfeld" />
|
||||
<input type="text" placeholder="Amt" />
|
||||
<input type="text" placeholder="Raum" />
|
||||
<input type="text" placeholder="Gebäude" />
|
||||
<input type="text" name="search" placeholder="Suchfeld" autocomplete="false" hx-post="/htmx/contact" hx-trigger="keyup changed delay:500ms" hx-target="#z-1" hx-swap="outerHTML" />
|
||||
<input type="text" name="search" placeholder="Amt" autocomplete="false" hx-post="/htmx/department" hx-trigger="keyup changed delay:500ms" hx-target="#z-1" hx-swap="outerHTML" />
|
||||
<input type="text" name="search" placeholder="Raum" autocomplete="false" hx-post="/htmx/room" hx-trigger="keyup changed delay:500ms" hx-target="#z-1" hx-swap="outerHTML" />
|
||||
<input type="text" name="search" placeholder="Gebäude" autocomplete="false" hx-post="/htmx/location" hx-trigger="keyup changed delay:500ms" hx-target="#z-1" hx-swap="outerHTML" />
|
||||
</div>
|
||||
{{ template "kontakt" . }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user