parent
04dd81103c
commit
aadbbe08e1
|
@ -1,20 +1,12 @@
|
|||
<?php if (! $this->compact): ?>
|
||||
<div class="controls dont-print">
|
||||
<div class="controls separated dont-print">
|
||||
<?= $tabs ?>
|
||||
<div class="text-right">
|
||||
<?= $this->render('list/components/selectioninfo.phtml'); ?>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div class="col-1-3">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->render('list/components/selectioninfo.phtml') ?>
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
|
@ -7,7 +7,7 @@ if (! $stats instanceof stdClass) {
|
|||
$stats = $stats->fetchRow();
|
||||
}
|
||||
?>
|
||||
<div class="v-center">
|
||||
<div class="hosts-summary">
|
||||
<?= $this->qlink(
|
||||
sprintf($this->translatePlural('%u Host', '%u Hosts', $stats->hosts_total), $stats->hosts_total),
|
||||
// @TODO(el): Fix that
|
||||
|
|
|
@ -7,7 +7,7 @@ if (! $stats instanceof stdClass) {
|
|||
$stats = $stats->fetchRow();
|
||||
}
|
||||
?>
|
||||
<div class="v-center">
|
||||
<div class="services-summary">
|
||||
<?= $this->qlink(
|
||||
sprintf($this->translatePlural(
|
||||
'%u Service', '%u Services', $stats->services_total),
|
||||
|
|
|
@ -1,19 +1,13 @@
|
|||
<?php
|
||||
|
||||
if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<div class="controls separated dont-print">
|
||||
<?= $tabs ?>
|
||||
<div class="grid">
|
||||
<div class="col-1-3">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
|
@ -1,17 +1,11 @@
|
|||
<?php if (! $this->compact): ?>
|
||||
<div class="controls dont-print">
|
||||
<div class="controls separated dont-print">
|
||||
<?= $tabs ?>
|
||||
<div class="grid">
|
||||
<div class="col-1-3">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
|
@ -3,22 +3,14 @@ use Icinga\Module\Monitoring\Object\Host;
|
|||
use Icinga\Module\Monitoring\Object\Service;
|
||||
|
||||
if (! $this->compact): ?>
|
||||
<div class="controls dont-print">
|
||||
<div class="controls separated dont-print">
|
||||
<?= $tabs ?>
|
||||
<div class="text-right">
|
||||
<?= $this->render('list/components/selectioninfo.phtml'); ?>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div class="col-1-3">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->render('list/components/selectioninfo.phtml') ?>
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
|
@ -11,14 +11,14 @@ if (! $url->hasParam('page') || ($page = (int) $url->getParam('page')) < 1) {
|
|||
$history->limit($limit * $page);
|
||||
|
||||
if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<div class="controls dont-print separated">
|
||||
<?= $this->tabs; ?>
|
||||
<div class="grid dont-print">
|
||||
<div class="grid">
|
||||
<div class="col-1-3 text-left">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<a href="#load-more">
|
||||
<a class="action-link" href="#load-more">
|
||||
<?= $this->translate('Scroll to the bottom of this page to load additional events'); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -2,19 +2,13 @@
|
|||
use Icinga\Module\Monitoring\Web\Widget\StateBadges;
|
||||
/** @var \Icinga\Module\Monitoring\DataView\Hostgroup $hostgroups */
|
||||
if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<div class="controls separated dont-print">
|
||||
<?= $tabs ?>
|
||||
<div class="grid">
|
||||
<div class="col-1-3">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
|
@ -2,27 +2,17 @@
|
|||
use Icinga\Module\Monitoring\Object\Host;
|
||||
|
||||
if (! $this->compact): ?>
|
||||
<div class="controls separated">
|
||||
<div class="controls separated dont-print">
|
||||
<?= $this->tabs ?>
|
||||
<div class="grid dont-print">
|
||||
<div class="col-1-2 text-left">
|
||||
<div class="grid">
|
||||
<?= $this->render('list/components/hostssummary.phtml') ?>
|
||||
</div>
|
||||
<div class="col-1-2 text-right">
|
||||
<?= $this->render('list/components/selectioninfo.phtml') ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid dont-print">
|
||||
<div class="col-1-3 text-left">
|
||||
<div class="grid">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
|
@ -5,23 +5,15 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
$notifications->peekAhead($this->compact);
|
||||
|
||||
if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<div class="controls dont-print">
|
||||
<div class="controls separated dont-print">
|
||||
<?= $tabs ?>
|
||||
<div class="grid">
|
||||
<div class="col-1-3">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<div class="content">
|
||||
<table data-base-target="_next" class="action action-table">
|
||||
|
|
|
@ -3,7 +3,7 @@ use Icinga\Module\Monitoring\Object\Service;
|
|||
use Icinga\Web\Url;
|
||||
|
||||
if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<div class="controls separated">
|
||||
<?= $this->tabs; ?>
|
||||
<div class="grid dont-print">
|
||||
<div class="col-1-3 text-left">
|
||||
|
@ -102,7 +102,7 @@ $hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . '
|
|||
<?php if (! $this->compact && $this->horizontalPaginator->getPages()->pageCount > 1): ?>
|
||||
<td>
|
||||
<?php $expandLink = $this->qlink(
|
||||
$this->translate('more …'),
|
||||
$this->translate('Load more'),
|
||||
Url::fromRequest(),
|
||||
array(
|
||||
'limit' => (
|
||||
|
@ -123,7 +123,7 @@ $hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . '
|
|||
<tr>
|
||||
<td colspan="<?= count($pivotHeader['cols']) + 1?>" class="service-grid-table-more">
|
||||
<?php echo $this->qlink(
|
||||
$this->translate('more …'),
|
||||
$this->translate('Load more'),
|
||||
Url::fromRequest(),
|
||||
array(
|
||||
'limit' => $this->horizontalPaginator->getItemCountPerPage() . ',' .
|
||||
|
|
|
@ -1,19 +1,13 @@
|
|||
<?php use Icinga\Module\Monitoring\Web\Widget\StateBadges;
|
||||
|
||||
if (! $this->compact): ?>
|
||||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<div class="controls separated dont-print">
|
||||
<?= $tabs ?>
|
||||
<div class="grid">
|
||||
<div class="col-1-3">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
|
@ -6,24 +6,14 @@ if (! $this->compact): ?>
|
|||
<div class="controls separated dont-print">
|
||||
<?= $this->tabs ?>
|
||||
<div class="grid">
|
||||
<div class="col-1-2">
|
||||
<?= $this->render('list/components/servicesummary.phtml') ?>
|
||||
</div>
|
||||
<div class="col-1-2 text-right">
|
||||
<?= $this->render('list/components/selectioninfo.phtml') ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div class="col-1-3">
|
||||
<?= $this->limiter ?>
|
||||
</div>
|
||||
<div class="col-1-3">
|
||||
<?= $this->paginator ?>
|
||||
</div>
|
||||
<div class="col-1-3 text-right">
|
||||
<?= $this->sortBox ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= $this->filterEditor ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
Loading…
Reference in New Issue