Blame view

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