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 %}