Move settings level selector into sidebar instead of the settings page header

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-11-02 06:12:33 +01:00
parent abe4a9f66c
commit f5040c53e2
3 changed files with 6 additions and 12 deletions
-10
View File
@@ -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>
+5
View File
@@ -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>