Adds "admin" dashboard page
parent
a272294fc0
commit
4639baeef9
|
|
@ -74,6 +74,9 @@
|
||||||
<a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=admin-tools">
|
<a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=admin-tools">
|
||||||
<i class="fas fa-toolbox"></i>Admin tools
|
<i class="fas fa-toolbox"></i>Admin tools
|
||||||
</a>
|
</a>
|
||||||
|
<a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=admin">
|
||||||
|
<i class="fas fa-toolbox"></i>Admin
|
||||||
|
</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ($userObject->hasRight($userId, 'superuser') ||
|
<?php if ($userObject->hasRight($userId, 'superuser') ||
|
||||||
$userObject->hasRight($userId, 'view config file')) {?>
|
$userObject->hasRight($userId, 'view config file')) {?>
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ $allowed_urls = [
|
||||||
'graphs','latest','livejs','agents',
|
'graphs','latest','livejs','agents',
|
||||||
'profile','credentials','config','security',
|
'profile','credentials','config','security',
|
||||||
'settings','theme','theme-asset',
|
'settings','theme','theme-asset',
|
||||||
'admin-tools',
|
'admin', 'admin-tools',
|
||||||
'status',
|
'status',
|
||||||
'help','about',
|
'help','about',
|
||||||
'login','logout',
|
'login','logout',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue