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 140a78366..e25185e03 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DashboardController.php +++ b/src/opnsense/mvc/app/controllers/OPNsense/Core/Api/DashboardController.php @@ -84,16 +84,16 @@ class DashboardController extends ApiControllerBase return [ 'options' => [], 'widgets' => [ - ['id' => 'systeminformation', 'x' => 0, 'y' => 0], + ['id' => 'systeminformation', 'x' => 0, 'y' => 0, 'w' => 2], ['id' => 'memory', 'x' => 2, 'y' => 0], ['id' => 'disk', 'x' => 3, 'y' => 0], - ['id' => 'cpu', 'x' => 4, 'y' => 0, 'w' => 4], - ['id' => 'services', 'x' => 8, 'y' => 0, 'w' => '4'], + ['id' => 'interfacestatistics', 'x' => 4, 'y' => 0, 'w' => 4], + ['id' => 'firewall', '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], + ['id' => 'services', 'x' => 4, 'y' => 1, 'w' => '4'], + ['id' => 'traffic', 'x' => 8, 'y' => 1, 'w' => 4], + ['id' => 'cpu', 'x' => 0, 'y' => 1, 'w' => 2], + ['id' => 'announcements', 'x' => 2, 'y' => 2, 'w' => 2], ] ]; } diff --git a/src/opnsense/www/js/widgets/Services.js b/src/opnsense/www/js/widgets/Services.js index e41a3b5c5..92ad0b832 100644 --- a/src/opnsense/www/js/widgets/Services.js +++ b/src/opnsense/www/js/widgets/Services.js @@ -79,7 +79,8 @@ export default class Services extends BaseTableWidget { actions.push({ action: 'start', id: service.id, title: this.translations.start, icon: 'play' }); } - let $buttonContainer = $(`
+ let $buttonContainer = $(` +