From fe49651e814d44bb6cbdbb36aac9e968d04702ae Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Sun, 19 Feb 2023 21:05:23 -0500 Subject: [PATCH] Completed first-found of updates for the zone template creation view. --- powerdnsadmin/templates/template_add.html | 227 ++++++++++++---------- 1 file changed, 122 insertions(+), 105 deletions(-) diff --git a/powerdnsadmin/templates/template_add.html b/powerdnsadmin/templates/template_add.html index 6b06ccf..5dcafef 100644 --- a/powerdnsadmin/templates/template_add.html +++ b/powerdnsadmin/templates/template_add.html @@ -1,118 +1,135 @@ {% extends "base.html" %} - {% set active_page = "admin_domain_template" %} - -{% block title %} - - Create Template - {{ SITE_NAME }} - -{% endblock %} +{% block title %}Create Zone Template - {{ SITE_NAME }}{% endblock %} {% block dashboard_stat %} -
-
-
-
-

- Template - Create -

-
-
- -
+
+
+
+
+

+ Create Zone Template +

+
+
+ +
+
+
-
-
{% endblock %} {% block content %} -
-
- {% with errors = get_flashed_messages(category_filter=["error"]) %} - {% if errors %} -
-
-
- -

- Error! -

-
- x -
    - {%- for msg in errors %} -
  • {{ msg }}
  • - {% endfor -%} -
+
+
+ {% with errors = get_flashed_messages(category_filter=["error"]) %} + {% if errors %} +
+
+
+ +

+ Error! +

+
+ x +
    + {%- for msg in errors %} +
  • {{ msg }}
  • + {% endfor -%} +
+
+ +
+ +
+ +
+ + {% endif %} + {% endwith %} +
+
+
+ +
+
+

Zone Template Editor

+
+ +
+
+ + +
+
+ + +
+
+ + + +
+ +
+
+ + +
+
+
+

Zone Template Editor Help

+
+ +
+
+
Template Name
+
Enter your template name, this is the name of the template that + will be shown to users. The name should not have any spaces but + can have symbols. +
+
Template Description
+
Enter your template description, this is to help better + identify the template. +
+
+
+ +
+ +
+
-
+
- {% endif %} - {% endwith %} -
-
-
-
-

Create new template

-
-
- -
-
- -
-
- -
-
- -
-
-
-
-
-
-

Help with creating a new template

-
-
-
-
Template name
-
Enter your template name, this is the name of the template that - will be shown to users. The name should not have any spaces but - can have symbols.
-
Template description
-
Enter your template description, this is to help better - identify the template.
-
-
-
-
-
-
-
+ + {% endblock %} + {% block extrascripts %} - + {% endblock %}