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): ?> <?php if (! $this->compact): ?>
<div class="controls separated dont-print"> <div class="controls separated dont-print">
<?= $tabs ?> <?= $tabs ?>
<?= $this->render('list/components/selectioninfo.phtml') ?>
<div class="grid"> <div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?> <?= $this->limiter ?>
<?= $this->paginator ?> <?= $this->paginator ?>
<?= $this->render('list/components/selectioninfo.phtml') ?>
<?= $this->sortBox ?>
</div> </div>
<?= $this->filterEditor ?> <?= $this->filterEditor ?>
</div> </div>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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