monitoring/CSS: Don't use clearfix and pull-right in the hosts overview
refs #5543
This commit is contained in:
parent
2702e70a9c
commit
ea91ca9dc4
|
@ -32,21 +32,19 @@ if (! $this->compact): ?>
|
|||
$hostLink = $this->href('monitoring/host/show', array('host' => $host->host_name)); ?>
|
||||
<tr>
|
||||
<td class="state-col state-<?= $hostStateName ?><?= $host->host_handled ? ' handled' : '' ?>">
|
||||
<p>
|
||||
<span class="state-label"><?= Host::getStateText($host->host_state, true) ?></span>
|
||||
<div class="state-label"><?= Host::getStateText($host->host_state, true) ?></div>
|
||||
<?php if ((int) $host->host_state !== 99): ?>
|
||||
<br>
|
||||
<div class="state-meta">
|
||||
<?= $this->timeSince($host->host_last_state_change, $this->compact) ?>
|
||||
<?php if ((int) $host->host_state > 0 && (int) $host->host_state_type === 0): ?>
|
||||
<br>
|
||||
<span class="text-small">Soft <?= $host->host_attempt ?></span>
|
||||
<div>Soft <?= $host->host_attempt ?></div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</p>
|
||||
</td>
|
||||
<td class="clearfix">
|
||||
<td>
|
||||
<div class="state-header">
|
||||
<?= $this->iconImage()->host($host) ?>
|
||||
<span class="pull-right"><?= implode(' ', $this->hostFlags($host)) ?></span>
|
||||
<?= $this->qlink(
|
||||
$host->host_display_name,
|
||||
$hostLink,
|
||||
|
@ -86,7 +84,11 @@ if (! $this->compact): ?>
|
|||
)
|
||||
) ?>)</span>
|
||||
<?php endif ?>
|
||||
<p class="plugin-output"><?= $this->pluginOutput($this->ellipsis($host->host_output, 10000), true) ?></p>
|
||||
<span class="state-icons"><?= implode(' ', $this->hostFlags($host)) ?></span>
|
||||
</div>
|
||||
<p class="overview-plugin-output">
|
||||
<?= $this->pluginOutput($this->ellipsis($host->host_output, 10000), true) ?>
|
||||
</p>
|
||||
</td>
|
||||
<?php foreach($this->addColumns as $col): ?>
|
||||
<td><?= $this->escape($host->$col) ?></td>
|
||||
|
|
|
@ -45,7 +45,7 @@ if (! $this->compact): ?>
|
|||
$serviceStateName = Service::getStateText($service->service_state); ?>
|
||||
<tr>
|
||||
<td class="state-col state-<?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
||||
<span class="state-label"><?= Service::getStateText($service->service_state, true) ?></span>
|
||||
<div class="state-label"><?= Service::getStateText($service->service_state, true) ?></div>
|
||||
<?php if ((int) $service->service_state !== 99): ?>
|
||||
<div class="state-meta">
|
||||
<?= $this->timeSince($service->service_last_state_change, $this->compact) ?>
|
||||
|
|
Loading…
Reference in New Issue