mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
body.html: Use MobileNavigation
This commit is contained in:
parent
d9eda70ea7
commit
81b4163947
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Icinga\Web\Navigation\Mobile\MobileNavigation;
|
||||||
use Icinga\Web\Url;
|
use Icinga\Web\Url;
|
||||||
use Icinga\Web\Notification;
|
use Icinga\Web\Notification;
|
||||||
use Icinga\Authentication\Auth;
|
use Icinga\Authentication\Auth;
|
||||||
@ -44,9 +45,12 @@ if ($this->layout()->inlineLayout) {
|
|||||||
'id' => 'header-logo'
|
'id' => 'header-logo'
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
<div id="mobile-menu-toggle">
|
</div>
|
||||||
<button type="button"><?= $this->icon('menu') ?><?= $this->icon('cancel') ?></button>
|
<div id="mobile-searchbar">
|
||||||
</div>
|
<input type="search">
|
||||||
|
</div>
|
||||||
|
<div id="mobile-user-menu">
|
||||||
|
<i class="user-ball">i</i>
|
||||||
</div>
|
</div>
|
||||||
<?= $this->render('parts/navigation.phtml'); ?>
|
<?= $this->render('parts/navigation.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
@ -68,7 +72,6 @@ if ($this->layout()->inlineLayout) {
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<ul role="alert" id="notifications"><?php
|
<ul role="alert" id="notifications"><?php
|
||||||
|
|
||||||
$notifications = Notification::getInstance();
|
$notifications = Notification::getInstance();
|
||||||
if ($notifications->hasMessages()) {
|
if ($notifications->hasMessages()) {
|
||||||
foreach ($notifications->popMessages() as $m) {
|
foreach ($notifications->popMessages() as $m) {
|
||||||
@ -96,3 +99,4 @@ if ($this->layout()->inlineLayout) {
|
|||||||
?></ul>
|
?></ul>
|
||||||
<div id="application-state-summary" class="container" data-icinga-url="<?= $this->url('application-state/summary') ?>" data-last-update="-1" data-icinga-refresh="60"></div>
|
<div id="application-state-summary" class="container" data-icinga-url="<?= $this->url('application-state/summary') ?>" data-last-update="-1" data-icinga-refresh="60"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<?= new MobileNavigation() ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user