thay doi co che reset thiet bi

This commit is contained in:
2020-12-22 17:08:56 +07:00
parent ef59255c52
commit 45be07f772
3 changed files with 48 additions and 34 deletions

View File

@@ -1,10 +1,11 @@
<div class="text-center">
<h4>BẠN CÓ MUỐN XÓA DỮ LIỆU LƯU TRỮ TRONG THIẾT BỊ KHÔNG?</h4>
<div class="text-left">
<input type="checkbox" name="DeleteDatabase" checked="" style="width: inherit;"> Xóa dữ liệu lưu trữ trong thiết bị
<br>
<button class="btn btn-danger" onclick="common.reset(this, 'yes');" data-href="{yii\helpers\Url::to(['/config/reset'])}">
</button>
<button class="btn btn-default" onclick="common.reset(this, 'no');" data-href="{yii\helpers\Url::to(['/config/reset'])}">
Không
<input type="checkbox" name="ResetDevice" checked="" style="width: inherit;"> Reset cấu hình thiết bị
</div>
<div class="text-center">
<button class="btn btn-danger" onclick="common.reset(this);" data-href="{yii\helpers\Url::to(['/config/reset'])}">
Đồng ý
</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Hủy bỏ</button>
</div>