mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-26 23:26:47 +01:00
Load scripts from js/vendor for sanity
This commit is contained in:
@@ -123,7 +123,7 @@ function DisplayDashboard(&$extraFooterScripts): void
|
||||
"status"
|
||||
)
|
||||
);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/dashboardchart.js', 'defer'=>false);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/vendor/dashboardchart.js', 'defer'=>false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,5 +9,5 @@ function DisplayDataUsage(&$extraFooterScripts)
|
||||
echo renderTemplate("data_usage", [ "interfaces" => $interfacesWlo ]);
|
||||
|
||||
$extraFooterScripts[] = array('src'=>'dist/datatables/jquery.dataTables.min.js', 'defer'=>false);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/bandwidthcharts.js', 'defer'=>false);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/vendor/bandwidthcharts.js', 'defer'=>false);
|
||||
}
|
||||
|
||||
@@ -23,5 +23,5 @@ function DisplayNetworkingConfig(&$extraFooterScripts)
|
||||
"routeInfoRaw",
|
||||
"bridgedEnabled")
|
||||
);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/speedtestUI.js', 'defer'=>false);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/vendor/speedtestUI.js', 'defer'=>false);
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ function DisplaySystem(&$extraFooterScripts)
|
||||
];
|
||||
$selectedTheme = array_search($_COOKIE['theme'], $themeFiles);
|
||||
$extraFooterScripts[] = array('src'=>'dist/huebee/huebee.pkgd.min.js', 'defer'=>false);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/huebee.js', 'defer'=>false);
|
||||
$extraFooterScripts[] = array('src'=>'app/js/vendor/huebee.js', 'defer'=>false);
|
||||
$logLimit = isset($_SESSION['log_limit']) ? $_SESSION['log_limit'] : RASPI_LOG_SIZE_LIMIT;
|
||||
|
||||
$plugins = $pluginInstaller->getUserPlugins();
|
||||
|
||||
Reference in New Issue
Block a user