menu.phtml: Use ConfigMenu

This commit is contained in:
Florian Strohmaier 2022-05-10 11:57:50 +02:00
parent f1d79ffc66
commit c536ddb5d8
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
<?php
use Icinga\Web\Navigation\ConfigMenu;
use Icinga\Web\Widget\SearchDashboard;
$searchDashboard = new SearchDashboard();
@ -14,3 +15,6 @@ if ($searchDashboard->search('dummy')->getPane('search')->hasDashlets()): ?>
</form>
<?php endif; ?>
<?= $menuRenderer->setCssClass('primary-nav')->setElementTag('nav')->setHeading(t('Navigation')); ?>
<nav class="config-menu">
<?= new ConfigMenu() ?>
</nav>