diff --git a/powerdnsadmin/templates/template_edit.html b/powerdnsadmin/templates/template_edit.html index 92addf1..b841023 100644 --- a/powerdnsadmin/templates/template_edit.html +++ b/powerdnsadmin/templates/template_edit.html @@ -1,234 +1,229 @@ {% extends "base.html" %} - {% set active_page = "admin_domain_template" %} - -{% block title %} - - Edit Template - {{ SITE_NAME }} - -{% endblock %} +{% block title %}Edit Zone Template - {{ SITE_NAME }}{% endblock %} {% block dashboard_stat %} -
-
-
-
-

- Template Edit - {{ template }} -

-
-
- -
-
-
-
-{% endblock %} - -{% block content %} -
-
-
-
-
-
-

Manage Template Records for {{ template }}

+
+
+
+
+

Edit Zone Template

-
- - -
-
- - - - - - - - - - - - - - - - {% for record in records %} - - - - - - - - - - - - - {% endfor %} - -
NameTypeStatusTTLDataCommentEditDeleteID
- {{ record.name }} - - {{ record.type }} - - {{ record.status }} - - {{ record.ttl }} - - {{ record.data }} - - {{ record.comment }} - - - - - - {{ record.id }} -
+
+
-
-
{% endblock %} + +{% block content %} +
+
+
+
+
+
+

Zone Template Editor

+
+ + +
+
+
+ + + + + + + + + + + + + + + {% for record in records %} + + + + + + + + + + + {% endfor %} + +
NameTypeStatusTTLDataCommentActionsID
+ {{ record.name }} + + {{ record.type }} + + {{ record.status }} + + {{ record.ttl }} + + {{ record.data }} + + {{ record.comment }} + + + + {{ id }}
+
+
+
+
+
+
+{% endblock %} + {% block extrascripts %} - + data = soa_primaryns + " " + soa_adminemail + " " + soa_serial + " " + soa_zonerefresh + " " + soa_failedzonerefresh + " " + soa_zoneexpiry + " " + soa_minimumttl; + record_data.val(data); + modal.modal('hide'); + }) + modal.modal('show'); + } + }); + {% endif %} + {% endblock %} + {% block modals %} -