<aside class="main-sidebar">

    <section class="sidebar">
        <!-- /.search form -->

        <?= dmstr\widgets\Menu::widget(
            [
                'options' => ['class' => 'sidebar-menu'],
                'items' => [
                    ['label' => '控制台', 'icon' => 'dashboard', 'url' => ['/site']],
                    ['label' => '关于我们', 'icon' => 'dot-circle-o', 'url' => ['/about']],
                    [
                        'label' => '新闻管理',
                        'icon' => 'dot-circle-o',
                        'url' => '#',
                        'items' => [
                            ['label' => '新闻列表', 'icon' => 'circle-o', 'url' => ['/article'],],
                            ['label' => '新闻分类', 'icon' => 'circle-o', 'url' => ['/article-category'],],
                        ],
                    ],
                    [
                        'label' => '产品管理',
                        'icon' => 'dot-circle-o',
                        'url' => '#',
                        'items' => [
                            ['label' => '产品列表', 'icon' => 'circle-o', 'url' => ['/product'],],
                            ['label' => '产品分类', 'icon' => 'circle-o', 'url' => ['/product-category'],],
                        ],
                    ],
                    ['label' => '招贤纳士', 'icon' => 'dot-circle-o', 'url' => ['/job']],
                    ['label' => '友情链接', 'icon' => 'dot-circle-o', 'url' => ['/link']],
                    [
                        'label' => '广告管理',
                        'icon' => 'dot-circle-o',
                        'url' => '#',
                        'items' => [
                            ['label' => '广告', 'icon' => 'circle-o', 'url' => ['/ad'],],
                            ['label' => '广告位', 'icon' => 'circle-o', 'url' => ['/ad-category'],],
                        ],
                    ],
                    [
                        'label' => '系统',
                        'icon' => 'dot-circle-o',
                        'url' => '#',
                        'items' => [
                            ['label' => '基本配置', 'icon' => 'circle-o', 'url' => ['/sys'],],
                            ['label' => '七牛云存储', 'icon' => 'circle-o', 'url' => ['/qiniu'],],
                            ['label' => '路由配置', 'icon' => 'circle-o', 'url' => ['/route'],],
                            ['label' => '页面缓存', 'icon' => 'circle-o', 'url' => ['/pagecache'],],
                            ['label' => '数据备份', 'icon' => 'circle-o', 'url' => ['/database'],],
                            ['label' => '在线客服', 'icon' => 'circle-o', 'url' => ['/custom-service'],],
                            ['label' => '管理员', 'icon' => 'circle-o', 'url' => ['/manager'],],
                        ],
                    ],
                ],
            ]
        ) ?>

    </section>

</aside>
