$menuItems = [['label' => 'Dashboard', 'url' => '#', 'icon' => 'fa fa-dashboard'], ['label' => 'Layouts Options', 'url' => '#', 'icon' => 'fa fa-files-o'], ['label' => 'Widgets', 'url' => ['site/widgets'], 'icon' => 'fa fa-th'], ['label' => 'Charts', 'url' => ['site/charts'], 'icon' => 'fa fa-pie-chart'], ['label' => 'UI Elements', 'url' => '#', 'icon' => 'fa fa-laptop'], ['label' => 'Forms', 'url' => '#', 'icon' => 'fa fa-edit'], ['label' => 'Tables', 'url' => '#', 'icon' => 'fa fa-table'], ['label' => 'Calendar', 'url' => '#', 'icon' => 'fa fa-calendar'], ['label' => 'Mailbox', 'url' => '#', 'icon' => 'fa fa-envelope'], ['label' => 'Examples', 'url' => '#', 'icon' => 'fa fa-folder'], ['label' => 'Multilevel', 'url' => '#', 'icon' => 'fa fa-share', 'items' => [['label' => 'Level', 'url' => '#', 'icon' => 'fa fa-angle-right'], ['label' => 'Level', 'url' => '#', 'icon' => 'fa fa-angle-right', 'items' => [['label' => 'Sub Level', 'url' => '#', 'icon' => 'fa fa-angle-right'], ['label' => 'Sub Level', 'url' => '#', 'icon' => 'fa fa-angle-right', 'items' => [['label' => 'Sub Level', 'url' => '#', 'icon' => 'fa fa-angle-right'], ['label' => 'Sub Level', 'url' => '#', 'icon' => 'fa fa-angle-right'], ['label' => 'Sub Level', 'url' => '#', 'icon' => 'fa fa-angle-right']]], ['label' => 'Sub Level', 'url' => '#', 'icon' => 'fa fa-angle-right']]], ['label' => 'Level', 'url' => '#', 'icon' => 'fa fa-angle-right']]], ['label' => 'Documentation', 'url' => '#', 'icon' => 'fa fa-book']]; echo SideNav::widget(['header' => 'MAIN NAVIGATION', 'options' => ['class' => 'sidebar-menu'], 'items' => $menuItems]); SideNavBar::end(); ?> <!-- =============================================== --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <?php if (isset($this->params['breadcrumbs'])) { ?> <section class="content-header"> <?php echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]); ?> <br> </section> <?php } ?> <!-- Main content --> <section class="content"> <?php echo $content; ?> </section><!-- /.content --> </div><!-- /.content-wrapper -->
<?php use frontend\widgets\Breadcrumbs; use frontend\widgets\ProductsList; /* @var $this yii\web\View */ /* @var $dataProvider \yii\data\ActiveDataProvider */ $this->title = 'zzz mainpage'; ?> <div class="right-column"> <?php echo Breadcrumbs::widget(['category' => $this->params['category'], 'subcategory' => $this->params['subcategory'], 'rubric' => $this->params['rubric']]); ?> <div class="content"> <div class="catalog-mob"> <a href="" class="catalog-mob-ico"></a> <div class="catalog-mob-sel"> <select name="" class="select" style="display: none;"> <optgroup label="Choose category:"> <option>Jewelry for women (1562)</option> <option>Jewellery for men (526)</option> <option>Piercing (125)</option> <option>Religious paraphernalia (53)</option> <option>Watches (643)</option> </optgroup> </select><div class="chosen-container chosen-container-single chosen-container-single-nosearch" style="width: 0px;" title=""><a class="chosen-single" tabindex="-1"><span>Jewelry for women (1562)</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" readonly=""></div><ul class="chosen-results"></ul></div></div> </div> <div class="catalog-mob-filter" style="display: none;"> <div class="free_delivery"> <label class="checkbox-style"><input type="checkbox"><i></i> Free delivery</label> </div>