Remove the command-spacer

This commit is contained in:
Eric Lippmann 2016-11-24 11:37:47 +01:00
parent bd5a2ebaa3
commit c33816f6a5
3 changed files with 20 additions and 28 deletions

View File

@ -1,21 +1,17 @@
<?php use Icinga\Data\Filter\Filter; ?> <?php use Icinga\Data\Filter\Filter; ?>
<div class="controls"> <div class="controls">
<?php if (! $this->compact): ?> <?php if (! $this->compact): ?>
<?= $this->tabs; ?> <?= $this->tabs ?>
<?php endif ?> <?php endif ?>
<?php if ($object->getType() === $object::TYPE_HOST): ?> <?php if ($object->getType() === $object::TYPE_HOST) {
<?= $this->render('partials/object/host-header.phtml'); ?> echo $this->render('partials/object/host-header.phtml');
<?php
$this->baseFilter = Filter::where('host', $object->host_name); $this->baseFilter = Filter::where('host', $object->host_name);
$this->stats = $object->stats; $this->stats = $object->stats;
echo $this->render('list/components/servicesummary.phtml'); echo $this->render('list/components/servicesummary.phtml');
?> } else {
<?php else: ?> echo $this->render('partials/object/service-header.phtml');
<?= $this->render('partials/object/service-header.phtml'); ?> } ?>
<hr class="command-separator">
<?php endif ?>
</div> </div>
<div class="content object-command"> <div class="content object-command">
<?= $form; ?> <?= $form ?>
</div> </div>

View File

@ -1,19 +1,15 @@
<div class="controls"> <div class="controls">
<?php if (! $this->compact): ?> <?php if (! $this->compact): ?>
<?= $tabs; ?> <?= $tabs ?>
<?php endif ?> <?php endif ?>
<?php if (isset($serviceStates)): ?> <?php if (isset($serviceStates)): ?>
<?= $this->render('list/components/servicesummary.phtml'); ?> <?= $this->render('list/components/servicesummary.phtml') ?>
<?= $this->render('partials/service/objects-header.phtml'); ?> <?= $this->render('partials/service/objects-header.phtml') ?>
<?php else: ?> <?php else: ?>
<?= $this->render('list/components/hostssummary.phtml') ?> <?= $this->render('list/components/hostssummary.phtml') ?>
<?= $this->render('partials/host/objects-header.phtml'); ?> <?= $this->render('partials/host/objects-header.phtml') ?>
<?php endif ?> <?php endif ?>
</div> </div>
<div class="content objects-command"> <div class="content objects-command">
<hr class="command-separator"> <?= $form ?>
<?= $form; ?>
</div> </div>

View File

@ -102,7 +102,7 @@
} }
#layout.twocols #col2 { #layout.twocols #col2 {
border-left: 1px solid @gray-light; border-left: 1px solid @gray-lighter;
display: block; display: block;
} }