示例#1
0
文件: main.php 项目: vetoni/toko
<?php

use app\modules\admin\assets\AdminAsset;
use yii\bootstrap\Html;
use yii\web\View;
/**
 * @var string $content
 * @var View $this
 */
AdminAsset::register($this);
?>

<?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">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
echo Html::encode($this->title);
示例#2
0
<?php

use yii\bootstrap\Nav;
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use dmstr\widgets\Alert;
/* @var $this \yii\web\View */
/* @var $content string */
$this->title = $this->title . ' [Backend] ' . Yii::$app->params['appName'];
\app\modules\admin\assets\AdminAsset::register($this);
?>

<?php 
$this->beginPage();
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
echo Html::encode($this->title);
?>
</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <!-- Ionicons -->
    <link href="//code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css" rel="stylesheet" type="text/css"/>
    <!-- Theme style -->
    <?php