beginPage(); ?> <?php echo Html::encode($this->title); ?> head(); ?> beginBody(); ?> Html::img($asset->baseUrl . '/logo.png'), 'brandUrl' => array('default/index'), 'options' => array( 'class' => 'navbar-inverse navbar-fixed-top', ), )); echo Nav::widget(array( 'options' => array('class' => 'nav navbar-nav pull-right'), 'items' => array( array('label' => 'Home', 'url' => array('default/index')), array('label' => 'Help', 'url' => 'http://www.yiiframework.com/doc/guide/topics.gii'), array('label' => 'Application', 'url' => Yii::$app->homeUrl), ), )); NavBar::end(); ?>
endBody(); ?> endPage(); ?>