You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
987 B

<?php
use blobt\widgets\Menu;
?>
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<?php
echo Menu::widget([
'items' => [
['label' => 'MAIN NAVIGATION', 'is_header' => true],
['label' => 'IndexController', 'url' => '#', 'icon' => 'fa-hand-o-right', 'items' => [
['label' => 'Index', 'url' => ['site/index', 'tag' => 'new']],
['label' => 'Test', 'url' => ['site/test']],
]
],
['label' => 'Category', 'url' => '#', 'icon' => 'fa-barcode', 'items' => [
['label' => 'List', 'url' => ['category/index', 'tag' => 'new']],
['label' => 'Create', 'url' => ['category/create', 'tag' => 'popular']],
]
]
]
]);
?>
</section>
<!-- /.sidebar -->
</aside>