Add $extraFooterScripts to default case

This commit is contained in:
billz 2020-02-02 15:15:22 +00:00
parent 373a7f28ef
commit 95383b81c0

View file

@ -118,7 +118,7 @@ if ($_COOKIE['sidebarToggled'] == 'true' ) {
<img src="app/img/raspAP-logo.svg" class="navbar-logo" width="64" height="64">
</div>
<div class="col-xs ml-2">
<div class="">Status</div>
<div class="ml-1">Status</div>
<div class="info-item-xs"><span class="icon"><i class="fas fa-circle <?php echo htmlspecialchars($hostapd_led, ENT_QUOTES); ?>"></i></span> Hotspot <?php echo _($hostapd_status); ?></div>
<div class="info-item-xs"><span class="icon"><i class="fas fa-circle service-status-up"></i></span> Memory Use: <?php echo htmlspecialchars($memused, ENT_QUOTES); ?>%</div>
<div class="info-item-xs"><span class="icon"><i class="fas fa-circle service-status-up"></i></span> CPU Temp: <?php echo htmlspecialchars($cputemp, ENT_QUOTES); ?>°C</div>
@ -262,7 +262,7 @@ if ($_COOKIE['sidebarToggled'] == 'true' ) {
DisplayAbout();
break;
default:
DisplayDashboard();
DisplayDashboard($extraFooterScripts);
}
?>
</div><!-- /.container-fluid -->