Commit 8995c0b0 by Alexander Makarov

Code style fixes for layouts

parent 2643de1d
......@@ -11,16 +11,16 @@ use yii\widgets\Breadcrumbs;
*/
AppAsset::register($this);
?>
<?php $this->beginPage(); ?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
<meta charset="<?= Yii::$app->charset ?>"/>
<title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?>
<?php $this->head() ?>
</head>
<body>
<?php $this->beginBody(); ?>
<?php $this->beginBody() ?>
<?php
NavBar::begin([
'brandLabel' => 'My Company',
......@@ -58,7 +58,7 @@ AppAsset::register($this);
</div>
</footer>
<?php $this->endBody(); ?>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage(); ?>
<?php $this->endPage() ?>
......@@ -12,16 +12,16 @@ use frontend\widgets\Alert;
*/
AppAsset::register($this);
?>
<?php $this->beginPage(); ?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
<meta charset="<?= Yii::$app->charset ?>"/>
<title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?>
<?php $this->head() ?>
</head>
<body>
<?php $this->beginBody(); ?>
<?php $this->beginBody() ?>
<?php
NavBar::begin([
'brandLabel' => 'My Company',
......@@ -63,7 +63,7 @@ AppAsset::register($this);
</div>
</footer>
<?php $this->endBody(); ?>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage(); ?>
<?php $this->endPage() ?>
......@@ -11,16 +11,16 @@ use app\assets\AppAsset;
*/
AppAsset::register($this);
?>
<?php $this->beginPage(); ?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
<meta charset="<?= Yii::$app->charset ?>"/>
<title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?>
<?php $this->head() ?>
</head>
<body>
<?php $this->beginBody(); ?>
<?php $this->beginBody() ?>
<?php
NavBar::begin([
'brandLabel' => 'My Company',
......@@ -59,7 +59,7 @@ AppAsset::register($this);
</div>
</footer>
<?php $this->endBody(); ?>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage(); ?>
<?php $this->endPage() ?>
......@@ -9,15 +9,15 @@ yii\debug\DebugAsset::register($this);
?>
<!DOCTYPE html>
<html>
<?php $this->beginPage(); ?>
<?php $this->beginPage() ?>
<head>
<title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?>
<?php $this->head() ?>
</head>
<body>
<?php $this->beginBody(); ?>
<?php $this->beginBody() ?>
<?= $content ?>
<?php $this->endBody(); ?>
<?php $this->endBody() ?>
</body>
<?php $this->endPage(); ?>
<?php $this->endPage() ?>
</html>
......@@ -9,16 +9,16 @@ use yii\helpers\Html;
*/
$asset = yii\gii\GiiAsset::register($this);
?>
<?php $this->beginPage(); ?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?>
<?php $this->head() ?>
</head>
<body>
<?php $this->beginBody(); ?>
<?php $this->beginBody() ?>
<?php
NavBar::begin([
'brandLabel' => Html::img($asset->baseUrl . '/logo.png'),
......@@ -47,7 +47,7 @@ NavBar::end();
</div>
</footer>
<?php $this->endBody(); ?>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage(); ?>
<?php $this->endPage() ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment