Example #1
0
<?php

/**
 * @var yii\web\View $this
 */
$this->title = 'Главная страница';
$this->params['breadcrumbs'][] = $this->title;
$this->params['header'] = $this->title;
\yz\admin\widgets\Box::begin(['cssClass' => 'box-info']);
?>

    <h1>Добро пожаловать в панель администрирования!</h1>

    <p>Выберите пункт меню слева для начала работы</p>

<?php 
\yz\admin\widgets\Box::end();
Example #2
0
/**
 * @var yii\web\View $this
 * @var \yz\admin\models\User $model
 * @var \yz\admin\forms\ChangeUserPasswordForm $passwordForm
 */
$this->title = \Yii::t('admin/t', 'Update object "{item}": {title}', ['item' => \yz\admin\models\User::modelTitle(), 'title' => $model->name]);
$this->params['breadcrumbs'][] = ['label' => \yz\admin\models\User::modelTitlePlural(), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
$this->params['header'] = $this->title;
?>
<div class="user-update">

    <div class="text-right">
        <?php 
Box::begin();
?>
        <?php 
echo ActionButtons::widget(['order' => [['index', 'create', 'return']], 'addReturnUrl' => false]);
?>
        <?php 
Box::end();
?>
    </div>

    <?php 
echo $this->render('_form', ['model' => $model, 'passwordForm' => $passwordForm]);
?>


</div>
Example #3
0
 public function endFooter()
 {
     echo Html::endTag('div');
     parent::endFooter();
 }