39 lines
1.1 KiB
PHP
39 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @author Any
|
|
* @description KISS
|
|
* @date 2020-11-4
|
|
* @version 1.0.0
|
|
*
|
|
* _____LOG_____
|
|
*
|
|
*/
|
|
use yii\helpers\Html;
|
|
use app\components\SiteHelper;
|
|
use app\modules\admin\assets\AppAsset;
|
|
use app\modules\admin\assets\LoginAsset;
|
|
AppAsset::register($this);
|
|
LoginAsset::register($this);
|
|
|
|
?>
|
|
<?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, user-scalable=0">
|
|
<?= Html::csrfMetaTags()?>
|
|
<title><?= !empty($this->title) ? Html::encode($this->title) . ' - ' : null ?><?= SiteHelper::getSiteShortName()?></title>
|
|
<link rel="shortcut icon" href="<?= SiteHelper::getSiteICO()?>">
|
|
<?php $this->head() ?>
|
|
<script>var _csrf = "<?=Yii::$app->request->csrfToken?>";</script>
|
|
</head>
|
|
<body layadmin-themealias="default">
|
|
<?php $this->beginBody() ?>
|
|
<?= $content ?>
|
|
<?php $this->endBody() ?>
|
|
</body>
|
|
</html>
|
|
<?php $this->endPage() ?>
|