?> <?php echo $this->render('_header'); ?> <div class="wrapper row-offcanvas row-offcanvas-left"> <aside class="left-side sidebar-offcanvas"> <section class="sidebar"> <?php echo \app\modules\admin\widgets\SidebarMenu::widget(['items' => [['label' => 'Главная', 'url' => ['/admin/'], 'icon' => 'dashboard', 'active' => Yii::$app->controller->id === 'default'], ['label' => 'Страницы', 'url' => ['/admin/pages'], 'icon' => 'file-text', 'active' => Yii::$app->controller->id === 'pages'], ['label' => 'Пользователи', 'url' => ['/admin/users'], 'icon' => 'user', 'active' => Yii::$app->controller->id === 'users'], ['label' => Yii::t('app.admin', 'Категории объявлений'), 'url' => ['/admin/categories'], 'icon' => 'folder', 'active' => Yii::$app->controller->id === 'categories']], 'options' => ['class' => 'sidebar-menu'], 'encodeLabels' => false]); ?> </section> </aside> <!-- Right side column. Contains the navbar and content of the page --> <aside class="right-side"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php echo $this->title; ?> <small><?php echo Yii::t('app', 'Панель управления'); ?>
</ul> </div> </nav> </header> <aside class="main-sidebar"> <section class="sidebar"> <form action="#" method="get" class="sidebar-form"> <div class="input-group"> <input type="text" name="q" class="form-control" placeholder="Search..."/> <span class="input-group-btn"> <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button> </span> </div> </form> <?php echo SidebarMenu::widget(['items' => Menu::get()]); ?> </section> </aside> <aside class="content-wrapper"> <section class="content-header"> <h1> Dashboard <small>Control panel</small> </h1> <?php echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]); ?> </section> <section class="content"> <?php