From 75ba836d6072235fc7a71659f8630ab3c1b210ad Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 27 Mar 2024 22:55:22 -0600 Subject: add dns form --- templates/base.html | 26 +++++++++++++++----------- templates/dns.html | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 11 deletions(-) create mode 100644 templates/dns.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index a60ac55..79e0d12 100644 --- a/templates/base.html +++ b/templates/base.html @@ -50,6 +50,21 @@ diff --git a/templates/dns.html b/templates/dns.html new file mode 100644 index 0000000..0a40cab --- /dev/null +++ b/templates/dns.html @@ -0,0 +1,37 @@ +{{ define "content" }} + + + + + + + + {{ if (eq (len .DNSRecords) 0) }} + + + + {{ end }} + {{ range $record := .DNSRecords }} + + + + + + + {{ end }} +
TypeNameContentTTL
No DNS records found
{{ $record.Type }}{{ $record.Name }}{{ $record.Content }}{{ $record.TTL }}
+
+
+

Add DNS Records

+
+ + + + + + + + + +
+{{ end }} -- cgit v1.2.3-70-g09d2