beginPage() ?> registerCsrfMetaTags() ?> <?= Html::encode($this->title) ?> head() ?> beginBody() ?>
Yii::$app->name, //'brandUrl' => Yii::$app->homeUrl, 'renderInnerContainer' => false, 'options' => [ 'class' => 'main-header navbar navbar-expand navbar-white navbar-light', ], ]); //foreach ($this->params['actionButtons'] as $button) //$as = [['label' => 'Home', 'url' => ['/site/index']], $this->params['actionButtons']]; echo Nav::widget([ 'encodeLabels' => false, 'options' => ['class' => 'navbar-nav w-100'], 'items' => array_merge( [ ['label' => '', 'url' => '#', 'options' =>['data-widget' => 'pushmenu']], //['label' => 'Home', 'url' => ['/site/index'], 'options' =>['class' => 'ml-auto']], /*['label' => 'About', 'url' => ['/site/about']], ['label' => 'Contact', 'url' => ['/site/contact']], Yii::$app->user->isGuest ? ( ['label' => 'Login', 'url' => ['/site/login']] ) : ( '
  • ' . Html::beginForm(['/site/logout'], 'post') . Html::submitButton( 'Logout (' . Yii::$app->user->identity->username . ')', ['class' => 'btn btn-link logout'] ) . Html::endForm() . '
  • ' )*/ ], isset($this->params['actionButtons']) ? $this->params['actionButtons'] : [], [ ['label' => 'Logout (' . Yii::$app->user->identity->username . ') ', 'url' => ['/site/logout'], 'options' => ['class'=>'ml-auto']] ] ) ]); /*echo Nav::widget([ 'encodeLabels' => false, 'options' => ['class' => 'navbar-nav ml-auto'], 'items' => [ ], ]);*/ NavBar::end(); ?>

    title; ?>

    'ol', 'itemTemplate' => "
  • {link}
  • \n", 'activeItemTemplate' => "
  • {link}
  • \n", 'options' => ['class'=>'breadcrumb float-sm-right'], 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], ]) ?>
    endBody() ?> endPage() ?>