Remove control separation in the host and service detail views

refs #13187
This commit is contained in:
Eric Lippmann 2016-11-14 13:41:06 +01:00
parent 4a254f5b33
commit 76fb506a89
2 changed files with 4 additions and 7 deletions

View File

@ -1,16 +1,14 @@
<?php use Icinga\Data\Filter\Filter; ?> <?php use Icinga\Data\Filter\Filter; ?>
<div class="controls">
<div class="controls separated">
<?php if (! $this->compact): ?> <?php if (! $this->compact): ?>
<?= $this->tabs ?> <?= $this->tabs ?>
<?php endif ?> <?php endif ?>
<?= $this->render('partials/object/host-header.phtml') ?> <?= $this->render('partials/object/host-header.phtml') ?>
<?php <?php
$this->stats = $object->stats; $this->stats = $object->stats;
$this->baseFilter = Filter::where('host', $object->host_name); $this->baseFilter = Filter::where('host', $object->host_name);
echo $this->render('list/components/servicesummary.phtml'); echo $this->render('list/components/servicesummary.phtml');
?> ?>
<?= $this->render('partials/object/quick-actions.phtml') ?> <?= $this->render('partials/object/quick-actions.phtml') ?>
</div> </div>
<?= $this->render('partials/object/detail-content.phtml') ?> <?= $this->render('partials/object/detail-content.phtml') ?>

View File

@ -1,9 +1,8 @@
<div class="controls separated"> <div class="controls">
<?php if (! $this->compact): ?> <?php if (! $this->compact): ?>
<?= $this->tabs ?> <?= $this->tabs ?>
<?php endif ?> <?php endif ?>
<?= $this->render('partials/object/service-header.phtml') ?> <?= $this->render('partials/object/service-header.phtml') ?>
<?= $this->render('partials/object/quick-actions.phtml') ?> <?= $this->render('partials/object/quick-actions.phtml') ?>
</div> </div>
<?= $this->render('partials/object/detail-content.phtml') ?> <?= $this->render('partials/object/detail-content.phtml') ?>