added light and dark gruvbox themes. fixed css issues.
This commit is contained in:
@@ -37,32 +37,34 @@ function showCard($module_name, $page_name, $width = 3)
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="row row-cols-1 row-cols-md-3 row-cols-sm-2 g-3">
|
||||
<?php
|
||||
if ($GLOBALS['modules_enabled']['customers'] && $API->checkPermissions('customer-companies', 'RO', true)) {
|
||||
showCard('customers', 'companies', '6');
|
||||
}
|
||||
<div class="row row-cols-1 row-cols-md-3 row-cols-sm-2 g-3">
|
||||
<?php
|
||||
if ($GLOBALS['modules_enabled']['customers'] && $API->checkPermissions('customer-companies', 'RO', true)) {
|
||||
showCard('customers', 'companies', '6');
|
||||
}
|
||||
|
||||
if ($GLOBALS['modules_enabled']['servers'] && $API->checkPermissions('servers', 'RO', true)) {
|
||||
showCard('servers', 'server_overview', '6');
|
||||
}
|
||||
if ($GLOBALS['modules_enabled']['servers'] && $API->checkPermissions('servers', 'RO', true)) {
|
||||
showCard('servers', 'server_overview', '6');
|
||||
}
|
||||
|
||||
if ($GLOBALS['modules_enabled']['office'] && $API->checkPermissions('ofice-stompjes', 'RO', true)) {
|
||||
showCard('office', 'stompjeslist');
|
||||
}
|
||||
if ($GLOBALS['modules_enabled']['office'] && $API->checkPermissions('ofice-stompjes', 'RO', true)) {
|
||||
showCard('office', 'stompjeslist');
|
||||
}
|
||||
|
||||
if ($GLOBALS['modules_enabled']['autop']) {
|
||||
showCard('autop', 'platforms');
|
||||
showCard('autop', 'vendors');
|
||||
showCard('autop', 'devices');
|
||||
showCard('autop', 'device_settings');
|
||||
showCard('autop', 'provisioning');
|
||||
showCard('autop', 'phonebooks');
|
||||
}
|
||||
if ($GLOBALS['modules_enabled']['autop']) {
|
||||
showCard('autop', 'platforms');
|
||||
showCard('autop', 'vendors');
|
||||
showCard('autop', 'devices');
|
||||
showCard('autop', 'device_settings');
|
||||
showCard('autop', 'provisioning');
|
||||
showCard('autop', 'phonebooks');
|
||||
}
|
||||
|
||||
if ($GLOBALS['modules_enabled']['portal-management']) {
|
||||
showCard('portal-management', 'access_control');
|
||||
showCard('portal-management', 'systemconfig');
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
if ($GLOBALS['modules_enabled']['portal-management']) {
|
||||
showCard('portal-management', 'access_control');
|
||||
showCard('portal-management', 'systemconfig');
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php include($_SERVER['DOCUMENT_ROOT'] . '/bin/pages/pageThemeTest.php'); ?>
|
||||
Reference in New Issue
Block a user