mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 15:10:27 +00:00
Move Global Search menu item next to dashboard.
This commit is contained in:
parent
3688add76a
commit
524b6c6883
@ -85,6 +85,12 @@
|
|||||||
<p>Dashboard</p>
|
<p>Dashboard</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="{{ 'nav-item active' if active_page == 'admin_global_search' else 'nav-item' }}">
|
||||||
|
<a href="{{ url_for('admin.global_search') }}" class="nav-link">
|
||||||
|
<i class="nav-icon fa-solid fa-search"></i>
|
||||||
|
<p>Global Search</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
{% if SETTING.get('allow_user_create_domain') or current_user.role.name in ['Administrator', 'Operator'] %}
|
{% if SETTING.get('allow_user_create_domain') or current_user.role.name in ['Administrator', 'Operator'] %}
|
||||||
<li class="{{ 'nav-item active' if active_page == 'nav-item new_domain' else 'nav-item' }}">
|
<li class="{{ 'nav-item active' if active_page == 'nav-item new_domain' else 'nav-item' }}">
|
||||||
<a href="{{ url_for('domain.add') }}" class="nav-link">
|
<a href="{{ url_for('domain.add') }}" class="nav-link">
|
||||||
@ -115,12 +121,6 @@
|
|||||||
<p>Server Configuration</p>
|
<p>Server Configuration</p>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{{ 'nav-item active' if active_page == 'admin_global_search' else 'nav-item' }}">
|
|
||||||
<a href="{{ url_for('admin.global_search') }}" class="nav-link">
|
|
||||||
<i class="nav-icon fa-solid fa-search"></i>
|
|
||||||
<p>Global Search</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="{{ 'nav-item active' if active_page == 'admin_history' else 'nav-item' }}">
|
<li class="{{ 'nav-item active' if active_page == 'admin_history' else 'nav-item' }}">
|
||||||
<a href="{{ url_for('admin.history') }}" class="nav-link">
|
<a href="{{ url_for('admin.history') }}" class="nav-link">
|
||||||
<i class="nav-icon fa-solid fa-timeline"></i>
|
<i class="nav-icon fa-solid fa-timeline"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user