monitoring: Update controls markup in services

refs #11145
This commit is contained in:
Eric Lippmann 2016-03-31 10:05:53 +02:00
parent f50906dade
commit ad6d8dca2e
1 changed files with 16 additions and 18 deletions

View File

@ -5,14 +5,12 @@ use Icinga\Module\Monitoring\Object\Service;
if (! $this->compact): ?> if (! $this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs ?> <?= $this->tabs ?>
<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') ?> <?= $this->paginator ?>
</div> <div class="sort-controls-container">
<div class="grid">
<?= $this->sortBox ?>
<?= $this->limiter ?> <?= $this->limiter ?>
<?= $this->paginator ?> <?= $this->sortBox ?>
</div> </div>
<?= $this->filterEditor ?> <?= $this->filterEditor ?>
</div> </div>
@ -101,16 +99,16 @@ if (! $this->compact): ?>
</tbody> </tbody>
</table> </table>
<?php if ($services->hasMore()): ?> <?php if ($services->hasMore()): ?>
<div class="text-right"> <div class="action-links">
<?= $this->qlink( <?= $this->qlink(
$this->translate('Show More'), $this->translate('Show More'),
$this->url()->without(array('view', 'limit')), $this->url()->without(array('view', 'limit')),
null, null,
array( array(
'data-base-target' => '_next', 'class' => 'action-link',
'class' => 'action-link' 'data-base-target' => '_next'
) )
) ?> ) ?>
</div> </div>
<?php endif ?> <?php endif ?>
</div> </div>