12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?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() ?>
- </head>
- <body class="hold-transition">
- <?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() ?>
|