{{define "content"}} {{$csrf := .CSRF}}{{$f := .Data.Filter}}
Search every record across all zones.
| Zone | Name | Type | Value | TTL | Status | Actions |
|---|---|---|---|---|---|---|
| {{trimDot .ZoneName}} | {{.Name}} | {{.Type}} | {{.Data}} | {{if .TTL}}{{.TTL}}{{else}}—{{end}} | {{statusWord .Enabled}} |
{{template "postform" dict
"Action" (printf "/records/%d/toggle" .ID) "CSRF" $csrf "ReturnTo" "/records"
"Fields" (dict "enabled" (boolstr (not .Enabled)))
"Icon" (toggleIcon .Enabled)
"Class" "btn btn-sm btn-outline-secondary"
"Title" (printf "%s this record" (toggleVerb .Enabled))}}
{{template "confirmform" dict
"Action" (printf "/records/%d/delete" .ID) "CSRF" $csrf "ReturnTo" "/records"
"Icon" "bi-trash"
"Message" (printf "Delete the %s record for %s in %s?" .Type .Name (trimDot .ZoneName))}}
|