<?php /** * @var yii\web\View $this * @var yii\data\ActiveDataProvider $dataProvider * @var \app\models\Form $searchModel */ use app\backend\components\ActionColumn; use kartik\dynagrid\DynaGrid; use kartik\grid\BooleanColumn; use kartik\helpers\Html; use kartik\icons\Icon; $this->title = Yii::t('app', 'Content Blocks'); $this->params['breadcrumbs'][] = $this->title; ?> <?php echo app\widgets\Alert::widget(['id' => 'alert']); ?> <?php echo DynaGrid::widget(['options' => ['id' => 'backend-chunk-grid'], 'columns' => [['class' => \kartik\grid\CheckboxColumn::className(), 'options' => ['width' => '10px']], ['class' => 'yii\\grid\\DataColumn', 'attribute' => 'id'], 'name', 'key', ['class' => BooleanColumn::className(), 'attribute' => 'preload'], ['class' => ActionColumn::className(), 'options' => ['width' => '95px'], 'buttons' => [['url' => 'edit', 'icon' => 'pencil', 'class' => 'btn-primary', 'label' => Yii::t('app', 'Edit')], ['url' => 'delete', 'icon' => 'trash-o', 'class' => 'btn-danger', 'label' => Yii::t('app', 'Delete')]]]], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => Html::tag('h3', $this->title, ['class' => 'panel-title']), 'after' => Html::a(Icon::show('plus') . Yii::t('app', 'Add'), ['/core/backend-chunk/edit', 'returnUrl' => \app\backend\components\Helper::getReturnUrl()], ['class' => 'btn btn-success']) . \app\backend\widgets\RemoveAllButton::widget(['url' => '/core/backend-chunk/remove-all', 'gridSelector' => '.grid-view', 'htmlOptions' => ['class' => 'btn btn-danger pull-right']])]]]);
/** * @var $this \yii\web\View * @var $dataProvider \yii\data\ArrayDataProvider */ use app\backend\components\ActionColumn; use app\backend\widgets\BackendWidget; use app\backend\widgets\GridView; use kartik\helpers\Html; use kartik\icons\Icon; use yii\widgets\Pjax; $this->title = Yii::t('app', 'I18n'); $this->params['breadcrumbs'] = [$this->title]; ?> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <?php BackendWidget::begin(['icon' => 'language', 'title' => $this->title, 'footer' => Html::submitButton(Icon::show('save') . Yii::t('app', 'Save'), ['class' => 'btn btn-primary'])]); ?> <?php Pjax::begin(); echo GridView::widget(['dataProvider' => $dataProvider, 'columns' => [['label' => Yii::t('app', 'Alias'), 'value' => function ($model, $key, $index, $column) { return $key; }], ['label' => Yii::t('app', 'Local file'), 'value' => function ($model, $key, $index, $column) { return $model; }], ['class' => ActionColumn::className(), 'options' => ['width' => '50px'], 'buttons' => [['url' => 'update', 'icon' => 'pencil', 'class' => 'btn-primary', 'label' => Yii::t('app', 'Edit')]]]]]); Pjax::end(); ?> <?php BackendWidget::end(); ?> </div>
<?php /** * @var $dataProvider \yii\data\ActiveDataProvider * @var $searchModel \app\components\SearchModel * @var $this \yii\web\View */ use app\backend\components\ActionColumn; use kartik\dynagrid\DynaGrid; use kartik\helpers\Html; use kartik\icons\Icon; $this->title = Yii::t('app', 'Users'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="user-index"> <?php echo DynaGrid::widget(['options' => ['id' => 'users-grid'], 'columns' => [['class' => \kartik\grid\CheckboxColumn::className(), 'options' => ['width' => '10px']], 'id', 'username', 'email:email', ['attribute' => 'status', 'filter' => \app\modules\user\models\User::getStatuses()], 'create_time:datetime', ['class' => ActionColumn::className(), 'options' => ['width' => '95px'], 'buttons' => [['url' => 'update', 'icon' => 'pencil', 'class' => 'btn-primary', 'label' => Yii::t('app', 'Edit')], ['url' => 'delete', 'icon' => 'trash-o', 'class' => 'btn-danger', 'options' => ['data-action' => 'delete'], 'label' => Yii::t('app', 'Delete')]]]], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => Html::tag('h3', $this->title, ['class' => 'panel-title']), 'after' => Html::a(Icon::show('plus') . Yii::t('app', 'Add'), ['/user/backend-user/update'], ['class' => 'btn btn-success']) . \app\backend\widgets\RemoveAllButton::widget(['url' => '/user/backend-user/remove-all', 'gridSelector' => '.grid-view', 'htmlOptions' => ['class' => 'btn btn-danger pull-right']])]]]); ?> </div>
* @var \app\models\Form $searchModel */ use kartik\dynagrid\DynaGrid; use kartik\helpers\Html; $this->title = Yii::t('app', 'Currencies'); $this->params['breadcrumbs'][] = $this->title; ?> <?php echo app\widgets\Alert::widget(['id' => 'alert']); $this->beginBlock('add-button'); echo \yii\helpers\Html::a(\kartik\icons\Icon::show('plus') . ' ' . Yii::t('app', 'Add'), ['edit', 'returnUrl' => \app\backend\components\Helper::getReturnUrl()], ['class' => 'btn btn-success']); echo \app\backend\widgets\RemoveAllButton::widget(['url' => 'remove-all', 'gridSelector' => '.grid-view', 'htmlOptions' => ['class' => 'btn btn-danger pull-right']]); $this->endBlock(); ?> <div class="row"> <div class="col-md-12"> <?php echo DynaGrid::widget(['options' => ['id' => 'currencies-grid'], 'columns' => [['class' => \app\backend\columns\CheckboxColumn::className()], 'id', 'name', 'iso_code', 'convert_nominal', 'convert_rate', ['attribute' => 'currency_rate_provider_id', 'class' => \kartik\grid\EditableColumn::className(), 'editableOptions' => ['data' => [0 => '-'] + \app\components\Helper::getModelMap(\app\modules\shop\models\CurrencyRateProvider::className(), 'id', 'name'), 'inputType' => 'dropDownList', 'placement' => 'left', 'formOptions' => ['action' => 'update-editable']], 'filter' => \app\components\Helper::getModelMap(\app\modules\shop\models\CurrencyRateProvider::className(), 'id', 'name'), 'format' => 'raw', 'value' => function ($model, $key, $index, $column) { if ($model === null || $model->rateProvider === null) { return null; } return Html::tag('div', $model->rateProvider->name, ['class' => $model->rateProvider->name]); }], ['class' => \app\backend\components\ActionColumn::className()]], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => $this->render('_tabs', ['currencies' => true]), 'after' => $this->blocks['add-button']]]]); ?> </div> </div>
<?php echo \yii\grid\GridView::widget(['id' => 'data-grid', 'dataProvider' => $objects, 'layout' => "{items}\n{summary}\n{pager}", 'columns' => [['attribute' => 'id', 'options' => ['width' => '50px']], 'name', ['attribute' => 'lastExport.filename', 'format' => 'raw', 'label' => Yii::t('app', 'Last Export File'), 'value' => function ($model, $key, $index, $column) use($bundle) { if (isset($model->lastExport)) { $date = \yii\helpers\Html::tag('small', ' [' . date('d-M-Y H:i', $model->lastExport->update_time) . ']'); switch ($model->lastExport->status) { case \app\modules\data\models\Export::STATUS_PROCESS: return \yii\helpers\Html::img($bundle->baseUrl . '/loading-block.gif') . $date; case \app\modules\data\models\Export::STATUS_COMPLETE: return \yii\helpers\Html::a(Yii::t('app', 'Download') . $date, ['/data/file/download-file', 'dir' => 'export', 'file' => $model->lastExport->filename], ['class' => 'btn btn-primary btn-sm']); case \app\modules\data\models\Export::STATUS_FAILED: return \yii\helpers\Html::tag('span', \kartik\icons\Icon::show('warning') . Yii::t('app', 'failed'), ['class' => 'label label-danger']) . $date; } } return null; }], ['attribute' => 'lastImport.status', 'format' => 'raw', 'label' => Yii::t('app', 'Last Import Status'), 'value' => function ($model, $key, $index, $column) use($bundle) { if (isset($model->lastImport)) { $date = \yii\helpers\Html::tag('small', ' [' . date('d-M-Y H:i', $model->lastImport->update_time) . ']'); switch ($model->lastImport->status) { case \app\modules\data\models\Export::STATUS_PROCESS: return \yii\helpers\Html::img($bundle->baseUrl . '/loading-block.gif') . $date; case \app\modules\data\models\Export::STATUS_COMPLETE: return \yii\helpers\Html::tag('span', \kartik\icons\Icon::show('check') . Yii::t('app', 'complete'), ['class' => 'label label-success']) . $date; case \app\modules\data\models\Export::STATUS_FAILED: return \yii\helpers\Html::tag('span', \kartik\icons\Icon::show('warning') . Yii::t('app', 'failed'), ['class' => 'label label-danger']) . $date; } } return null; }], ['class' => \app\backend\components\ActionColumn::className(), 'buttons' => [['url' => 'export', 'icon' => 'download', 'class' => 'btn-primary', 'label' => 'Export', 'text' => Yii::t('app', 'Export')], ['url' => 'import', 'icon' => 'upload', 'class' => 'btn-primary', 'label' => 'Import', 'text' => Yii::t('app', 'Import')]], 'options' => ['width' => '190px']]], 'tableOptions' => ['class' => 'table table-striped table-condensed table-hover table-bordered']]); ?> </div>
use app\backend\components\ActionColumn; use app\backend\widgets\GridView; use yii\widgets\Pjax; /** * @var $id string * @var $data \yii\data\ArrayDataProvider * @var $isRules bool */ ?> <?php Pjax::begin(); ?> <?php echo GridView::widget(['id' => $id, 'dataProvider' => $data, 'layout' => "{items}\n{summary}\n{pager}", 'columns' => [['class' => \kartik\grid\CheckboxColumn::className(), 'options' => ['width' => '10px']], ['attribute' => 'name', 'label' => Yii::t('app', 'Name'), 'options' => ['width' => '30%']], ['attribute' => 'description', 'label' => Yii::t('app', 'Description')], ['attribute' => 'ruleName', 'visible' => $isRules], ['attribute' => 'createdAt', 'label' => Yii::t('app', 'Created at'), 'value' => function ($data) { return date("Y-m-d H:i:s", $data->createdAt); }, 'options' => ['width' => '200px']], ['attribute' => 'updatedAt', 'label' => Yii::t('app', 'Updated at'), 'value' => function ($data) { return date("Y-m-d H:i:s", $data->updatedAt); }, 'options' => ['width' => '200px']], ['class' => ActionColumn::className(), 'options' => ['width' => '95px'], 'buttons' => [['url' => 'update', 'icon' => 'pencil', 'class' => 'btn-primary', 'label' => Yii::t('app', 'Edit')], ['url' => 'delete', 'icon' => 'trash-o', 'class' => 'btn-danger', 'label' => Yii::t('app', 'Delete')]], 'urlCreator' => function ($action, $model, $key, $index) { $params = is_array($key) ? $key : ['id' => (string) $key]; if ($action != 'delete') { $params['type'] = $model->type; } $params[0] = $this->context->id ? $this->context->id . '/' . $action : $action; return \yii\helpers\Url::toRoute($params); }]], 'tableOptions' => ['class' => 'table table-striped table-condensed table-hover']]); ?> <?php Pjax::end();
use kartik\icons\Icon; use yii\helpers\Url; $this->title = Yii::t('app', 'Routes'); $this->params['breadcrumbs'][] = $this->title; ?> <?php echo app\widgets\Alert::widget(['id' => 'alert']); ?> <?php $this->beginBlock('add-button'); ?> <a href="<?php echo Url::toRoute('/backend/route/edit'); ?> " class="btn btn-success"> <?php echo Icon::show('plus'); ?> <?php echo Yii::t('app', 'Add'); ?> </a> <?php $this->endBlock(); ?> <?php echo DynaGrid::widget(['options' => ['id' => 'routes-grid'], 'columns' => [['class' => 'yii\\grid\\DataColumn', 'attribute' => 'id'], 'name', 'route', ['class' => ActionColumn::className()]], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => '<h3 class="panel-title">' . $this->title . '</h3>', 'after' => $this->blocks['add-button']]]]);
<?php use kartik\dynagrid\DynaGrid; use yii\helpers\Html; use app\backend\components\ActionColumn; /* * @var $dataProvider yii\data\ActiveDataProvider * @var $searchModel app\modules\models\AddonCategory * @var $this yii\web\View */ $this->title = Yii::t('app', 'Addons categories'); $this->params['breadcrumbs'][] = $this->title; echo DynaGrid::widget(['options' => ['id' => 'addons-categories-grid'], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => Html::tag('h3', $this->title, ['class' => 'panel-title']), 'after' => Html::a(\kartik\icons\Icon::show('plus') . Yii::t('app', 'Add'), ['edit-category'], ['class' => 'btn btn-success']) . \app\backend\widgets\RemoveAllButton::widget(['url' => 'remove-all-categories', 'gridSelector' => '.grid-view', 'htmlOptions' => ['class' => 'btn btn-danger pull-right']])]], 'columns' => [['class' => \app\backend\columns\CheckboxColumn::className()], 'id', 'name', ['class' => ActionColumn::className(), 'buttons' => [['url' => 'edit-category', 'icon' => 'pencil', 'class' => 'btn-default', 'label' => Yii::t('app', 'Edit')], ['url' => 'view-category', 'icon' => 'list', 'class' => 'btn-primary', 'label' => Yii::t('app', 'View')], ['url' => 'delete-category', 'icon' => 'trash-o', 'class' => 'btn-danger', 'label' => Yii::t('app', 'Delete')]]]]]); ?>
<?php use yii\helpers\Html; use kartik\dynagrid\DynaGrid; use app\backend\components\ActionColumn; use kartik\icons\Icon; /* @var $this yii\web\View */ /* @var $searchModel app\components\SearchModel */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Categories groups'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="category-group-index"> <?php echo DynaGrid::widget(['options' => ['id' => 'order-statuses-grid'], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => Html::tag('h3', $this->title, ['class' => 'panel-title']), 'after' => Html::a(Icon::show('plus') . Yii::t('app', 'Add'), ['edit', 'returnUrl' => \app\backend\components\Helper::getReturnUrl()], ['class' => 'btn btn-success'])]], 'columns' => ['id', 'name', ['class' => ActionColumn::className()]]]); ?> </div>
<?php use app\backend\components\ActionColumn; use kartik\dynagrid\DynaGrid; use kartik\helpers\Html; use kartik\icons\Icon; /** * @var $this yii\web\View * @var $searchModel app\components\SearchModel * @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Warehouse'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="order-status-index"> <?php echo DynaGrid::widget(['options' => ['id' => 'order-statuses-grid'], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => Html::tag('h3', $this->title, ['class' => 'panel-title']), 'after' => Html::a(Icon::show('plus') . Yii::t('app', 'Add'), ['edit', 'returnUrl' => \app\backend\components\Helper::getReturnUrl()], ['class' => 'btn btn-success']) . \app\backend\widgets\RemoveAllButton::widget(['url' => '/backend/order-status/remove-all', 'gridSelector' => '.grid-view', 'htmlOptions' => ['class' => 'btn btn-danger pull-right']])]], 'columns' => [['class' => \kartik\grid\CheckboxColumn::className(), 'options' => ['width' => '10px']], 'id', 'name', 'address', ['class' => ActionColumn::className()]]]); ?> </div>
/** * @inheritdoc */ public function init() { parent::init(); $this->buttons = [['url' => 'edit', 'icon' => 'pencil', 'class' => 'btn-primary', 'label' => Yii::t('app', 'Edit')], ['url' => 'delete', 'icon' => 'trash-o', 'class' => 'btn-danger', 'label' => Yii::t('app', 'Delete')]]; }
<?php use app\backend\components\ActionColumn; use kartik\dynagrid\DynaGrid; use kartik\icons\Icon; use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Wysiwygs'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="wysiwyg-index"> <h1><?php echo Html::encode($this->title); ?> </h1> <?php echo DynaGrid::widget(['options' => ['id' => 'backend-wysiwyg-grid'], 'columns' => ['id', 'name', 'class_name', ['class' => ActionColumn::className(), 'options' => ['width' => '95px'], 'buttons' => [['url' => 'update', 'icon' => 'pencil', 'class' => 'btn-primary', 'label' => Yii::t('app', 'Edit')], ['url' => 'delete', 'icon' => 'trash-o', 'class' => 'btn-danger', 'label' => Yii::t('app', 'Delete')]]]], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => Html::tag('h3', $this->title, ['class' => 'panel-title']), 'after' => Html::a(Icon::show('plus') . Yii::t('app', 'Add'), ['/core/backend-wysiwyg/create', 'returnUrl' => \app\backend\components\Helper::getReturnUrl()], ['class' => 'btn btn-success'])]]]); ?> </div>
<?php echo $form->field($model, 'name'); ?> <?php echo $form->field($model, 'object_id')->dropDownList(app\models\Object::getSelectArray()); ?> <?php echo $form->field($model, 'is_internal')->checkbox(); ?> <?php echo $form->field($model, 'hidden_group_title')->checkbox(); ?> <?php echo $form->field($model, 'sort_order'); ?> <?php BackendWidget::end(); ?> </article> </div> </section> <?php ActiveForm::end(); if (!$model->isNewRecord) { ?> <?php echo DynaGrid::widget(['options' => ['id' => 'group-grid'], 'columns' => [['class' => \kartik\grid\CheckboxColumn::className(), 'options' => ['width' => '10px']], ['class' => \kartik\grid\DataColumn::className(), 'attribute' => 'id'], ['attribute' => 'property_handler_id', 'filter' => app\models\PropertyHandler::getSelectArray(), 'value' => function ($model, $key, $index, $widget) { $array = app\models\PropertyHandler::getSelectArray(); return $array[$model->property_handler_id]; }], 'name', 'key', ['class' => \kartik\grid\BooleanColumn::className(), 'attribute' => 'has_static_values'], ['class' => \kartik\grid\BooleanColumn::className(), 'attribute' => 'has_slugs_in_values'], ['class' => \kartik\grid\BooleanColumn::className(), 'attribute' => 'is_eav'], ['class' => \kartik\grid\BooleanColumn::className(), 'attribute' => 'is_column_type_stored'], ['class' => \kartik\grid\BooleanColumn::className(), 'attribute' => 'multiple'], ['class' => ActionColumn::className(), 'buttons' => [['url' => 'edit-property', 'icon' => 'pencil', 'class' => 'btn-primary', 'label' => 'Edit'], ['url' => 'delete-property', 'icon' => 'trash-o', 'class' => 'btn-danger', 'label' => 'Delete', 'options' => ['data-action' => 'delete']]], 'url_append' => '&property_group_id=' . $model->id]], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => Html::tag('h3', Yii::t('app', 'Properties'), ['class' => 'panel-title']), 'after' => Html::a(Icon::show('plus') . Yii::t('app', 'Add'), ['/backend/properties/edit-property', 'property_group_id' => $model->id, 'returnUrl' => \app\backend\components\Helper::getReturnUrl()], ['class' => 'btn btn-success']) . \app\backend\widgets\RemoveAllButton::widget(['url' => \yii\helpers\Url::to(['/backend/properties/remove-all-properties', 'group_id' => $model->id]), 'gridSelector' => '.grid-view', 'htmlOptions' => ['class' => 'btn btn-danger pull-right']])]]]); }
<?php /** * @var yii\web\View $this * @var yii\data\ActiveDataProvider $dataProvider * @var \app\models\Form $searchModel */ use kartik\dynagrid\DynaGrid; use kartik\helpers\Html; $this->title = Yii::t('app', 'Currency rate providers'); $this->params['breadcrumbs'][] = $this->title; ?> <?php echo app\widgets\Alert::widget(['id' => 'alert']); ?> <div class="row"> <div class="col-md-12"> <?php echo DynaGrid::widget(['options' => ['id' => 'currencies-grid'], 'columns' => [['class' => \app\backend\columns\CheckboxColumn::className()], 'id', 'name', 'class_name', ['class' => \app\backend\components\ActionColumn::className()]], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => $this->render('@app/modules/shop/views/backend-currencies/_tabs', ['currencies' => false]), 'after' => \app\backend\widgets\helpers\AddRemoveAllPanel::widget(['baseRoute' => '/shop/backend-currency-rate-provider/'])]]]); ?> </div> </div>
<?php /** * @var yii\web\View $this * @var yii\data\ActiveDataProvider $dataProvider * @var \app\models\Form $searchModel */ use app\backend\components\ActionColumn; use kartik\dynagrid\DynaGrid; use kartik\grid\BooleanColumn; use kartik\helpers\Html; use kartik\icons\Icon; $this->title = Yii::t('app', 'Property groups'); $this->params['breadcrumbs'][] = $this->title; ?> <?php echo app\widgets\Alert::widget(['id' => 'alert']); ?> <?php echo DynaGrid::widget(['options' => ['id' => 'properties-grid'], 'columns' => [['class' => \kartik\grid\CheckboxColumn::className(), 'options' => ['width' => '10px']], ['class' => 'yii\\grid\\DataColumn', 'attribute' => 'id'], ['class' => 'yii\\grid\\DataColumn', 'attribute' => 'object_id', 'filter' => app\models\Object::getSelectArray(), 'value' => function ($model, $key, $index, $widget) { $array = app\models\Object::getSelectArray(); return $array[$model->object_id]; }], 'name', ['class' => BooleanColumn::className(), 'attribute' => 'is_internal'], ['class' => BooleanColumn::className(), 'attribute' => 'hidden_group_title'], ['class' => ActionColumn::className(), 'options' => ['width' => '95px'], 'buttons' => [['url' => 'group', 'icon' => 'pencil', 'class' => 'btn-primary', 'label' => Yii::t('app', 'Edit')], ['url' => 'delete-group', 'icon' => 'trash-o', 'class' => 'btn-danger', 'label' => Yii::t('app', 'Delete'), 'options' => ['data-action' => 'delete']]]]], 'theme' => 'panel-default', 'gridOptions' => ['dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'hover' => true, 'panel' => ['heading' => Html::tag('h3', $this->title, ['class' => 'panel-title']), 'after' => Html::a(Icon::show('plus') . Yii::t('app', 'Add'), ['/backend/properties/group', 'returnUrl' => \app\backend\components\Helper::getReturnUrl()], ['class' => 'btn btn-success']) . \app\backend\widgets\RemoveAllButton::widget(['url' => '/backend/properties/remove-all-groups', 'gridSelector' => '.grid-view', 'htmlOptions' => ['class' => 'btn btn-danger pull-right']])]]]);