{extends file=$smarty.current_dir|cat:'/../extends.tpl'} {use class="yii\helpers\Url"} {use class="yii\grid\GridView"} {use class="app\assets\CaptureLogsAsset"} {CaptureLogsAsset::register($this)|void} {block name='content'}
{GridView::widget([ 'dataProvider' => $dataProvider, 'layout'=> \app\helpers\CaptureLogsGrid::getLayout(), 'tableOptions' => [ 'class' => 'table table-striped table-bordered', 'style' => 'background:#fff;min-width:700px;' ], 'rowOptions' => \app\helpers\CaptureLogsGrid::rows(), 'columns' => [ [ 'class' => 'yii\grid\SerialColumn', 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center'] ], [ 'attribute' => 'time', 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center'], 'value' => \app\helpers\CaptureLogsGrid::time() ], [ 'attribute' => 'image', 'format' => "raw", 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center'], 'value' => \app\helpers\CaptureLogsGrid::image() ], [ 'attribute' => 'confidence', 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center'], 'format' => "raw", 'value' => \app\helpers\CaptureLogsGrid::confidence() ], [ 'attribute' => 'sync_status', 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center'] ] ] ])}

Tìm kiếm dữ liệu


request->get("all")}checked=""{/if}> Hiển thị toàn bộ dữ liệu
{/block}