mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
body.phtml: Use MobileConfigMenu
This commit is contained in:
parent
db8ddd5637
commit
d4fdb8d491
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use Icinga\Web\Navigation\Mobile\MobileConfigMenu;
|
||||
use Icinga\Web\Navigation\Mobile\MobileNavigation;
|
||||
use Icinga\Web\Url;
|
||||
use Icinga\Web\Notification;
|
||||
@ -46,12 +47,13 @@ if ($this->layout()->inlineLayout) {
|
||||
)
|
||||
); ?>
|
||||
</div>
|
||||
<form id="mobile-searchbar" class="search-control">
|
||||
<input type="search" placeholder="Search everyhing …">
|
||||
<form id="mobile-searchbar" action="<?= $this->href('search') ?>" method="get" role="search" class="search-control">
|
||||
<input type="text" name="q" id="search" class="search search-input" required
|
||||
placeholder="<?= $this->translate('Search everything') ?> …"
|
||||
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
|
||||
<button class="search-reset icon-cancel" type="reset"></button>
|
||||
</form>
|
||||
<div id="mobile-user-menu">
|
||||
<i class="user-ball">i</i>
|
||||
</div>
|
||||
<?= new MobileConfigMenu() ?>
|
||||
<?= $this->render('parts/navigation.phtml'); ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user