Example #1
0
<?php

use yii\helpers\Html;
use yii\widgets\Menu;
use yii\widgets\Breadcrumbs;
use backend\assets\SlimScrollAsset;
/* @var $this \yii\web\View */
/* @var $content string */
SlimScrollAsset::register($this);
//$baseUrl = $this->context->baseUrl;
$baseUrl = Yii::getAlias('@web');
?>

<?php 
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
 public function __construct()
 {
     parent::__construct(\backend\assets\SlimScrollAsset::className());
 }