8df80521
Alexander Karnovsky
not fixed commite
|
1
2
3
4
5
6
7
|
<?php
use yii\widgets\Menu;
?>
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
|
8df80521
Alexander Karnovsky
not fixed commite
|
8
9
10
11
12
13
14
15
16
17
|
<!-- search form -->
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
|
8e38935a
Administrator
24.03.16 finish 1
|
18
|
<!-- /.search form -->
|
8df80521
Alexander Karnovsky
not fixed commite
|
19
20
21
22
23
24
25
|
<?=
Menu::widget([
'options' => ['class' => 'sidebar-menu'],
'submenuTemplate' => "\n<ul class='treeview-menu'>\n{items}\n</ul>\n",
'items' => [
['label' => 'MAIN NAVIGATION', 'options'=>['class'=>'header']],
|
290fae5b
Administrator
25.03.16 finish 1
|
26
|
['label' => 'Заказы', 'url' => ['/orders/index'], 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-shopping-cart"></i> <span>{label}</span></a>'],
|
8df80521
Alexander Karnovsky
not fixed commite
|
27
28
|
[
'label' => 'Products',
|
8e38935a
Administrator
24.03.16 finish 1
|
29
|
'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-barcode"></i> <span>{label}</span></a>',
|
8df80521
Alexander Karnovsky
not fixed commite
|
30
31
32
33
34
35
36
37
|
'url' => ['/product/manage'],
'items' => [
['label' => 'Товары', 'url' => ['/product/manage']],
['label' => 'Категории', 'url' => ['/category']],
['label' => 'Бренды', 'url' => ['/brand']],
]
],
[
|
8774e5a3
Administrator
31.03.16 finish 1
|
38
39
40
41
42
43
44
45
|
'label' => 'Слайдер/Банеры',
'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-barcode"></i> <span>{label}</span></a>',
'items' => [
['label' => 'Слайдер', 'url' => ['/slider/index']],
['label' => 'Банер', 'url' => ['/banner/index']],
]
],
[
|
8df80521
Alexander Karnovsky
not fixed commite
|
46
|
'label' => 'Характеристики',
|
8e38935a
Administrator
24.03.16 finish 1
|
47
|
'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-search"></i> <span>{label}</span></a>',
|
8df80521
Alexander Karnovsky
not fixed commite
|
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
'url' => ['/rubrication/tax-group'],
'items' => [
['label' => 'Характеристики', 'url' => ['/rubrication/tax-group']],
['label' => 'Зависимости', 'url' => ['/relation/manage']]
]
],
// ['label' => 'Rubrication', 'url' => ['/rubrication/tax-group']],
// ['label' => 'Relation', 'url' => ['/relation/manage']],
],
]);
?>
<!-- sidebar menu: : style can be found in sidebar.less -->
</section>
<!-- /.sidebar -->
</aside>
|