1755c393
Yarik
Basic template in...
|
1
|
<?php
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
2
3
|
/**
|
567888e8
Yarik
Widgets
|
4
|
* @var string $content
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
5
6
7
|
* @var \yii\web\View $this
*/
|
567888e8
Yarik
Widgets
|
8
|
use artweb\artbox\core\models\User;
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
9
|
use yii\helpers\Html;
|
b313037a
Alexey Boroda
-Flesh widget ready
|
10
|
use yii\web\View;
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
11
12
|
$bundle = yiister\gentelella\assets\Asset::register($this);
|
567888e8
Yarik
Widgets
|
13
14
15
16
|
/**
* @var User $user
*/
$user = \Yii::$app->user->identity;
|
1755c393
Yarik
Basic template in...
|
17
|
?>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
18
|
<?php $this->beginPage(); ?>
|
1755c393
Yarik
Basic template in...
|
19
20
|
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
|
1755c393
Yarik
Basic template in...
|
21
|
<head>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
22
23
24
25
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="<?= Yii::$app->charset ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
1755c393
Yarik
Basic template in...
|
26
|
<?= Html::csrfMetaTags() ?>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
27
|
<title><?= Html::encode($this->title) ?></title>
|
1755c393
Yarik
Basic template in...
|
28
|
<?php $this->head() ?>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
29
30
31
32
33
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
|
1755c393
Yarik
Basic template in...
|
34
|
</head>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
35
36
37
38
39
40
41
42
43
44
|
<body class="nav-md">
<?php $this->beginBody(); ?>
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
|
ec08c1f0
Yarik
Merge remote-trac...
|
45
|
<a href="/" class="site_title"><i class="fa fa-rocket"></i> <span>Artbox!</span></a>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
</div>
<div class="clearfix"></div>
<!-- menu prile quick info -->
<div class="profile">
<div class="profile_pic">
<img src="http://placehold.it/128x128" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
<h2>John Doe</h2>
</div>
</div>
<!-- /menu prile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>General</h3>
<?=
\yiister\gentelella\widgets\Menu::widget(
[
"items" => [
["label" => "Home", "url" => "/", "icon" => "home"],
["label" => "Layout", "url" => ["site/layout"], "icon" => "files-o"],
["label" => "Error page", "url" => ["site/error-page"], "icon" => "close"],
[
"label" => "Widgets",
"icon" => "th",
"url" => "#",
"items" => [
["label" => "Menu", "url" => ["site/menu"]],
["label" => "Panel", "url" => ["site/panel"]],
],
],
[
"label" => "Badges",
"url" => "#",
"icon" => "table",
"items" => [
[
"label" => "Default",
"url" => "#",
"badge" => "123",
],
[
"label" => "Success",
"url" => "#",
"badge" => "new",
"badgeOptions" => ["class" => "label-success"],
],
[
"label" => "Danger",
"url" => "#",
"badge" => "!",
"badgeOptions" => ["class" => "label-danger"],
],
],
],
[
"label" => "Multilevel",
"url" => "#",
"icon" => "table",
"items" => [
[
"label" => "Second level 1",
"url" => "#",
],
[
"label" => "Second level 2",
"url" => "#",
"items" => [
[
"label" => "Third level 1",
"url" => "#",
],
[
"label" => "Third level 2",
"url" => "#",
],
],
],
],
],
],
]
)
?>
</div>
</div>
<!-- /sidebar menu -->
|
b313037a
Alexey Boroda
-Flesh widget ready
|
141
|
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
142
|
</div>
|
1755c393
Yarik
Basic template in...
|
143
|
</div>
|
1755c393
Yarik
Basic template in...
|
144
|
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
145
146
147
148
149
150
151
152
153
154
155
156
|
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav class="" role="navigation">
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
|
b313037a
Alexey Boroda
-Flesh widget ready
|
157
|
<img src="http://placehold.it/128x128" alt=""><?=Yii::$app->user->identity->username?>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
158
159
160
|
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
161
|
<li>
|
b313037a
Alexey Boroda
-Flesh widget ready
|
162
|
<a href="#"><i class="fa fa-user pull-right"></i> Profile</a>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
163
164
|
</li>
<li>
|
b313037a
Alexey Boroda
-Flesh widget ready
|
165
166
167
168
|
<?= Html::a(
Html::tag('i', '', [ 'class' => 'fa fa-cogs pull-right' ]) . ' Settings',
[ '/settings' ]
) ?>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
169
170
|
</li>
<li>
|
b313037a
Alexey Boroda
-Flesh widget ready
|
171
172
173
174
175
176
177
|
<?= Html::a(
Html::tag('i', '', [ 'class' => 'fa fa-sign-out pull-right' ]) . ' Log out',
[ '/site/logout' ],
[
'data-method' => 'POST',
]
) ?>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
178
179
180
|
</li>
</ul>
</li>
|
567888e8
Yarik
Widgets
|
181
|
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
182
183
184
|
</ul>
</nav>
</div>
|
1755c393
Yarik
Basic template in...
|
185
|
|
1755c393
Yarik
Basic template in...
|
186
|
</div>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
187
|
<!-- /top navigation -->
|
1755c393
Yarik
Basic template in...
|
188
|
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
189
190
191
192
193
194
195
196
197
198
199
200
|
<!-- page content -->
<div class="right_col" role="main">
<?php if (isset($this->params['h1'])): ?>
<div class="page-title">
<div class="title_left">
<h1><?= $this->params['h1'] ?></h1>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
201
202
|
<button class="btn btn-default" type="button">Go!</button>
</span>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
203
|
</div>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
204
|
</div>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
205
|
</div>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
206
207
208
|
</div>
<?php endif; ?>
<div class="clearfix"></div>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
209
|
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
|
<?= $content ?>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com" rel="nofollow" target="_blank">Colorlib</a><br />
Extension for Yii framework 2 by <a href="http://yiister.ru" rel="nofollow" target="_blank">Yiister</a>
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
|
ec08c1f0
Yarik
Merge remote-trac...
|
226
227
228
229
230
231
|
<div id="custom_notifications" class="custom-notifications dsp_none">
<ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
</ul>
<div class="clearfix"></div>
<div id="notif-group" class="tabbed_notifications"></div>
</div>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
232
233
|
<!-- /footer content -->
<?php $this->endBody(); ?>
|
1755c393
Yarik
Basic template in...
|
234
|
</body>
|
1755c393
Yarik
Basic template in...
|
235
|
</html>
|
b66c9c5a
Alexey Boroda
-Admin template s...
|
236
|
<?php $this->endPage(); ?>
|