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">
|
||||
{% if current_user.role.name in ['Administrator', 'Operator'] %}
|
||||
<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) }}'">
|
||||
<i class="fa-solid fa-toolbox"></i>
|
||||
Zone Settings
|
||||
@ -38,19 +38,19 @@
|
||||
{% endif %}
|
||||
{% if current_user.role.name in ['Administrator', 'Operator'] or SETTING.get('allow_user_view_history') %}
|
||||
<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>
|
||||
Changelog
|
||||
</button>
|
||||
{% endif %}
|
||||
{% if domain.type != 'Slave' %}
|
||||
<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>
|
||||
Add Record
|
||||
</button>
|
||||
<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 }}"
|
||||
value="{{ domain.serial }}">
|
||||
<i class="fa-solid fa-save"></i>
|
||||
@ -58,7 +58,7 @@
|
||||
</button>
|
||||
{% else %}
|
||||
<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 }}">
|
||||
<i class="fa-solid fa-sync"></i>
|
||||
Update from Primary
|
||||
|
Loading…
Reference in New Issue
Block a user