diff --git a/app/css/all.css b/app/css/all.css
index d95c8390..b42a34e2 100644
--- a/app/css/all.css
+++ b/app/css/all.css
@@ -169,7 +169,7 @@ th {
}
canvas#divDBChartBandwidthhourly {
- height: 350px!important;
+ height: 509px!important;
}
.dbChart {
diff --git a/includes/dashboard.php b/includes/dashboard.php
index 3e1b3e14..c6857b21 100755
--- a/includes/dashboard.php
+++ b/includes/dashboard.php
@@ -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;
@@ -123,6 +123,7 @@ function DisplayDashboard(): void
"status"
)
);
+ $extraFooterScripts[] = array('src'=>'app/js/dashboardchart.js', 'defer'=>false);
}
/**
diff --git a/templates/dashboard.php b/templates/dashboard.php
index b4c34cda..394dcbf6 100755
--- a/templates/dashboard.php
+++ b/templates/dashboard.php
@@ -1,12 +1,12 @@
-
-
- " name="ifup_wlan0" />
-
- " name="ifdown_wlan0" />
-
+
+
+ " name="ifup_wlan0" />
+
+ " name="ifdown_wlan0" />
-