mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 15:10:27 +00:00
Cleaned up a UX issue with the zone records list editor view.
This commit is contained in:
parent
4d0cf87338
commit
b98bcc3bec
@ -30,7 +30,7 @@
|
|||||||
<div class="card-tools">
|
<div class="card-tools">
|
||||||
{% if current_user.role.name in ['Administrator', 'Operator'] %}
|
{% if current_user.role.name in ['Administrator', 'Operator'] %}
|
||||||
<button type="button" title="Zone Settings"
|
<button type="button" title="Zone Settings"
|
||||||
class="btn btn-primary btn-danger"
|
class="btn btn-primary btn-danger mt-2 mb-2"
|
||||||
onclick="window.location.href='{{ url_for('domain.setting', domain_name=domain.name) }}'">
|
onclick="window.location.href='{{ url_for('domain.setting', domain_name=domain.name) }}'">
|
||||||
<i class="fa-solid fa-toolbox"></i>
|
<i class="fa-solid fa-toolbox"></i>
|
||||||
Zone Settings
|
Zone Settings
|
||||||
@ -38,19 +38,19 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %}
|
{% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %}
|
||||||
<button type="button" title="Zone Changelog"
|
<button type="button" title="Zone Changelog"
|
||||||
class="btn btn-primary ml-2 button_changelog" id="{{ domain.name }}">
|
class="btn btn-primary ml-2 mt-2 mb-2 button_changelog" id="{{ domain.name }}">
|
||||||
<i class="fa-solid fa-history" aria-hidden="true"></i>
|
<i class="fa-solid fa-history" aria-hidden="true"></i>
|
||||||
Changelog
|
Changelog
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if domain.type != 'Slave' %}
|
{% if domain.type != 'Slave' %}
|
||||||
<button type="button" title="Add Record"
|
<button type="button" title="Add Record"
|
||||||
class="btn btn-primary ml-2 button_add_record" id="{{ domain.name }}">
|
class="btn btn-primary ml-2 mt-2 mb-2 button_add_record" id="{{ domain.name }}">
|
||||||
<i class="fa-solid fa-plus"></i>
|
<i class="fa-solid fa-plus"></i>
|
||||||
Add Record
|
Add Record
|
||||||
</button>
|
</button>
|
||||||
<button type="button" title="Save Changes"
|
<button type="button" title="Save Changes"
|
||||||
class="btn btn-primary ml-2 button_apply_changes"
|
class="btn btn-primary ml-2 mt-2 mb-2 button_apply_changes"
|
||||||
id="{{ domain.name }}"
|
id="{{ domain.name }}"
|
||||||
value="{{ domain.serial }}">
|
value="{{ domain.serial }}">
|
||||||
<i class="fa-solid fa-save"></i>
|
<i class="fa-solid fa-save"></i>
|
||||||
@ -58,7 +58,7 @@
|
|||||||
</button>
|
</button>
|
||||||
{% else %}
|
{% else %}
|
||||||
<button type="button" title="Update from Primary"
|
<button type="button" title="Update from Primary"
|
||||||
class="btn btn-primary ml-2 button_update_from_primary"
|
class="btn btn-primary ml-2 mt-2 mb-2 button_update_from_primary"
|
||||||
id="{{ domain.name }}">
|
id="{{ domain.name }}">
|
||||||
<i class="fa-solid fa-sync"></i>
|
<i class="fa-solid fa-sync"></i>
|
||||||
Update from Primary
|
Update from Primary
|
||||||
|
Loading…
Reference in New Issue
Block a user