update real time monitoring
This commit is contained in:
34
views/real-time/index.tpl
Normal file
34
views/real-time/index.tpl
Normal file
@@ -0,0 +1,34 @@
|
||||
{extends file=$smarty.current_dir|cat:'/../extends.tpl'}
|
||||
{use class="yii\helpers\Url"}
|
||||
{use class="yii\grid\GridView"}
|
||||
{use class="yii\widgets\Pjax" type="block"}
|
||||
{use class="app\assets\RealTimeAsset"}
|
||||
{RealTimeAsset::register($this)|void}
|
||||
{block name='content'}
|
||||
<div class="realtime-index">
|
||||
<div class="" style="font-size: 15px;">
|
||||
<label class="action-button" onclick="stopRealTime(this);" data-href="{Url::to(['stop'])}">
|
||||
<i class="fa fa-stop-circle fa-1-5x"></i> Ngừng theo dõi trực tuyến
|
||||
</label>
|
||||
</div>
|
||||
<input type="hidden" value="{Yii::$app->params['ServerIP']}" name="serverIP">
|
||||
<input type="hidden" value="{Url::to(['data'])}" name="check_data_url">
|
||||
<div style="max-height: 800px;overflow-y:auto;">
|
||||
<table class="table table-bordered table-striped table-hover" style="background:#fff;min-width:700px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Thời gian</th>
|
||||
<th>Thiết bị</th>
|
||||
<th>Cửa</th>
|
||||
<th>Mô tả sự kiện</th>
|
||||
<th>Mã thẻ</th>
|
||||
<th>Mã nhân viên</th>
|
||||
<th>Tên nhân viên</th>
|
||||
<th>Phòng ban</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id='table-lists'></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user