This commit is contained in:
jbergner
2025-06-13 11:28:48 +02:00
parent 8b6da48e8c
commit 51cc495d16
3 changed files with 28 additions and 8 deletions

View File

@@ -11,7 +11,7 @@
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<tr hx-post="/htmx/contact" hx-trigger="click delay:200ms" hx-target="#z-1" hx-swap="outerHTML" hx-vals='{"search": ""}'>
<th>Name <a href="/sso">(Anmelden)</a></th>
<th>Telefon</th>
<th>Mobil</th>

View File

@@ -6,12 +6,12 @@
</colgroup>
<thead>
<tr>
<th>Stichwort</th>
<th hx-post="/htmx/keyword" hx-trigger="click delay:200ms" hx-target="#z-2" hx-swap="outerHTML" hx-vals='{"search": ""}'>Stichwort</th>
</tr>
</thead>
<tbody>
{{ range .Keywords }}
<tr><td>{{ .Name }}</td></tr>
<tr hx-post="/htmx/contactbykeyword" hx-trigger="click delay:200ms" hx-target="#z-1" hx-swap="outerHTML" hx-vals='{"cid": "{{ .Id }}"}'><td>{{ .Name }}</td></tr>
{{ end }}
</tbody>
</table>