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' => 'http://www.yiiframework.com/doc/guide/topics.gii'], ['label' => 'Application', 'url' => Yii::$app->homeUrl], ], ]); NavBar::end(); ?>
endBody(); ?> endPage(); ?>