Commit 29331fe8cc163b2ccb2bb525b8da5c02b98885dc
1 parent
6e1510b2
firs page
Showing
1 changed file
with
35 additions
and
32 deletions
Show diff stats
frontend/views/layouts/admin.php
@@ -7,37 +7,40 @@ use yii\widgets\Menu; | @@ -7,37 +7,40 @@ use yii\widgets\Menu; | ||
7 | /* @var $content string */ | 7 | /* @var $content string */ |
8 | $this->beginContent('@app/views/layouts/main.php'); | 8 | $this->beginContent('@app/views/layouts/main.php'); |
9 | ?> | 9 | ?> |
10 | - <div class="container"> | ||
11 | - <div class="left_block"> | ||
12 | - <?php | ||
13 | - echo Menu::widget([ | ||
14 | - 'options' => ['class' => 'nav nav-pills nav-stacked'], | ||
15 | - 'items' => [ | ||
16 | - ['label' => 'Вид камня', 'url' => ['type-of-stone/index']], | ||
17 | - ['label' => 'Цвета', 'url' => ['colors/index']], | ||
18 | - ['label' => 'Страна', 'url' => ['country/index']], | ||
19 | - ['label' => 'Категории', 'url' => ['category/index' ]], | ||
20 | - ['label' => 'Камень', 'url' => ['stone/index']], | ||
21 | - ['label' => 'Изделия', 'url' => ['goods/index']], | ||
22 | - ['label' => 'Услуги', 'url' => ['standard-services/index']], | ||
23 | - ['label' => 'Статьи', 'url' => ['articles/index']], | ||
24 | - ['label' => 'Акции', 'url' => ['events/index'],], | ||
25 | - ['label' => 'Статические страницы', 'url' => ['page/index']], | ||
26 | - //['label' => 'Заказы', 'url' => ['order/index']], | ||
27 | - ['label' => 'Консультация', 'url' => ['quick-order/index']], | ||
28 | - //['label' => 'Обратный звонок', 'url' => ['callback/index']], | ||
29 | - ['label' => 'Запрос "Подробнее"', 'url' => ['details-request/index']], | ||
30 | - ['label' => 'Подписки', 'url' => ['subscribe/index']], | ||
31 | - ['label' => 'SEO', 'url' => ['seo-data/index']], | ||
32 | - ], | ||
33 | - ]); | ||
34 | - ?> | 10 | + <div class="wrap"> |
11 | + <div class="container"> | ||
12 | + <div class="left_block"> | ||
13 | + <?php | ||
14 | + echo Menu::widget([ | ||
15 | + 'options' => ['class' => 'nav nav-pills nav-stacked'], | ||
16 | + 'items' => [ | ||
17 | + ['label' => 'Вид камня', 'url' => ['type-of-stone/index']], | ||
18 | + ['label' => 'Цвета', 'url' => ['colors/index']], | ||
19 | + ['label' => 'Страна', 'url' => ['country/index']], | ||
20 | + ['label' => 'Категории', 'url' => ['category/index' ]], | ||
21 | + ['label' => 'Камень', 'url' => ['stone/index']], | ||
22 | + ['label' => 'Изделия', 'url' => ['goods/index']], | ||
23 | + ['label' => 'Услуги', 'url' => ['standard-services/index']], | ||
24 | + ['label' => 'Статьи', 'url' => ['articles/index']], | ||
25 | + ['label' => 'Акции', 'url' => ['events/index'],], | ||
26 | + ['label' => 'Статические страницы', 'url' => ['page/index']], | ||
27 | + //['label' => 'Заказы', 'url' => ['order/index']], | ||
28 | + ['label' => 'Консультация', 'url' => ['quick-order/index']], | ||
29 | + //['label' => 'Обратный звонок', 'url' => ['callback/index']], | ||
30 | + ['label' => 'Запрос "Подробнее"', 'url' => ['details-request/index']], | ||
31 | + ['label' => 'Подписки', 'url' => ['subscribe/index']], | ||
32 | + ['label' => 'SEO', 'url' => ['seo-data/index']], | ||
33 | + ], | ||
34 | + ]); | ||
35 | + ?> | ||
36 | + </div> | ||
37 | + <div class="right_block"> | ||
38 | + <?= Breadcrumbs::widget([ | ||
39 | + 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], | ||
40 | + ]) ?> | ||
41 | + <!-- --><?//= $content ?> | ||
42 | + </div> | ||
35 | </div> | 43 | </div> |
36 | - <div class="right_block"> | ||
37 | - <?= Breadcrumbs::widget([ | ||
38 | - 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], | ||
39 | - ]) ?> | ||
40 | -<!-- --><?//= $content ?> | ||
41 | - </div> | ||
42 | - </div> | 44 | +</div> |
45 | + | ||
43 | <?php $this->endContent() ?> | 46 | <?php $this->endContent() ?> |
44 | \ No newline at end of file | 47 | \ No newline at end of file |