Ejemplo n.º 1
0
<?php

/* @var $this \yii\web\View */
/* @var $content string */
use source\LsYii;
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use common\widgets\Alert;
use source\libs\Resource;
AppAsset::registerDefault();
AppAsset::registerCssFile('/default/css/admin_login.css');
$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 
Ejemplo n.º 2
0
">
<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(LsYii::getName());
?>
</title>
    <?php 
AppAsset::registerCssFile('/basic/css/admin_login.css');
?>
    <?php 
$this->head();
?>
</head>
<body>
    <?php 
$this->beginBody();
?>
    <?php 
echo $content;
?>
    <?php 
$this->endBody();
?>