1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- /* @var $this \yii\web\View */
- /* @var $content string */
- use yii\helpers\Html;
- \hail812\adminlte3\assets\FontAwesomeAsset::register($this);
- \hail812\adminlte3\assets\AdminLteAsset::register($this);
- @app\modules\manager\assets\AdminAsset::register($this);
- $this->registerCssFile('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback');
- $assetDir = Yii::$app->assetManager->getPublishedUrl('@vendor/almasaeed2010/adminlte/dist');
- $publishedRes = Yii::$app->assetManager->publish('@vendor/hail812/yii2-adminlte3/src/web/js');
- $this->registerJsFile($publishedRes[1].'/control_sidebar.js', ['depends' => '\hail812\adminlte3\assets\AdminLteAsset']);
- $profile = Yii::$app->user->identity->profile;
- ?>
- <?php $this->beginPage() ?>
- <!DOCTYPE html>
- <html lang="<?= Yii::$app->language ?>">
- <head>
- <meta charset="<?= Yii::$app->charset ?>">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <?php $this->registerCsrfMetaTags() ?>
- <title><?= Html::encode($this->title) ?></title>
- <?php $this->head() ?>
- <link href="/components/admin/select2/css/select2.css" rel="stylesheet" />
- <script src="/components/admin/select2/js/select2.min.js"></script>
- <script src="/components/admin/select2/js/i18n/ru.js"></script>
- </head>
- <body class="hold-transition layout-fixed">
- <?php $this->beginBody() ?>
- <div class="wrapper">
- <!-- Navbar -->
- <?= $this->render('navbar', ['assetDir' => $assetDir]) ?>
- <!-- /.navbar -->
- <!-- Main Sidebar Container -->
- <?= $this->render('sidebar', ['assetDir' => $assetDir]) ?>
- <!-- Content Wrapper. Contains page content -->
- <?= $this->render('content', ['content' => $content, 'assetDir' => $assetDir]) ?>
- <!-- /.content-wrapper -->
- <!-- Control Sidebar -->
- <?= $this->render('control-sidebar') ?>
- <!-- /.control-sidebar -->
- <!-- Main Footer -->
- <?= $this->render('footer') ?>
- </div>
- <?php $this->endBody() ?>
- </body>
- </html>
- <?php $this->endPage() ?>
|