Commit 8995c0b0 by Alexander Makarov

Code style fixes for layouts

parent 2643de1d
...@@ -11,16 +11,16 @@ use yii\widgets\Breadcrumbs; ...@@ -11,16 +11,16 @@ use yii\widgets\Breadcrumbs;
*/ */
AppAsset::register($this); AppAsset::register($this);
?> ?>
<?php $this->beginPage(); ?> <?php $this->beginPage() ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>"> <html lang="<?= Yii::$app->language ?>">
<head> <head>
<meta charset="<?= Yii::$app->charset ?>"/> <meta charset="<?= Yii::$app->charset ?>"/>
<title><?= Html::encode($this->title) ?></title> <title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?> <?php $this->head() ?>
</head> </head>
<body> <body>
<?php $this->beginBody(); ?> <?php $this->beginBody() ?>
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => 'My Company', 'brandLabel' => 'My Company',
...@@ -58,7 +58,7 @@ AppAsset::register($this); ...@@ -58,7 +58,7 @@ AppAsset::register($this);
</div> </div>
</footer> </footer>
<?php $this->endBody(); ?> <?php $this->endBody() ?>
</body> </body>
</html> </html>
<?php $this->endPage(); ?> <?php $this->endPage() ?>
...@@ -12,16 +12,16 @@ use frontend\widgets\Alert; ...@@ -12,16 +12,16 @@ use frontend\widgets\Alert;
*/ */
AppAsset::register($this); AppAsset::register($this);
?> ?>
<?php $this->beginPage(); ?> <?php $this->beginPage() ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>"> <html lang="<?= Yii::$app->language ?>">
<head> <head>
<meta charset="<?= Yii::$app->charset ?>"/> <meta charset="<?= Yii::$app->charset ?>"/>
<title><?= Html::encode($this->title) ?></title> <title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?> <?php $this->head() ?>
</head> </head>
<body> <body>
<?php $this->beginBody(); ?> <?php $this->beginBody() ?>
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => 'My Company', 'brandLabel' => 'My Company',
...@@ -63,7 +63,7 @@ AppAsset::register($this); ...@@ -63,7 +63,7 @@ AppAsset::register($this);
</div> </div>
</footer> </footer>
<?php $this->endBody(); ?> <?php $this->endBody() ?>
</body> </body>
</html> </html>
<?php $this->endPage(); ?> <?php $this->endPage() ?>
...@@ -11,16 +11,16 @@ use app\assets\AppAsset; ...@@ -11,16 +11,16 @@ use app\assets\AppAsset;
*/ */
AppAsset::register($this); AppAsset::register($this);
?> ?>
<?php $this->beginPage(); ?> <?php $this->beginPage() ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>"> <html lang="<?= Yii::$app->language ?>">
<head> <head>
<meta charset="<?= Yii::$app->charset ?>"/> <meta charset="<?= Yii::$app->charset ?>"/>
<title><?= Html::encode($this->title) ?></title> <title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?> <?php $this->head() ?>
</head> </head>
<body> <body>
<?php $this->beginBody(); ?> <?php $this->beginBody() ?>
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => 'My Company', 'brandLabel' => 'My Company',
...@@ -59,7 +59,7 @@ AppAsset::register($this); ...@@ -59,7 +59,7 @@ AppAsset::register($this);
</div> </div>
</footer> </footer>
<?php $this->endBody(); ?> <?php $this->endBody() ?>
</body> </body>
</html> </html>
<?php $this->endPage(); ?> <?php $this->endPage() ?>
...@@ -9,15 +9,15 @@ yii\debug\DebugAsset::register($this); ...@@ -9,15 +9,15 @@ yii\debug\DebugAsset::register($this);
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<?php $this->beginPage(); ?> <?php $this->beginPage() ?>
<head> <head>
<title><?= Html::encode($this->title) ?></title> <title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?> <?php $this->head() ?>
</head> </head>
<body> <body>
<?php $this->beginBody(); ?> <?php $this->beginBody() ?>
<?= $content ?> <?= $content ?>
<?php $this->endBody(); ?> <?php $this->endBody() ?>
</body> </body>
<?php $this->endPage(); ?> <?php $this->endPage() ?>
</html> </html>
...@@ -9,16 +9,16 @@ use yii\helpers\Html; ...@@ -9,16 +9,16 @@ use yii\helpers\Html;
*/ */
$asset = yii\gii\GiiAsset::register($this); $asset = yii\gii\GiiAsset::register($this);
?> ?>
<?php $this->beginPage(); ?> <?php $this->beginPage() ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<title><?= Html::encode($this->title) ?></title> <title><?= Html::encode($this->title) ?></title>
<?php $this->head(); ?> <?php $this->head() ?>
</head> </head>
<body> <body>
<?php $this->beginBody(); ?> <?php $this->beginBody() ?>
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => Html::img($asset->baseUrl . '/logo.png'), 'brandLabel' => Html::img($asset->baseUrl . '/logo.png'),
...@@ -47,7 +47,7 @@ NavBar::end(); ...@@ -47,7 +47,7 @@ NavBar::end();
</div> </div>
</footer> </footer>
<?php $this->endBody(); ?> <?php $this->endBody() ?>
</body> </body>
</html> </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