mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
Add minimal layout for the welcome page
This commit is contained in:
parent
d38ad63c96
commit
ec4d246a3c
@ -291,8 +291,8 @@ class SetupNewDashboardForm extends BaseDashboardForm
|
|||||||
}
|
}
|
||||||
|
|
||||||
$details = HtmlElement::create('details', [
|
$details = HtmlElement::create('details', [
|
||||||
'class' => ['dashboard-list-control', 'collapsible'],
|
'class' => ['dashboard-list-control', 'collapsible'],
|
||||||
'data-no-persistence' => true
|
'data-no-persistence' => true
|
||||||
]);
|
]);
|
||||||
$summary = HtmlElement::create('summary', ['class' => 'collapsible-header']);
|
$summary = HtmlElement::create('summary', ['class' => 'collapsible-header']);
|
||||||
$summary->addHtml(
|
$summary->addHtml(
|
||||||
|
@ -49,6 +49,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Minimal welcome page layout
|
||||||
|
|
||||||
|
#layout.minimal-layout .dashboard-introduction {
|
||||||
|
top: 50%;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
form {
|
||||||
|
display: block;
|
||||||
|
padding-right: 1em;
|
||||||
|
padding-left: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Sortable dashboard styles
|
// Sortable dashboard styles
|
||||||
|
|
||||||
.dashboard-settings {
|
.dashboard-settings {
|
||||||
|
@ -98,8 +98,9 @@ form.inline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#layout.minimal-layout .icinga-form {
|
#layout.minimal-layout {
|
||||||
.form-controls {
|
.icinga-form .form-controls,
|
||||||
|
form.icinga-controls {
|
||||||
input[type="submit"],
|
input[type="submit"],
|
||||||
button {
|
button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user