File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed
application/forms/Dashboard Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class SetupNewDashboardForm extends BaseDashboardForm
3434 protected function init ()
3535 {
3636 parent ::init ();
37-
37+
3838 $ this ->moduleDashlets = Modules \DashletManager::getDashlets ();
3939
4040 $ this ->setRedirectUrl ((string ) Url::fromPath (Dashboard::BASE_ROUTE ));
@@ -291,8 +291,8 @@ protected function createFormListControls(string $title = null): ValidHtml
291291 }
292292
293293 $ details = HtmlElement::create ('details ' , [
294- 'class ' => ['dashboard-list-control ' , 'collapsible ' ],
295- 'data-no-persistence ' => true
294+ 'class ' => ['dashboard-list-control ' , 'collapsible ' ],
295+ 'data-no-persistence ' => true
296296 ]);
297297 $ summary = HtmlElement::create ('summary ' , ['class ' => 'collapsible-header ' ]);
298298 $ summary ->addHtml (
Original file line number Diff line number Diff line change 4949 }
5050}
5151
52+ // Minimal welcome page layout
53+
54+ #layout .minimal-layout .dashboard-introduction {
55+ top : 50% ;
56+ width : 100% ;
57+
58+ form {
59+ display : block ;
60+ padding-right : 1em ;
61+ padding-left : 1em ;
62+ }
63+ }
64+
5265// Sortable dashboard styles
5366
5467.dashboard-settings {
Original file line number Diff line number Diff line change @@ -88,8 +88,9 @@ form.inline {
8888 }
8989}
9090
91- #layout .minimal-layout .icinga-form {
92- .form-controls {
91+ #layout .minimal-layout {
92+ .icinga-form .form-controls ,
93+ form .icinga-controls {
9394 input [type= " submit" ],
9495 button {
9596 width : 100% ;
You can’t perform that action at this time.
0 commit comments