Created
June 3, 2014 09:01
-
-
Save DrMabuse23/82d0b6274896d3cd97c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use backend\assets\AppAsset; | |
use yii\helpers\Html; | |
use yii\bootstrap\Nav; | |
use yii\bootstrap\NavBar; | |
use yii\widgets\Breadcrumbs; | |
/** | |
* @var \yii\web\View $this | |
* @var string $content | |
*/ | |
AppAsset::register($this); | |
?> | |
<?php $this->beginPage() ?> | |
<!DOCTYPE html> | |
<html lang="<?= Yii::$app->language ?>"> | |
<head> | |
<meta charset="<?= Yii::$app->charset ?>"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title><?= Html::encode($this->title) ?></title> | |
<?php $this->head() ?> | |
</head> | |
<body> | |
<?php $this->beginBody() ?> | |
<div class="wrap"> | |
<?= $this->render('//layouts/_top_navbar') ?> | |
<div class="container"> | |
<?= Breadcrumbs::widget([ | |
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], | |
]) ?> | |
<?= $content ?> | |
</div> | |
</div> | |
<footer class="footer"> | |
<div class="container"> | |
<p class="pull-left">© My Company <?= date('Y') ?></p> | |
<p class="pull-right"><?= Yii::powered() ?></p> | |
</div> | |
</footer> | |
<?php $this->endBody() ?> | |
</body> | |
</html> | |
<?php $this->endPage() ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment