<meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
echo Html::encode($this->title);
?>
</title>
    <?php 
$this->head();
?>
</head>
<body>
<?php 
$this->beginBody();
echo \gromver\platform\core\modules\main\widgets\PlatformPanel::widget();
?>
<div class="wrap">
    <div class="container">
        <?php 
echo \yii\widgets\Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
        <?php 
foreach (Yii::$app->session->getAllFlashes() as $type => $body) {
    echo \kartik\alert\Alert::widget(['type' => $type, 'body' => $body]);
}
?>
        <div class="row">
            <div class="col-md-3 col-sm-4">
                <?php 
echo \gromver\platform\core\modules\menu\widgets\Menu::widget(['id' => 'top-menu', 'widgetConfig' => ['heading' => Yii::t('gromver.platform', 'Navigation'), 'class' => \kartik\widgets\SideNav::className(), 'activeCssClass' => 'active', 'firstItemCssClass' => 'first', 'lastItemCssClass' => 'last', 'activateItems' => false, 'activateParents' => false, 'options' => ['class' => 'level-1']]]);
Beispiel #2
0
?>
	<title><?php 
echo Html::encode($this->title);
?>
</title>
	<?php 
$this->head();
?>
</head>
<body>
	<?php 
$this->beginBody();
?>
	<div class="wrap">
        <?php 
echo \gromver\platform\core\modules\main\widgets\PlatformPanel::widget(['layout' => 'platform/panelBackend']);
?>

        <div class="container">
            <?php 
echo Breadcrumbs::widget(['homeLink' => ['label' => Yii::t('yii', 'Home'), 'url' => Yii::$app->homeUrlBackend], 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>
            <?php 
foreach (Yii::$app->session->getAllFlashes() as $type => $body) {
    echo \kartik\alert\Alert::widget(['type' => $type, 'body' => $body]);
}
?>
            <?php 
echo $content;
?>
		</div>