improve responsiveness of admin

This commit is contained in:
Waut Van den Abbeele
2018-08-07 01:34:06 +02:00
parent 75e0622e13
commit 477073e255
4 changed files with 8 additions and 6 deletions

View File

@ -30,7 +30,7 @@ $module = Yii::$app->getModule('user');
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?php Pjax::begin() ?>
<div class="table-responsive">
<?= GridView::widget(
[
'dataProvider' => $dataProvider,
@ -191,7 +191,7 @@ $module = Yii::$app->getModule('user');
],
]
); ?>
</div>
<?php Pjax::end() ?>
<?php $this->endContent() ?>

View File

@ -24,7 +24,7 @@ $this->params['breadcrumbs'][] = $this->title;
?>
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<div class="table-responsive">
<?= GridView::widget(
[
'dataProvider' => $dataProvider,
@ -65,4 +65,5 @@ $this->params['breadcrumbs'][] = $this->title;
],
]
) ?>
</div>
<?php $this->endContent() ?>

View File

@ -25,7 +25,7 @@ $this->params['breadcrumbs'][] = $this->title;
?>
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<div class="table-responsive">
<?= GridView::widget(
[
'dataProvider' => $dataProvider,
@ -66,5 +66,5 @@ $this->params['breadcrumbs'][] = $this->title;
],
]
) ?>
</div>
<?php $this->endContent() ?>

View File

@ -17,7 +17,7 @@ $this->params['breadcrumbs'][] = $this->title;
?>
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<div class="table-responsive">
<?= GridView::widget(
[
'dataProvider' => $dataProvider,
@ -72,5 +72,6 @@ $this->params['breadcrumbs'][] = $this->title;
],
]
) ?>
</div>
<?php $this->endContent() ?>