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; ?>
<div class="controls separated">
<div class="controls">
<?php if (! $this->compact): ?>
<?= $this->tabs ?>
<?php endif ?>
<?= $this->render('partials/object/host-header.phtml') ?>
<?php
<?php
$this->stats = $object->stats;
$this->baseFilter = Filter::where('host', $object->host_name);
echo $this->render('list/components/servicesummary.phtml');
?>
?>
<?= $this->render('partials/object/quick-actions.phtml') ?>
</div>
<?= $this->render('partials/object/detail-content.phtml') ?>

View File

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