Example #1
0
/* @var $this \yii\web\View */
/* @var $content string */
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use common\widgets\Alert;
use backend\assets\AppAsset;
use backend\assets\BowerAsset;
use backend\assets\CommonAsset;
use yii\widgets\Menu;
use yii\helpers\Url;
#-- Assets Calls --#
AppAsset::register($this);
BowerAsset::register($this);
CommonAsset::register($this);
#-- /Assets Calls --#
$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">
Example #2
0
<?php

use yii\helpers\Html;
use common\widgets\Alert;
/* @var $this \yii\web\View */
/* @var $content string */
\backend\assets\AdminLteAsset::register($this);
\backend\assets\BowerAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <title><?php 
echo Html::encode($this->title);
?>
</title>
    <?php 
echo Html::csrfMetaTags();
?>
    <?php 
$this->head();
?>


</head>
<body class="login-page" style="min-height: 790px">
    <?php