<?php use app\assets\LoginAsset; use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this \yii\web\View */ LoginAsset::register($this); $this->beginPage(); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo Yii::$app->name; ?> | 登录</title> <?php $this->head(); ?> </head> <body class="gray-bg"> <?php $this->beginBody(); ?> <div class="middle-box text-center loginscreen animated fadeInDown"> <div> <h3>欢迎登录后台管理系统</h3> <?php
<?php /* @var $this \yii\web\View */ /* @var $content string */ /* @var $this yii\web\View */ use yii\helpers\Html; use yii\helpers\Url; use yii\widgets\ActiveForm; \app\assets\LoginAsset::register($this); $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"> <?php echo Html::csrfMetaTags(); ?> <title><?php echo Html::encode($this->title); ?> </title> <?php $this->head();