diff --git a/web/app/dashboard/dashboard.edit.controller.js b/web/app/dashboard/dashboard.edit.controller.js index 33b7c115..0c9f57ff 100755 --- a/web/app/dashboard/dashboard.edit.controller.js +++ b/web/app/dashboard/dashboard.edit.controller.js @@ -8,6 +8,7 @@ angular.module('app') margins: $scope.dashboard.widget_margin ? [$scope.dashboard.widget_margin, $scope.dashboard.widget_margin] : [5, 5], columns: $scope.dashboard.columns || 12, + rowHeight: $scope.dashboard.row_height || 'match', pushing: false, floating: false, mobileModeEnabled: false, diff --git a/web/app/dashboard/dashboard.view.controller.js b/web/app/dashboard/dashboard.view.controller.js index af95dc73..f5da9a8a 100755 --- a/web/app/dashboard/dashboard.view.controller.js +++ b/web/app/dashboard/dashboard.view.controller.js @@ -11,9 +11,11 @@ margins: (vm.dashboard.widget_margin) ? [vm.dashboard.widget_margin, vm.dashboard.widget_margin] : [5, 5], columns: vm.dashboard.columns || 12, + rowHeight: vm.dashboard.row_height || 'match', pushing: false, floating: false, - mobileModeEnabled: false, + mobileModeEnabled: (vm.dashboard.mobile_mode_enabled || false), + mobileBreakpoint: (vm.dashboard.mobile_mode_enabled && vm.dashboard.mobile_breakpoint || undefined), draggable: { enabled: false }, resizable: { enabled: false } }; diff --git a/web/app/menu/menu.controller.js b/web/app/menu/menu.controller.js index e01d32c8..2299b279 100755 --- a/web/app/menu/menu.controller.js +++ b/web/app/menu/menu.controller.js @@ -152,8 +152,11 @@ col: dashboard.col, row: dashboard.row, columns: dashboard.columns, + row_height: dashboard.row_height, widget_margin: dashboard.widget_margin, font_scale: dashboard.font_scale, + mobile_breakpoint: dashboard.mobile_breakpoint, + mobile_mode_enabled: dashboard.mobile_mode_enabled, tile: { background_image: dashboard.tile.background_image, backdrop_iconset: dashboard.tile.backdrop_iconset, diff --git a/web/app/menu/menu.settings.tpl.html b/web/app/menu/menu.settings.tpl.html index 103ee9bd..201d1eeb 100755 --- a/web/app/menu/menu.settings.tpl.html +++ b/web/app/menu/menu.settings.tpl.html @@ -73,25 +73,48 @@

Dashboard Settings


These options are currently experimental, unstable or targeted at advanced users! Use at your own risk.

-
+
-
+
+ +
+ + Leave blank to match the column width (square grid) +
+
+
-
+
This will increase font sizes unless they are explicitely defined in pixels
+
+ +
+
+ +
+
+
+
+ +
+ +
+