update mở tất cả cửa các thiết bị được chọn
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<div class="device-index">
|
||||
<input type='hidden' name='URL_sync_schedule' value="{Url::to(['sync-schedule'])}">
|
||||
<input type='hidden' name='URL_sync_staff' value="{Url::to(['sync-staff'])}">
|
||||
<input type='hidden' name='URL_open_door' value="{Url::to(['open-doors-of-device'])}">
|
||||
<input type='hidden' name='pageSize' value="{Yii::$app->params["pageSize"]}">
|
||||
|
||||
<input type='hidden' name='get_data_sync_url' value="{Url::to(['get-data-sync'])}">
|
||||
@@ -50,6 +51,9 @@
|
||||
<i class="fa fa-download fa-1-5x"></i> Xuất
|
||||
</label>
|
||||
{/if}
|
||||
<label class="action-button" onclick="openAllDoors(this);" data-href="{Url::to(['open-all-doors'])}">
|
||||
<i class="fa fa-reply fa-1-5x"></i> Mở tất cả cửa
|
||||
</label>
|
||||
<label class="action-button" onclick="_logs(this);" data-href="{Url::to(['logs'])}">
|
||||
<i class="fa fa-file fa-1-5x"></i> Ghi nhận hệ thống
|
||||
</label>
|
||||
|
||||
13
views/device/openDoor.tpl
Normal file
13
views/device/openDoor.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
<div class="well" style="height: 300px;overflow-y: scroll;" id="logs-response">
|
||||
|
||||
</div>
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-primary progress-bar-striped" id='progress' role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
|
||||
0%
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<button class="btn btn-default" data-dismiss="modal" disabled="" id="close-modal">
|
||||
<span class="fa fa-remove"></span> Đóng
|
||||
</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user