Merge branch 'master' into feat/dashboard-devices

This commit is contained in:
billz
2025-03-23 07:08:04 -07:00
12 changed files with 235 additions and 149 deletions

View File

@@ -7,7 +7,7 @@ require_once 'includes/functions.php';
/**
* Displays the dashboard
*/
function DisplayDashboard(): void
function DisplayDashboard(&$extraFooterScripts): void
{
// instantiate RaspAP objects
$system = new \RaspAP\System\Sysinfo;
@@ -125,6 +125,7 @@ function DisplayDashboard(): void
"status"
)
);
$extraFooterScripts[] = array('src'=>'app/js/dashboardchart.js', 'defer'=>false);
}
/**