Navigation: Remove menu-container wrapper

This commit is contained in:
Florian Strohmaier 2019-07-03 16:20:10 +02:00 committed by Johannes Meyer
parent b819dd6881
commit d2187c3716
1 changed files with 9 additions and 11 deletions

View File

@ -19,8 +19,7 @@ if (! $this->auth()->isAuthenticated()) {
</li> </li>
</ul> </ul>
</div> </div>
<div id="menu-container"> <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"> data-icinga-url="<?= $this->href('layout/menu') ?>" data-icinga-refresh="15">
<?= $this->partial( <?= $this->partial(
'layout/menu.phtml', 'layout/menu.phtml',
@ -29,7 +28,6 @@ if (! $this->auth()->isAuthenticated()) {
'menuRenderer' => (new Menu())->getRenderer()->setUseStandardItemRenderer() 'menuRenderer' => (new Menu())->getRenderer()->setUseStandardItemRenderer()
) )
) ?> ) ?>
</div>
</div> </div>
<button id="toggle-sidebar" title="<?= $this->translate('Toggle Menu') ?>"> <button id="toggle-sidebar" title="<?= $this->translate('Toggle Menu') ?>">
<i id="close-sidebar" class="icon-angle-double-left"></i> <i id="close-sidebar" class="icon-angle-double-left"></i>