servicegrid: fix controls

refs #5543
This commit is contained in:
Johannes Meyer 2015-10-01 18:01:52 +02:00
parent 786db6666e
commit a1beb66e5e
1 changed files with 14 additions and 4 deletions

View File

@ -5,9 +5,17 @@ use Icinga\Web\Url;
if (! $this->compact): ?> if (! $this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs; ?> <?= $this->tabs; ?>
<?= $this->sortBox; ?> <div class="grid dont-print">
<?= $this->limiter; ?> <div class="col-1-3 text-left">
<?= $this->paginator; ?> <?= $this->limiter ?>
</div>
<div class="col-1-3">
<?= $this->paginator ?>
</div>
<div class="col-1-3 text-right">
<?= $this->sortBox ?>
</div>
</div>
<?= $this->filterEditor; ?> <?= $this->filterEditor; ?>
</div> </div>
<?php endif ?> <?php endif ?>
@ -103,6 +111,7 @@ $hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . '
), ),
array( array(
'data-base-target' => '_self', 'data-base-target' => '_self',
'class' => 'action-link'
) )
) ?> ) ?>
<?= ++$i === (int) (count($pivotHeader['rows']) / 2) ? $expandLink : '' ?> <?= ++$i === (int) (count($pivotHeader['rows']) / 2) ? $expandLink : '' ?>
@ -121,7 +130,8 @@ $hostFilter = '(host_name=' . implode('|host_name=', array_keys($pivotData)) . '
($this->verticalPaginator->getItemCountPerPage() + 20) ($this->verticalPaginator->getItemCountPerPage() + 20)
), ),
array( array(
'data-base-target' => '_self' 'data-base-target' => '_self',
'class' => 'action-link'
) )
) ?> ) ?>
</td> </td>