53 lines
No EOL
825 B
HTML
Executable file
53 lines
No EOL
825 B
HTML
Executable file
{{template "partials/base-top" .}}
|
|
|
|
{{ if .Notification }}
|
|
|
|
<div class="form-with-notification">
|
|
|
|
<p class="notification">{{ .Notification }}</p>
|
|
|
|
{{ end }}
|
|
|
|
<form action="/search" method="post">
|
|
<input type="text" name="search" placeholder="Suche . . ." {{ if .Search }} value="{{ .Search }}" {{ end }}>
|
|
<button type="submit">🔍</button>
|
|
</form>
|
|
|
|
{{ if .Notification }}
|
|
|
|
</divdiv>
|
|
|
|
{{ end }}
|
|
|
|
|
|
{{ if eq .SearchResultCount -1 }}
|
|
|
|
{{ else }}
|
|
|
|
{{ if gt .SearchResultCount 0 }}
|
|
|
|
<table>
|
|
<tr>
|
|
{{ range .Columns }}
|
|
<th>{{ . }}</th>
|
|
{{ end }}
|
|
</tr>
|
|
{{ range .Rows }}
|
|
<tr>
|
|
{{ range .Columns }}
|
|
<td>{{ . }}</td>
|
|
{{ end }}
|
|
</tr>
|
|
{{ end }}
|
|
</table>
|
|
|
|
{{ else }}
|
|
|
|
<p>Keine Ergebnisse gefunden.</p>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
{{template "partials/base-bottom" .}} |