beginPage() ?> <?= Html::encode($this->title) ?> head() ?> beginBody() ?> Html::img($asset->baseUrl . '/logo.png'), 'brandUrl' => ['default/index'], 'options' => ['class' => 'navbar-inverse navbar-fixed-top'], ]); echo Nav::widget([ 'options' => ['class' => 'nav navbar-nav navbar-right'], 'items' => [ ['label' => 'Home', 'url' => ['default/index']], ['label' => 'Help', 'url' => 'https://github.com/yiisoft/yii2/blob/master/docs/guide/gii.md'], ['label' => 'Application', 'url' => Yii::$app->homeUrl], ], ]); NavBar::end(); ?>
endBody() ?> endPage() ?>