fisch/views/search.html
2025-03-04 20:18:55 +01:00

37 lines
No EOL
544 B
HTML
Executable file

{{template "partials/base-top" .}}
<form action="/search" method="post">
<input type="text" name="search" placeholder="Suche . . .">
<button type="submit">🔍</button>
</form>
{{ if eq .SearchResultCount -1 }}
{{ else }}
{{ if gt .SearchResultCount 0 }}
<table>
<tr>
<th>Ort</th>
<th>Kistenbezeichnung</th>
<th>Möglicher Inhalt</th>
</tr>
<tr>
<td>A</td>
<td>A</td>
<td>A</td>
</tr>
</table>
{{ else }}
<p>Keine Ergebnisse gefunden.</p>
{{ end }}
{{ end }}
{{template "partials/base-bottom" .}}