6e1510b2
Administrator
firs page
|
1
2
|
<?php
|
ec94728d
Yarik
test
|
3
|
use common\components\Request;
|
6f63eee1
Yarik
test
|
4
|
use yii\base\View;
|
6e1510b2
Administrator
firs page
|
5
6
7
|
use yii\widgets\Menu;
\frontend\assets\AdminAsset::register($this);
|
6f63eee1
Yarik
test
|
8
9
10
11
|
/**
* @var string $content
* @var View $this
*/
|
6e1510b2
Administrator
firs page
|
12
13
|
$this->beginContent('@app/views/layouts/main.php');
?>
|
d8e2d677
Виталий
tokar commit
|
14
|
<div class="section-box admin-page">
|
51e0a262
Yarik
test
|
15
16
|
<div class="box-wr">
<div class="box-all">
|
d8e2d677
Виталий
tokar commit
|
17
18
19
|
<div class="login-right-column">
<div class="admin-my-page">Моя страница</div>
<?php
|
51e0a262
Yarik
test
|
20
21
|
echo Menu::widget([
'options' => [
|
d8e2d677
Виталий
tokar commit
|
22
|
'class' => 'menu-admin',
|
51e0a262
Yarik
test
|
23
|
],
|
d8e2d677
Виталий
tokar commit
|
24
|
'activeCssClass' => 'active-menu-admin',
|
51e0a262
Yarik
test
|
25
26
|
'items' => [
[
|
d8e2d677
Виталий
tokar commit
|
27
|
'label' => 'Учетные данные',
|
51e0a262
Yarik
test
|
28
|
'url' => ['accounts/general'],
|
9cc0b7e4
Виталий
tokar commit
|
29
|
'options' => ['class' => 'admin-menu-icons admin-menu-ico-1',],
|
51e0a262
Yarik
test
|
30
31
|
],
[
|
51e0a262
Yarik
test
|
32
33
34
35
36
37
38
39
|
'label' => 'Контакты',
'url' => ['accounts/contacts'],
],
[
'label' => 'Услуги',
'url' => ['accounts/service'],
],
[
|
d8e2d677
Виталий
tokar commit
|
40
|
'label' => 'Трудовой стаж',
|
b95371cf
Yarik
test
|
41
|
'url' => ['accounts/employment'],
|
d8e2d677
Виталий
tokar commit
|
42
43
|
],
[
|
51e0a262
Yarik
test
|
44
45
46
47
|
'label' => 'Дополнительные навыки',
'url' => ['accounts/add-skills'],
],
[
|
d8e2d677
Виталий
tokar commit
|
48
|
'label' => 'Описание',
|
b95371cf
Yarik
test
|
49
|
'url' => ['accounts/description'],
|
d8e2d677
Виталий
tokar commit
|
50
51
52
53
|
],
[
'label' => 'Команда',
|
b95371cf
Yarik
test
|
54
|
'url' => ['accounts/team'],
|
6f63eee1
Yarik
test
|
55
|
'active' => preg_match('/^team.*$/', $this->context->action->id)?true:false,
|
d8e2d677
Виталий
tokar commit
|
56
57
58
59
|
],
[
'label' => 'Вакансии',
|
b95371cf
Yarik
test
|
60
|
'url' => ['accounts/vacancy'],
|
6f63eee1
Yarik
test
|
61
|
'active' => preg_match('/^vacancy.*$/', $this->context->action->id)?true:false,
|
d8e2d677
Виталий
tokar commit
|
62
63
64
|
],
[
'label' => 'Ваши проекты',
|
b95371cf
Yarik
test
|
65
|
'url' => ['accounts/projects'],
|
6f63eee1
Yarik
test
|
66
|
'active' => preg_match('/^projects.*$/', $this->context->action->id)?true:false,
|
d8e2d677
Виталий
tokar commit
|
67
68
69
|
],
[
'label' => 'Портфолио',
|
b95371cf
Yarik
test
|
70
|
'url' => ['accounts/portfolio'],
|
6f63eee1
Yarik
test
|
71
|
'active' => preg_match('/^portfolio.*$/', $this->context->action->id)?true:false,
|
51e0a262
Yarik
test
|
72
|
],
|
d8e2d677
Виталий
tokar commit
|
73
|
|
51e0a262
Yarik
test
|
74
|
[
|
d8e2d677
Виталий
tokar commit
|
75
|
'label' => 'Блог',
|
b95371cf
Yarik
test
|
76
|
'url' => ['accounts/blog'],
|
6f63eee1
Yarik
test
|
77
|
'active' => preg_match('/^blog.*$/', $this->context->action->id)?true:false,
|
51e0a262
Yarik
test
|
78
79
|
],
[
|
a3a1f00a
Administrator
09.02.16
|
80
81
|
'label' => 'Галерея Изображения',
'url' => ['accounts/gallery'],
|
6f63eee1
Yarik
test
|
82
|
'active' => preg_match('/^gallery(?!-video).*$/', $this->context->action->id)?true:false,
|
a3a1f00a
Administrator
09.02.16
|
83
84
85
86
|
],
[
'label' => 'Галерея Видео',
'url' => ['accounts/gallery-video'],
|
51e0a262
Yarik
test
|
87
|
],
|
bf9aa90f
Administrator
add Vitaliy's wid...
|
88
|
[
|
d8e2d677
Виталий
tokar commit
|
89
|
'label' => 'Сообщения',
|
b95371cf
Yarik
test
|
90
|
'url' => ['chat/list'],
|
9cc0b7e4
Виталий
tokar commit
|
91
|
'options' => ['class' => 'admin-menu-icons admin-menu-ico-2',],
|
d8e2d677
Виталий
tokar commit
|
92
93
94
|
],
[
'label' => 'Уведомления о проектах',
|
d02fd466
Yarik
test
|
95
|
'url' => ['/projects'],
|
d8e2d677
Виталий
tokar commit
|
96
97
98
|
],
[
'label' => 'Закладки',
|
b95371cf
Yarik
test
|
99
|
'url' => ['accounts/bookmarks'],
|
9cc0b7e4
Виталий
tokar commit
|
100
|
'options' => ['class' => 'admin-menu-icons admin-menu-ico-3',],
|
d8e2d677
Виталий
tokar commit
|
101
102
103
104
|
],
[
'label' => 'Настройка аккаунта',
'url' => ['accounts/setting'],
|
9cc0b7e4
Виталий
tokar commit
|
105
|
'options' => ['class' => 'admin-menu-icons admin-menu-ico-4',],
|
d8e2d677
Виталий
tokar commit
|
106
107
|
],
[
|
bf9aa90f
Administrator
add Vitaliy's wid...
|
108
|
'label' => 'Выход',
|
d8e2d677
Виталий
tokar commit
|
109
|
'options' => ['class'=>'logout-li'],
|
bf9aa90f
Administrator
add Vitaliy's wid...
|
110
111
|
'url' => ['/site/logout']
],
|
d8e2d677
Виталий
tokar commit
|
112
113
114
115
116
|
// [
// 'label' => 'Общее',
// 'options' => ['class'=>'test'],
// 'url' => ['accounts/general'],
// ],
|
51e0a262
Yarik
test
|
117
118
|
],
]);
|
d8e2d677
Виталий
tokar commit
|
119
120
121
122
123
124
125
|
?>
</div>
<div class="login-left-column">
<?= $content ?>
</div>
|
51e0a262
Yarik
test
|
126
127
128
|
</div>
</div>
</div>
|
34ca0fa2
Administrator
firs page
|
129
|
|
6e1510b2
Administrator
firs page
|
130
|
<?php $this->endContent() ?>
|