<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">

        <?php
        $menu = [
                [
                    'label' => 'WD Admin Panel',
                    'url' => 'home/index',
                    'options' => [
                            'class' => 'nav-header h3'
                    ],
                ],
                [
                    'label' => Yii::t('general', 'Dashboard'),
                    'url'  => 'site/home',
                    'icon'  => 'fa fa-th-large',
                    'options' =>
                        [
                            'class' => 'active',
                        ]
                ],
                [
                    'label' => Yii::t('general', 'Site tree'),
                    'url'  => 'site-tree/index',
                    'icon' => 'fa fa-sitemap',
                    'options' =>
                        [
                            'class' => '',
                        ]
                ],
                [
                    'label' => Yii::t('general', 'Languages and translations'),
                    'url'  => 'language/index',
                    'icon' => 'fa fa-language',
                    'options' =>
                        [
                            'class' => '',
                        ]
                ],
                [
                    'label' => Yii::t('general', 'Users and User Groups'),
                    'url'  => 'user/index',
                    'icon' => 'fa fa-users',
                    'options' =>
                        [
                            'class' => '',
                        ]
                ],
        ];
        ?>
        <?= wdigital\cms\inspinia\widgets\Menu::widget(
            [
                'options' => ['class' => 'nav metismenu', 'id'=>'side-menu'],
                'submenuTemplate' => "\n<ul class='nav nav-second-level collapse' {show}>\n{items}\n</ul>\n",
                'items' => $menu,
            ]
        ) ?>
    </div>
</nav>
