From 4bd2519a76755b07e1a1730b544e9e01f69604fb Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Mon, 20 Feb 2023 10:18:41 -0500 Subject: [PATCH] Completed first-found updates for the server settings view. --- .../templates/admin_setting_pdns.html | 202 ++++++++++-------- 1 file changed, 107 insertions(+), 95 deletions(-) diff --git a/powerdnsadmin/templates/admin_setting_pdns.html b/powerdnsadmin/templates/admin_setting_pdns.html index c4b8947..f64f9e0 100644 --- a/powerdnsadmin/templates/admin_setting_pdns.html +++ b/powerdnsadmin/templates/admin_setting_pdns.html @@ -1,110 +1,122 @@ {% extends "base.html" %} - {% set active_page = "admin_settings" %} - -{% block title %} - - PDNS Settings - {{ SITE_NAME }} - -{% endblock %} +{% block title %}Server Settings - {{ SITE_NAME }}{% endblock %} {% block dashboard_stat %} -
-
-
-
-

- Settings - PowerDNS Authoritative Server -

+
+
+
+
+

Server Settings

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

PDNS Settings

+
+
+
+
+
+ +
+
+

Settings Editor

+
+ +
+ {% if not SETTING.get('pdns_api_url') or not SETTING.get('pdns_api_key') or not SETTING.get('pdns_version') %} +
+ +

Error!

+ Please complete your PowerDNS API configuration before continuing +
+ {% endif %} +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+ +
+
+ + +
+
+
+

Settings Editor

+
+ +
+
+

You must configure the API connection information before PowerDNS-Admin can query + your + PowerDNS data. Following fields are required:

+
PowerDNS API URL
+
Your PowerDNS API URL (eg. http://127.0.0.1:8081/).
+
PowerDNS API Key
+
Your PowerDNS API key.
+
PowerDNS Version
+
Your PowerDNS version number (eg. 4.7.0).
+
+

Find more details at + https://doc.powerdns.com/md/httpapi/README/ +

+
+ +
+ +
+
-
- -
- {% if not SETTING.get('pdns_api_url') or not SETTING.get('pdns_api_key') or not SETTING.get('pdns_version') %} -
- -

Error!

- Please complete your PowerDNS API configuration before continuing -
- {% endif %} -
- - - -
-
- - - -
-
- - - -
-
- -
-
+
-
-
-
-

Help

-
-
-
-

You must configure the API connection information before PowerDNS-Admin can query your - PowerDNS data. Following fields are required:

-
PowerDNS API URL
-
Your PowerDNS API URL (eg. http://127.0.0.1:8081/).
-
PowerDNS API Key
-
Your PowerDNS API key.
-
PowerDNS Version
-
Your PowerDNS version number (eg. 4.7.0).
-
-

Find more details at - https://doc.powerdns.com/md/httpapi/README/ -

-
-
-
-
-
-
+ + {% endblock %} {% block extrascripts %} - {% assets "js_validation" -%} - - {%- endassets %} + {% assets "js_validation" -%} + + {%- endassets %} {% endblock %}