Files
coredns-web-ui/templates/html/pages/zones.html
T
bryanpedini 5ac8f98f10 chore(ui): add module file and main stub
- chore(ui): add module file and main stub
- feat(ui): add layout, pages and partials
- feat(ui): add stylesheet and scripts
- feat(ui): add page renderer and static file handler
- test(ui): cover rendering, escaping and static serving
2026-11-19 15:46:12 +01:00

24 lines
884 B
HTML

{{- /* SPDX-License-Identifier: GPL-2.0-or-later */ -}}
{{- /* Copyright (C) 2026 Bryan Joshua Pedini */ -}}
{{define "title"}}Zones{{end}}
{{define "content"}}<div class="page-head">
<h1>Zones</h1>
{{if .IsAdmin}}<button type="button" class="btn btn-primary" id="new-zone">New zone</button>
{{end}}</div>
<div class="toolbar">
<div class="field">
<label for="zone-search">Search zones</label>
<input id="zone-search" type="search" autocomplete="off" spellcheck="false">
</div>
</div>
<div class="table-wrap">
<table class="table" id="zones-table">
<thead>
<tr><th scope="col">Zone</th><th scope="col" class="num">Records</th><th scope="col">SOA serial</th><th scope="col">Problems</th></tr>
</thead>
<tbody id="zones-body"></tbody>
</table>
</div>
<p class="muted" id="zones-status" role="status">Loading zones...</p>
{{if .IsAdmin}}{{template "zone_create_dialog" .}}{{end}}{{end}}