Esempio n. 1
0
    <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\basic\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\widgets\Alert::widget(['type' => $type, 'body' => $body]);
}
?>
        <div class="container">
            <div class="center-block col-lg-5 col-md-6 col-sm-7" style="float:none;">
                <?php 
echo $content;
Esempio n. 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\basic\modules\main\widgets\PlatformPanel::widget(['layout' => 'platform/panelBackend', 'searchRoute' => '/grom/sqlsearch/backend/default/index']);
?>

        <div class="container">
            <?php 
echo Breadcrumbs::widget(['homeLink' => ['label' => Yii::t('yii', 'Home'), 'url' => \yii\helpers\Url::toRoute('/grom/backend/default/index')], '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>