Blame view

backend/views/layouts/admin.php 1.02 KB
4253cbec   root   first commit
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
  <?php

  use yii\widgets\Breadcrumbs;

  use common\widgets\Alert;

  

  /* @var $content string */

  $this->beginContent('@app/views/layouts/main.php');

  ?>

  

      <?= $this->render('header') ?>

      <!-- Left side column. contains the logo and sidebar -->

      <?= $this->render('main-sidebar') ?>

  

      <!-- Content Wrapper. Contains page content -->

      <div class="content-wrapper">

          <section class="content">

              <?= Breadcrumbs::widget([

                  'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],

              ]) ?>

              <?= Alert::widget() ?>

  

              <?= $content; ?>

          </section>

      </div><!-- /.content-wrapper -->

      <?= $this->render('footer') ?>

  

  

  

      <!-- Control Sidebar -->

      <?= $this->render('control-sidebar') ?>

      <!-- /.control-sidebar -->

      <!-- Add the sidebar's background. This div must be placed

           immediately after the control sidebar -->

      <div class="control-sidebar-bg"></div>

  <?php $this->endContent() ?>