Exemple #1
0
$this->params['crumbs'] = [['title' => $this->title]];
?>

<div class="container">
	<div class="row">
		<div class="col-xs-9 col-xs-push-3">
			<?php 
echo Crumbs::widget(['headingText' => \Yii::t($module->messageCategory, 'current location') . ':', 'homeText' => \Yii::t($module->messageCategory, 'home'), 'options' => ['class' => 'x-crumbs']]);
?>
		</div>
	</div>
	<div class="x-crumbs-arc x-wave x-wave-top-convex x-wave-bottom-concave"></div>
	<div class="row">
		<div class="col-xs-3">
			<?php 
echo Menu::widget(['siteId' => $module->siteId, 'position' => 'List_categorys', 'headingEnabled' => true, 'options' => ['class' => 'x-sidebar']]);
?>
		</div>
		<div class="col-xs-9 x-height-min">
			<?php 
echo Ul::widget(['items' => $items, 'timeEnabled' => $superior['type'] != 5, 'download' => $superior['type'] == 5 ? 'attachment_id' : false, 'downloadText' => \Yii::t($module->messageCategory, 'download'), 'options' => ['class' => 'x-list x-list-' . $superior['type']]]);
?>
			<div class="x-pagination">
				<?php 
echo LinkPager::widget(['pagination' => $pagination, 'prevPageLabel' => '&lt;', 'nextPageLabel' => '&gt;', 'firstPageLabel' => '&laquo;', 'lastPageLabel' => '&raquo;']);
?>
			</div>
		</div>
	</div>
</div>
Exemple #2
0
<!-- begin x-header -->
<div class="x-header">
	<div class="container">
		<div class="row">
			<h1 class="pull-left">
				<?php 
echo Html::a(Html::img($module->imageRoute($site['logo_id'])), \Yii::$app->homeUrl);
?>
				<?php 
echo Html::tag('span', $site['name']);
?>
<!-- for seo -->
			</h1>
			<?php 
echo Menu::widget(['siteId' => $module->siteId, 'position' => 'Menu_main', 'recursive' => true, 'route' => isset($this->params['route']) ? $this->params['route'] : null, 'options' => ['class' => 'pull-right'], 'listOptions' => ['class' => 'clearfix']]);
?>
		</div>
	</div>
</div>
<!-- end x-header -->

<!-- begin x-carousel -->
<div class="x-wave x-wave-bottom-concave">
	<div class="container-fluid">
		<div class="row">
			<?php 
echo Banner::widget(['siteId' => $module->siteId, 'position' => 'Carousel_main', 'backgroundImage' => true, 'targetBlank' => true, 'carousel' => true, 'options' => ['class' => 'x-carousel']]);
?>
		</div>
	</div>