diff --git a/powerdnsadmin/templates/admin_edit_account.html b/powerdnsadmin/templates/admin_edit_account.html index 62ccf26..10ff01f 100644 --- a/powerdnsadmin/templates/admin_edit_account.html +++ b/powerdnsadmin/templates/admin_edit_account.html @@ -14,15 +14,15 @@

- Account - {% if create %}New account{% else %}{{ account.name }}{% endif %} + {% if create %}Add Account{% else %}Edit Account{% endif %} + {% if create %}Account{% else %}{{ account.name }}{% endif %}

@@ -35,9 +35,9 @@
-
-
-

{% if create %}Add{% else %}Edit{% endif %} account

+
+
+

{% if create %}Add{% else %}Edit{% endif %} Account

@@ -46,7 +46,7 @@ {% if error %}
-

Error!

+

Error!

{{ error }}
{{ error }} @@ -55,36 +55,36 @@ - + {% if not create %}disabled{% endif %} required> + {% if invalid_accountname %} - Cannot be blank and must only contain alphanumeric + Cannot be blank and must only contain alphanumeric characters{% if SETTING.get('account_name_extra_chars') %}, dots, hyphens or underscores{% endif %}. {% elif duplicate_accountname %} - Account name already in use. + Account name already in use. {% endif %}
- +
- +
- +
-
+

Access Control

@@ -104,17 +104,19 @@
-
-
+
+

Help with creating a new account

diff --git a/powerdnsadmin/templates/admin_edit_key.html b/powerdnsadmin/templates/admin_edit_key.html index 1d8e696..23f58d3 100644 --- a/powerdnsadmin/templates/admin_edit_key.html +++ b/powerdnsadmin/templates/admin_edit_key.html @@ -37,8 +37,8 @@
-
-
+
+

{% if create %}Add{% else %}Edit{% endif %} Key

- -
-
-
+
+

Help with {% if create %}creating a new{% else%}updating a{% endif %} key

@@ -239,7 +242,7 @@ {% if plain_key %} $(document.body).ready(function () { var modal = $("#modal_show_key"); - var info = "{{ plain_key }}"; + var info = "Please copy this key to a secure location. You will be unable to view it again once you close this window: {{ plain_key }}"; modal.find('.modal-body p').text(info); modal.find('#button_key_confirm').click(redirect_modal); modal.find('#button_close_modal').click(redirect_modal); @@ -255,45 +258,46 @@ {% endblock %} {% block modals %}