25 lines
883 B
HTML
25 lines
883 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">Status</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}}
|