parent
cf2fe8433a
commit
59599916b0
|
@ -22,8 +22,8 @@ if (! $this->compact): ?>
|
|||
<div class="content">
|
||||
<table data-base-target="_next"
|
||||
class="action multiselect<?php if ($this->compact): ?> compact<?php endif ?>" style="table-layout: auto;"
|
||||
data-icinga-multiselect-url="<?= $this->href("monitoring/services/show") ?>"
|
||||
data-icinga-multiselect-controllers="<?= $this->href("monitoring/services") ?>"
|
||||
data-icinga-multiselect-url="<?= $this->href('monitoring/services/show') ?>"
|
||||
data-icinga-multiselect-controllers="<?= $this->href('monitoring/services') ?>"
|
||||
data-icinga-multiselect-data="service,host">
|
||||
<tbody>
|
||||
<?php foreach ($services as $service):
|
||||
|
@ -61,10 +61,16 @@ if (! $this->compact): ?>
|
|||
<?= $this->iconImage()->service($service) ?>
|
||||
<span class="objectflags"><?= implode(' ', $this->serviceFlags($service)) ?></span>
|
||||
<?php if ($this->showHost): ?><?= $this->qlink(
|
||||
$service->host_display_name . ($service->host_state != 0 ? ' (' . Host::getStateText($service->host_state, true) . ')' : ''),
|
||||
$service->host_display_name
|
||||
. ($service->host_state != 0 ? ' (' . Host::getStateText($service->host_state, true) . ')' : ''),
|
||||
$hostLink,
|
||||
null,
|
||||
array('title' => sprintf($this->translate('Show detailed information for host %s'), $service->host_display_name))
|
||||
array(
|
||||
'title' => sprintf(
|
||||
$this->translate('Show detailed information for host %s'),
|
||||
$service->host_display_name
|
||||
)
|
||||
)
|
||||
) ?>:
|
||||
<?php endif ?><?= $this->qlink(
|
||||
$service->service_display_name,
|
||||
|
@ -80,7 +86,9 @@ if (! $this->compact): ?>
|
|||
)
|
||||
) ?><br />
|
||||
<div class="sparkline-box"><?= $this->perfdata($service->service_perfdata, true, 5) ?> </div>
|
||||
<p class="plugin-output"><?= $this->pluginOutput($this->ellipsis($service->service_output, 10000), true) ?></p>
|
||||
<p class="plugin-output">
|
||||
<?= $this->pluginOutput($this->ellipsis($service->service_output, 10000), true) ?>
|
||||
</p>
|
||||
</td>
|
||||
<?php foreach($this->addColumns as $col): ?>
|
||||
<td><?= $this->escape($service->$col) ?></td>
|
||||
|
@ -100,6 +108,6 @@ if (! $this->compact): ?>
|
|||
'data-base-target' => '_next',
|
||||
'class' => 'pull-right show-more'
|
||||
)
|
||||
); ?>
|
||||
) ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue