| @@ 56-107 (lines=52) @@ | ||
| 53 | <!-- header logo: style can be found in header.less --> |
|
| 54 | <?= $this->render('_header') ?> |
|
| 55 | <!-- Left side column. contains the logo and sidebar --> |
|
| 56 | <?php if (!Yii::$app->user->isGuest): ?> |
|
| 57 | <?= Html::beginTag('aside', ['class' => 'main-sidebar']) ?> |
|
| 58 | <!-- sidebar: style can be found in sidebar.less --> |
|
| 59 | <?= Html::beginTag('section', ['class' => 'sidebar']) ?> |
|
| 60 | <!-- Sidebar user panel --> |
|
| 61 | <?= $this->render('_userpanel') ?> |
|
| 62 | <!-- ./Sidebar user panel --> |
|
| 63 | <?= $this->render('_sidebar') ?> |
|
| 64 | <?= Html::endTag('section') ?> |
|
| 65 | <!-- /.sidebar --> |
|
| 66 | <?= Html::endTag('aside') ?> |
|
| 67 | <!-- ./Left side column. --> |
|
| 68 | <!-- Right side column. Contains the navbar and content of the page --> |
|
| 69 | <!-- Navigation --> |
|
| 70 | <?= Html::beginTag('div', ['class' => 'content-wrapper']) ?> |
|
| 71 | <?= Html::beginTag('section', ['class' => 'content-header']) ?> |
|
| 72 | <!-- Content Header (Page header) --> |
|
| 73 | <?= Html::beginTag('div') ?> |
|
| 74 | <?= Breadcrumbs::widget([ |
|
| 75 | 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], |
|
| 76 | ]) ?> |
|
| 77 | <?= Html::endTag('div') ?> |
|
| 78 | <?= Html::endTag('section') ?> |
|
| 79 | <?= Html::beginTag('section', ['class' => 'content']) ?> |
|
| 80 | <!-- Main content --> |
|
| 81 | <?= $content ?> |
|
| 82 | <?= Alert::widget() ?> |
|
| 83 | <?= Html::endTag('section') ?> |
|
| 84 | <!-- /.content --> |
|
| 85 | <?= Html::endTag('div') ?> |
|
| 86 | <!-- /.right-side --> |
|
| 87 | <?php else: ?> |
|
| 88 | <!-- ./Left side column. --> |
|
| 89 | <!-- Right side column. Contains the navbar and content of the page --> |
|
| 90 | <!-- Navigation --> |
|
| 91 | <?= Html::beginTag('div', ['class' => 'content-wrapper']) ?> |
|
| 92 | <?= Html::beginTag('section', ['class' => 'content-header']) ?> |
|
| 93 | <?= Html::beginTag('div', ['class' => 'container']) ?> |
|
| 94 | <?= Breadcrumbs::widget([ |
|
| 95 | 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], |
|
| 96 | ]) ?> |
|
| 97 | <?= Html::endTag('div') ?> |
|
| 98 | <?= Html::endTag('section') ?> |
|
| 99 | <?= Html::beginTag('section', ['class' => 'content']) ?> |
|
| 100 | <!-- Main content --> |
|
| 101 | <?= Html::beginTag('div', ['class' => 'container']) ?> |
|
| 102 | <?= $content ?> |
|
| 103 | <?= Alert::widget() ?> |
|
| 104 | <?= Html::endTag('div') ?> |
|
| 105 | <?= Html::endTag('section') ?> |
|
| 106 | <?= Html::endTag('div') ?> |
|
| 107 | <?php endif; ?> |
|
| 108 | <!-- ./Right side column. --> |
|
| 109 | <?= $this->render('_footer') ?> |
|
| 110 | <?= Html::endTag('div') ?> |
|
| @@ 57-108 (lines=52) @@ | ||
| 54 | <!-- header logo: style can be found in header.less --> |
|
| 55 | <?= $this->render('_header') ?> |
|
| 56 | <!-- Left side column. contains the logo and sidebar --> |
|
| 57 | <?php if (!Yii::$app->user->isGuest): ?> |
|
| 58 | <?= Html::beginTag('aside', ['class' => 'main-sidebar']) ?> |
|
| 59 | <!-- sidebar: style can be found in sidebar.less --> |
|
| 60 | <?= Html::beginTag('section', ['class' => 'sidebar']) ?> |
|
| 61 | <!-- Sidebar user panel --> |
|
| 62 | <?= $this->render('_userpanel') ?> |
|
| 63 | <!-- ./Sidebar user panel --> |
|
| 64 | <?= $this->render('_sidebar') ?> |
|
| 65 | <?= Html::endTag('section') ?> |
|
| 66 | <!-- /.sidebar --> |
|
| 67 | <?= Html::endTag('aside') ?> |
|
| 68 | <!-- ./Left side column. --> |
|
| 69 | <!-- Right side column. Contains the navbar and content of the page --> |
|
| 70 | <!-- Navigation --> |
|
| 71 | <?= Html::beginTag('div', ['class' => 'content-wrapper']) ?> |
|
| 72 | <?= Html::beginTag('section', ['class' => 'content-header']) ?> |
|
| 73 | <!-- Content Header (Page header) --> |
|
| 74 | <?= Html::beginTag('div') ?> |
|
| 75 | <?= Breadcrumbs::widget([ |
|
| 76 | 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], |
|
| 77 | ]) ?> |
|
| 78 | <?= Html::endTag('div') ?> |
|
| 79 | <?= Html::endTag('section') ?> |
|
| 80 | <?= Html::beginTag('section', ['class' => 'content']) ?> |
|
| 81 | <!-- Main content --> |
|
| 82 | <?= $content ?> |
|
| 83 | <?= Alert::widget() ?> |
|
| 84 | <?= Html::endTag('section') ?> |
|
| 85 | <!-- /.content --> |
|
| 86 | <?= Html::endTag('div') ?> |
|
| 87 | <!-- /.right-side --> |
|
| 88 | <?php else: ?> |
|
| 89 | <!-- ./Left side column. --> |
|
| 90 | <!-- Right side column. Contains the navbar and content of the page --> |
|
| 91 | <!-- Navigation --> |
|
| 92 | <?= Html::beginTag('div', ['class' => 'content-wrapper']) ?> |
|
| 93 | <?= Html::beginTag('section', ['class' => 'content-header']) ?> |
|
| 94 | <?= Html::beginTag('div', ['class' => 'container']) ?> |
|
| 95 | <?= Breadcrumbs::widget([ |
|
| 96 | 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], |
|
| 97 | ]) ?> |
|
| 98 | <?= Html::endTag('div') ?> |
|
| 99 | <?= Html::endTag('section') ?> |
|
| 100 | <?= Html::beginTag('section', ['class' => 'content']) ?> |
|
| 101 | <!-- Main content --> |
|
| 102 | <?= Html::beginTag('div', ['class' => 'container']) ?> |
|
| 103 | <?= $content ?> |
|
| 104 | <?= Alert::widget() ?> |
|
| 105 | <?= Html::endTag('div') ?> |
|
| 106 | <?= Html::endTag('section') ?> |
|
| 107 | <?= Html::endTag('div') ?> |
|
| 108 | <?php endif; ?> |
|
| 109 | <!-- ./Right side column. --> |
|
| 110 | <?= $this->render('_footer') ?> |
|
| 111 | <?= Html::endTag('div') ?> |
|