From ceeffbb9cb8928f68b24e0f8bc9d77fc7a08cf06 Mon Sep 17 00:00:00 2001 From: Stephan de Wit Date: Fri, 13 Sep 2024 13:09:59 +0200 Subject: [PATCH] dashboard: change default dashboard layout --- .../OPNsense/Core/Api/DashboardController.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DashboardController.php b/src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DashboardController.php index 39c3e87d1..140a78366 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DashboardController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DashboardController.php @@ -87,12 +87,13 @@ class DashboardController extends ApiControllerBase ['id' => 'systeminformation', 'x' => 0, 'y' => 0], ['id' => 'memory', 'x' => 2, 'y' => 0], ['id' => 'disk', 'x' => 3, 'y' => 0], - ['id' => 'interfacestatistics', 'x' => 4, 'y' => 0, 'w' => 4], - ['id' => 'cpu', 'x' => 8, 'y' => 0], - ['id' => 'announcements', 'x' => 8, 'y' => 2], - ['id' => 'traffic', 'x' => 2, 'y' => 2], - ['id' => 'gateways', 'x' => 10, 'y' => 0], - ['id' => 'firewall', 'x' => 4, 'y' => 2, 'w' => 4], + ['id' => 'cpu', 'x' => 4, 'y' => 0, 'w' => 4], + ['id' => 'services', 'x' => 8, 'y' => 0, 'w' => '4'], + ['id' => 'gateways', 'x' => 2, 'y' => 1, 'w' => 2], + ['id' => 'traffic', 'x' => 4, 'y' => 1, 'w' => 4], + ['id' => 'announcements', 'x' => 0, 'y' => 1, 'w' => 2], + ['id' => 'interfacestatistics', 'x' => 4, 'y' => 2, 'w' => 4], + ['id' => 'firewall', 'x' => 8, 'y' => 1, 'w' => 4], ] ]; }