Remove unncessary controls in the shared navigation overview

This commit is contained in:
Eric Lippmann 2015-11-03 13:01:53 +01:00
parent d69ecd4bbf
commit 9439b4a10f
1 changed files with 5 additions and 14 deletions

View File

@ -3,27 +3,18 @@
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">
<?= $this->limiter ?>
</div>
<div class="col-1-3">
<?= $this->paginator ?>
</div>
<div class="col-1-3 text-right">
<?= $this->sortBox ?>
</div>
<div class="grid">
<?= $this->sortBox ?>
</div>
<?= $this->filterEditor; ?>
</div>
<?php endif ?>
<div class="content" data-base-target="_next">
<?php if (count($items) === 0): ?>
<p><?= $this->translate('There are currently no navigation items being shared'); ?></p>
<?php else: ?>
<table class="action alternating">
<table class="action-table listing-table">
<thead>
<th><?= $this->translate('Shared Navigation'); ?></th>
<th style="width: 10em"><?= $this->translate('Type'); ?></th>
@ -74,4 +65,4 @@ if (! $this->compact): ?>
</tbody>
</table>
<?php endif ?>
</div>
</div>