mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
monitoring/CSS: Don't use clearfix and pull-right in the services overview
refs #5543
This commit is contained in:
parent
a3caae6595
commit
2702e70a9c
@ -45,22 +45,20 @@ if (! $this->compact): ?>
|
|||||||
$serviceStateName = Service::getStateText($service->service_state); ?>
|
$serviceStateName = Service::getStateText($service->service_state); ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="state-col state-<?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
<td class="state-col state-<?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
||||||
<p>
|
|
||||||
<span class="state-label"><?= Service::getStateText($service->service_state, true) ?></span>
|
<span class="state-label"><?= Service::getStateText($service->service_state, true) ?></span>
|
||||||
<?php if ((int) $service->service_state !== 99): ?>
|
<?php if ((int) $service->service_state !== 99): ?>
|
||||||
<br>
|
<div class="state-meta">
|
||||||
<?= $this->timeSince($service->service_last_state_change, $this->compact) ?>
|
<?= $this->timeSince($service->service_last_state_change, $this->compact) ?>
|
||||||
<?php if ((int) $service->service_state > 0 && (int) $service->service_state_type === 0): ?>
|
<?php if ((int) $service->service_state > 0 && (int) $service->service_state_type === 0): ?>
|
||||||
<br>
|
<div><?= $this->translate('Soft', 'Soft state') ?> <?= $service->service_attempt ?></div>
|
||||||
<span class="text-small"><?= $this->translate('Soft', 'Soft state') ?> <?= $service->service_attempt ?></span>
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</p>
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="clearfix">
|
<td>
|
||||||
|
<div class="state-header">
|
||||||
<?= $this->iconImage()->service($service) ?>
|
<?= $this->iconImage()->service($service) ?>
|
||||||
<span class="pull-right"><?= implode(' ', $this->serviceFlags($service)) ?></span>
|
|
||||||
<?php if ($this->showHost): ?><?= $this->qlink(
|
<?php if ($this->showHost): ?><?= $this->qlink(
|
||||||
$service->host_display_name
|
$service->host_display_name
|
||||||
. ($service->host_state != 0 ? ' (' . Host::getStateText($service->host_state, true) . ')' : ''),
|
. ($service->host_state != 0 ? ' (' . Host::getStateText($service->host_state, true) . ')' : ''),
|
||||||
@ -85,9 +83,11 @@ if (! $this->compact): ?>
|
|||||||
),
|
),
|
||||||
'class' => 'rowaction'
|
'class' => 'rowaction'
|
||||||
)
|
)
|
||||||
) ?><br />
|
) ?>
|
||||||
<div class="sparkline-box"><?= $this->perfdata($service->service_perfdata, true, 5) ?> </div>
|
<span class="state-icons"><?= implode(' ', $this->serviceFlags($service)) ?></span>
|
||||||
<p class="plugin-output">
|
</div>
|
||||||
|
<div class="sparkline-box"><?= $this->perfdata($service->service_perfdata, true, 5) ?></div>
|
||||||
|
<p class="overview-plugin-output">
|
||||||
<?= $this->pluginOutput($this->ellipsis($service->service_output, 10000), true) ?>
|
<?= $this->pluginOutput($this->ellipsis($service->service_output, 10000), true) ?>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user