mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
parent
c0df55c079
commit
c9d12cf8ac
@ -10,9 +10,9 @@ $requirements = $form->getRequirements();
|
|||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($requirements as $requirement): ?>
|
<?php foreach ($requirements as $requirement): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $requirement->title; ?></td>
|
<td><h2><?= $requirement->title; ?></h2></td>
|
||||||
<td><?= $requirement->description; ?></td>
|
<td style="width: 50%"><?= $requirement->description; ?></td>
|
||||||
<td class="<?= $requirement->state === Requirements::STATE_OK ? 'fulfilled' : (
|
<td class="state <?= $requirement->state === Requirements::STATE_OK ? 'fulfilled' : (
|
||||||
$requirement->state === Requirements::STATE_OPTIONAL ? 'not-available' : 'missing'
|
$requirement->state === Requirements::STATE_OPTIONAL ? 'not-available' : 'missing'
|
||||||
); ?>"><?= $requirement->message; ?></td>
|
); ?>"><?= $requirement->message; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -103,17 +103,33 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#setup table.requirements {
|
#setup table.requirements {
|
||||||
|
margin-top: -1em;
|
||||||
|
margin-left: -1em;
|
||||||
|
border-spacing: 1em;
|
||||||
|
border-collapse: separate;
|
||||||
|
|
||||||
td {
|
td {
|
||||||
|
h2 {
|
||||||
|
margin: 0 1em 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.state {
|
||||||
|
color: white;
|
||||||
|
padding: 0.4em;
|
||||||
|
border-radius: 0.2em;
|
||||||
|
|
||||||
&.fulfilled {
|
&.fulfilled {
|
||||||
background-color: green;
|
background-color: #4fad4b;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.not-available {
|
&.not-available {
|
||||||
background-color: yellow;
|
color: black;
|
||||||
|
background-color: #e8ec70;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.missing {
|
&.missing {
|
||||||
background-color: red;
|
background-color: #fd7770;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user