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; ?> beginPage() ?> registerCsrfMetaTags() ?> <?= Html::encode($this->title) ?> head() ?> beginBody() ?>
render('navbar', ['assetDir' => $assetDir]) ?> render('sidebar', ['assetDir' => $assetDir]) ?> render('content', ['content' => $content, 'assetDir' => $assetDir]) ?> render('control-sidebar') ?> render('footer') ?>
endBody() ?> endPage() ?>