monitoring: Fix controls positioning

This commit is contained in:
Eric Lippmann 2015-11-16 10:24:52 +01:00
parent 326745f3a6
commit d293506c1b
10 changed files with 21 additions and 21 deletions

View File

@ -1,11 +1,11 @@
<?php if (! $this->compact): ?>
<div class="controls separated dont-print">
<?= $tabs ?>
<?= $this->render('list/components/selectioninfo.phtml') ?>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->render('list/components/selectioninfo.phtml') ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>

View File

@ -1,12 +1,12 @@
<?php
if (! $this->compact): ?>
<div class="controls separated dont-print">
<div class="controls">
<?= $tabs ?>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>

View File

@ -1,10 +1,10 @@
<?php if (! $this->compact): ?>
<div class="controls separated dont-print">
<div class="controls">
<?= $tabs ?>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>

View File

@ -5,11 +5,11 @@ use Icinga\Module\Monitoring\Object\Service;
if (! $this->compact): ?>
<div class="controls separated dont-print">
<?= $tabs ?>
<?= $this->render('list/components/selectioninfo.phtml') ?>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->render('list/components/selectioninfo.phtml') ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>

View File

@ -1,14 +1,14 @@
<?php
if (! $this->compact): ?>
<div class="controls dont-print separated">
<div class="controls">
<?= $this->tabs ?>
<div class="grid">
<?= $this->limiter ?>
<?= $this->sortBox ?>
</div>
<?= $this->limiter ?>
<?= $this->filterEditor ?>
</div>
</div>
<?php endif ?>
<?= $this->partial(
'partials/event-history.phtml',

View File

@ -2,12 +2,12 @@
use Icinga\Module\Monitoring\Web\Widget\StateBadges;
/** @var \Icinga\Module\Monitoring\DataView\Hostgroup $hostgroups */
if (! $this->compact): ?>
<div class="controls separated dont-print">
<div class="controls">
<?= $tabs ?>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>

View File

@ -2,16 +2,16 @@
use Icinga\Module\Monitoring\Object\Host;
if (! $this->compact): ?>
<div class="controls separated dont-print">
<div class="controls">
<?= $this->tabs ?>
<div class="grid">
<?= $this->render('list/components/hostssummary.phtml') ?>
<?= $this->render('list/components/selectioninfo.phtml') ?>
</div>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>

View File

@ -3,12 +3,12 @@ use Icinga\Module\Monitoring\Object\Host;
use Icinga\Module\Monitoring\Object\Service;
if (! $this->compact): ?>
<div class="controls separated dont-print">
<div class="controls">
<?= $tabs ?>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>

View File

@ -1,12 +1,12 @@
<?php use Icinga\Module\Monitoring\Web\Widget\StateBadges;
if (! $this->compact): ?>
<div class="controls separated dont-print">
<div class="controls">
<?= $tabs ?>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>

View File

@ -3,16 +3,16 @@ use Icinga\Module\Monitoring\Object\Host;
use Icinga\Module\Monitoring\Object\Service;
if (! $this->compact): ?>
<div class="controls separated dont-print">
<div class="controls">
<?= $this->tabs ?>
<div class="grid">
<?= $this->render('list/components/servicesummary.phtml') ?>
<?= $this->render('list/components/selectioninfo.phtml') ?>
</div>
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?>
<?= $this->paginator ?>
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor ?>
</div>