Fix some .phtml indentation issues

This commit is contained in:
Johannes Meyer 2019-12-06 15:32:07 +01:00
parent 9acd45df13
commit 2cc90e0a5a
2 changed files with 12 additions and 5 deletions

View File

@ -29,7 +29,7 @@ if ($this->layout()->inlineLayout) {
</div>
</div>
<div id="content-wrapper">
<?php if (! $this->layout()->isIframe): ?>
<?php if (! $this->layout()->isIframe): ?>
<div id="sidebar">
<div id="header-logo-container">
<?= $this->qlink(
@ -48,10 +48,17 @@ if ($this->layout()->inlineLayout) {
</div>
<?= $this->render('parts/navigation.phtml'); ?>
</div>
<?php endif ?>
<?php endif ?>
<div id="main" role="main">
<div id="col1" class="container<?= $moduleClass ?>"<?php if ($moduleName): ?> data-icinga-module="<?= $moduleName ?>" <?php endif ?> data-icinga-url="<?= $this->escape(Url::fromRequest()->without('renderLayout')->getAbsoluteUrl()); ?>"<?= $refresh; ?>>
<?= $this->render($inlineLayoutScript) ?>
<div id="col1"
class="container<?= $moduleClass ?>"
<?php if ($moduleName): ?>
data-icinga-module="<?= $moduleName ?>"
<?php endif ?>
data-icinga-url="<?= $this->escape(Url::fromRequest()->without('renderLayout')->getAbsoluteUrl()); ?>"
<?= $refresh; ?>
>
<?= $this->render($inlineLayoutScript) ?>
</div>
<div id="col2" class="container"></div>
<div id="col3" class="container"></div>

View File

@ -19,7 +19,7 @@ if (! $this->auth()->isAuthenticated()) {
</li>
</ul>
</div>
<div id="menu" data-last-update="-1" data-base-target="_main" class="container"
<div id="menu" data-last-update="-1" data-base-target="_main" class="container"
data-icinga-url="<?= $this->href('layout/menu') ?>" data-icinga-refresh="15">
<?= $this->partial(
'layout/menu.phtml',