update delete database option

This commit is contained in:
2020-12-22 16:41:58 +07:00
parent fc0f2ccc0f
commit d0f17afc39
4 changed files with 42 additions and 4 deletions

10
views/config/reset.tpl Normal file
View File

@@ -0,0 +1,10 @@
<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>
<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
</button>
</div>