mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Move settings level selector into sidebar instead of the settings page header
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -1,14 +1,4 @@
|
||||
<!-- Title -->
|
||||
<div class="page-header flex-header">
|
||||
<h1><?= PageTitle ?></h1>
|
||||
<?
|
||||
if scriptname ~= 'settings/all' then
|
||||
-- Show the level selector, except in All Settings page
|
||||
?>
|
||||
<div class="settings-selector">
|
||||
Settings level: <select id="settings-level" class="form-control input-sm"></select>
|
||||
</div>
|
||||
<?
|
||||
end
|
||||
?>
|
||||
</div>
|
||||
|
||||
@@ -133,6 +133,11 @@
|
||||
</span>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li>
|
||||
<div class="settings-selector">
|
||||
Settings level: <select id="settings-level" class="form-control input-sm"></select>
|
||||
</div>
|
||||
</li>
|
||||
<li class="<? if scriptname == 'settings/system' then ?> active<? end ?>">
|
||||
<a href="<?=webhome?>settings/system">
|
||||
<i class="fa-fw menu-icon fa-solid fa-circle-info"></i> <span>System</span>
|
||||
|
||||
Reference in New Issue
Block a user