update gui get image

This commit is contained in:
2020-11-27 13:46:06 +07:00
parent 566c065303
commit 73b44eb2af
5 changed files with 230 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{extends file=$smarty.current_dir|cat:'/../extends.tpl'}
{use class="yii\helpers\Url"}
{use class="yii\grid\GridView"}
{block name='content'}
{GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'layout'=> \app\helpers\CaptureLogsGrid::getLayout(),
'tableOptions' => [
'class' => 'table table-striped table-bordered',
'style' => 'background:#fff;min-width:700px;'
],
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'Time',
'Image',
'Status',
'Remark'
]
])}
{/block}