mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
system: show booting banner on dashboard; closes #6108
This commit is contained in:
parent
11663d8ff1
commit
dad04cac72
@ -247,6 +247,12 @@ function print_service_banner($service)
|
||||
global $config;
|
||||
|
||||
switch ($service) {
|
||||
case 'bootup':
|
||||
if (!product::getInstance()->booting) {
|
||||
break;
|
||||
}
|
||||
print_alert_box(gettext('The system is currently booting. Not all services have been started yet.'));
|
||||
break;
|
||||
case 'firewall':
|
||||
if (!isset($config['system']['disablefilter'])) {
|
||||
break;
|
||||
|
||||
@ -334,6 +334,7 @@ include("fbegin.inc");?>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-xs-12">
|
||||
<?php print_service_banner('bootup') ?>
|
||||
<?php print_service_banner('livecd') ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user