diff --git a/powerdnsadmin/templates/domain.html b/powerdnsadmin/templates/domain.html index 4cd1c15..4318b29 100755 --- a/powerdnsadmin/templates/domain.html +++ b/powerdnsadmin/templates/domain.html @@ -1,293 +1,310 @@ {% extends "base.html" %} - -{% block title %} - - {{ domain.name | pretty_domain_name }} - {{ SITE_NAME }} - -{% endblock %} +{% block title %}Zone Records - {{ domain.name | pretty_domain_name }} - {{ SITE_NAME }}{% endblock %} {% block dashboard_stat %} -
-
-
-
-

- Domain: {{ domain.name | pretty_domain_name }} -

+
+
+
+
+

Zone Records - {{ domain.name | pretty_domain_name }}

+
+
+ +
+
-
- -
-
-
{% endblock %} {% block content %} -
-
-
-
-
-
- {% if domain.type != 'Slave' %} - - - {% else %} - - {% endif %} - {% if current_user.role.name in ['Administrator', 'Operator'] %} - - {% endif %} - {% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %} - - {% endif %} -
-
- - - - - - - - - {% if domain.type != 'Slave' %} - - - - {% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %} - - {% endif %} - {% else %} - - {% endif %} - - - - {% for record in records %} - - - - - - - {% if domain.type != 'Secondary' %} - - - - {% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %} - - {% endif %} - {% endif %} - - - - {% endfor %} - -
NameTypeStatusTTLDataCommentEditDeleteChangelogInvisible Sorting Column
{{ (record.name,domain.name) | display_record_name | pretty_domain_name }}{{ record.type }}{{ record.status }}{{ record.ttl }}{{ record.data | pretty_domain_name }}{{ record.comment }} - {% if record.is_allowed_edit() %} - - {% else %} - - {% endif %} - - {% if record.is_allowed_delete() %} - - {% endif %} - - - 1
-
+
+
+
+
+
+
+

Zone Editor

+
+ {% if current_user.role.name in ['Administrator', 'Operator'] %} + + {% endif %} + {% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %} + + {% endif %} + {% if domain.type != 'Slave' %} + + + {% else %} + + {% endif %} +
+
+
+ + + + + + + + + {% if domain.type != 'Slave' %} + + + + {% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %} + + {% endif %} + {% else %} + + {% endif %} + + + + {% for record in records %} + + + + + + + {% if domain.type != 'Slave' %} + + + + {% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %} + + {% endif %} + {% endif %} + + + + {% endfor %} + +
NameTypeStatusTTLDataCommentEditDeleteChangelogInvisible Sorting Column
{{ (record.name,domain.name) | display_record_name | pretty_domain_name }}{{ record.type }}{{ record.status }}{{ record.ttl }}{{ record.data | pretty_domain_name }}{{ record.comment }} + {% if record.is_allowed_edit() %} + + {% else %} + + {% endif %} + + {% if record.is_allowed_delete() %} + + {% endif %} + + + 1
+
+
+
+
-
-
-
-
+ +{% endblock %} + +{% block head_styles %} + {% endblock %} {% block extrascripts %} - + {% endblock %} {% block modals %} -