Files
coredns-web-ui/templates/html/partials/soa_dialog.html
T
bryanpedini a7ba01fc77 refactor(api): use audit operation constants and the shared zone not found error in zone handlers
- refactor(api): use audit operation constants and the shared zone not found error in zone handlers
- fix(api): return the stored content of rows with check errors
- fix(api): return warnings from record deletes, zone creation and import apply
- fix(api): allow repairing rows stored with a non canonical zone and invalid SOA sets
- fix(check): accept JSON column formatting and an absent SOA serial as canonical content
- fix(ui): match audit diff items by identity instead of array index
- fix(ui): count the SOA change once, report import warnings and check the request size
- fix(ui): edit the selected SOA row, keep the server order, show error rows raw and report write warnings
- test(check): cover triggering and clean pairs with exact codes and record ids
- test(records): cover SRV port, SOA timer and CAA value boundaries
- test(cli): check the exact check output and the exit code of warning-only zones
- refactor(import): order current rows with cmp.Compare
- test(check): cover malformed stored content and a mailbox stored as an address
- test(api): cover zone write failure paths, ambiguous SOA updates and unchanged record detection
2026-11-19 15:46:12 +01:00

50 lines
2.0 KiB
HTML

{{- /* SPDX-License-Identifier: GPL-2.0-or-later */ -}}
{{- /* Copyright (C) 2026 Bryan Joshua Pedini */ -}}
{{define "soa_dialog"}}<dialog id="soa-dialog" class="dialog" aria-labelledby="soa-dialog-title">
<form id="soa-form" class="form" novalidate>
<div class="dialog-head">
<h2 id="soa-dialog-title">Edit SOA</h2>
<button type="button" class="btn btn-icon" data-close aria-label="Close">&times;</button>
</div>
<div class="dialog-body">
<p class="alert alert-warn" id="soa-broken" hidden>This SOA record has errors. Saving replaces it with the values below, at the zone apex.</p>
<div class="field">
<label for="soa-ns">Primary name server</label>
<input id="soa-ns" name="ns" type="text" autocomplete="off" autocapitalize="none" spellcheck="false" required>
</div>
<div class="field">
<label for="soa-mbox">Hostmaster mailbox</label>
<input id="soa-mbox" name="mbox" type="text" autocomplete="off" autocapitalize="none" spellcheck="false" required>
</div>
<div class="grid-2">
<div class="field">
<label for="soa-refresh">Refresh</label>
<input id="soa-refresh" name="refresh" type="text" inputmode="numeric">
</div>
<div class="field">
<label for="soa-retry">Retry</label>
<input id="soa-retry" name="retry" type="text" inputmode="numeric">
</div>
<div class="field">
<label for="soa-expire">Expire</label>
<input id="soa-expire" name="expire" type="text" inputmode="numeric">
</div>
<div class="field">
<label for="soa-minttl">Minimum TTL</label>
<input id="soa-minttl" name="minttl" type="text" inputmode="numeric">
</div>
</div>
<div class="field">
<label for="soa-ttl">TTL of the SOA record</label>
<input id="soa-ttl" name="ttl" type="text" inputmode="numeric">
<p class="hint">0 means default (360 s).</p>
</div>
<p class="hint">The serial is managed by the application and increases with every change.</p>
</div>
<div class="dialog-actions">
<button type="button" class="btn" data-close>Cancel</button>
<button type="submit" class="btn btn-primary">Save SOA</button>
</div>
</form>
</dialog>{{end}}