htmx integration

This commit is contained in:
2025-05-22 07:04:31 +02:00
parent ea37419860
commit f35699f501
29 changed files with 7561 additions and 46 deletions

View File

@@ -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>