main.php 548 Bytes
Newer Older
Qiang Xue committed
1 2 3 4 5 6 7
<?php
/**
 * @var $this \yii\base\View
 * @var $content string
 */
use yii\helpers\Html;
?>
Qiang Xue committed
8
<?php $this->beginPage(); ?>
Qiang Xue committed
9
<!DOCTYPE html>
Qiang Xue committed
10
<html lang="en">
Qiang Xue committed
11
<head>
Qiang Xue committed
12
	<meta charset="utf-8" />
Qiang Xue committed
13
	<title><?php echo Html::encode($this->title); ?></title>
Qiang Xue committed
14
	<?php echo Html::cssFile("css/bootstrap.min.css", array('media' => 'screen')); ?>
Qiang Xue committed
15 16 17
	<?php $this->head(); ?>
</head>
<body>
Qiang Xue committed
18 19 20 21 22 23
	<div class="container">
		<h1>Welcome</h1>
		<?php $this->beginBody(); ?>
		<?php echo $content; ?>
		<?php $this->endBody(); ?>
	</div>
Qiang Xue committed
24 25
</body>
</html>
Qiang Xue committed
26
<?php $this->endPage(); ?>