nidus-sync/html/template/rmo/district-list.html
Eli Ribble 0265e9d3ec
Rework template system, merge templates
The embedded portion doesn't work yet.
2026-02-07 05:53:38 +00:00

29 lines
564 B
HTML

{{ template "rmo/base.html" . }}
{{ define "title" }}Districts{{ end }}
{{ define "extraheader" }}
{{ end }}
{{ define "content" }}
<!-- Main Content -->
<main>
<h1>District List</h1>
<table>
<tbody>
<tr>
<th>Logo</th>
<th>Name</th>
<th>URL</th>
</tr>
{{ range .Districts }}
<tr>
<td>
<a href="{{ .URLWebsite }}"><img src="{{ .URLLogo }}" /></a>
</td>
<td>{{ .Name }}</td>
<td><a href="{{ .URLRMO }}">{{ .URLRMO }}</a></td>
</tr>
{{ end }}
</tbody>
</table>
</main>
{{ end }}