?> '; </script> <?php $this->head(); ?> </head> <body> <?php $this->beginBody(); ?> <?php echo Header::widget(); ?> <section class="page container <?php echo $pageSectionClass; ?> "> <?php if ($breadcrumbs) { ?> <?php echo Breadcrumbs::widget(['homeLink' => false, 'links' => $breadcrumbs]); ?> <?php } ?>
<?php use app\modules\admin\widgets\Header as Widget; use app\modules\admin\widgets\NavBar; use app\modules\admin\widgets\Nav; $widget = $this->context; $controller = Yii::$app->controller; $module = $controller->module; $leftItems = $widget->getLeftItems(); $rightItems = $widget->getRightItems(); ?> <?php NavBar::begin(['brandGlyphicon' => 'home small', 'brandLabel' => Widget::t('APP_TITLE'), 'brandUrl' => '@admin', 'options' => ['class' => 'navbar-default navbar-fixed-top']]); ?> <?php if ($leftItems) { ?> <?php echo Nav::widget(['options' => ['class' => 'navbar-nav navbar-left'], 'items' => $leftItems]); ?> <?php } ?> <?php if ($rightItems) { ?> <?php echo Nav::widget(['options' => ['class' => 'navbar-nav navbar-right'], 'items' => $rightItems]);