disable nút luôn đóng, luôn mở
This commit is contained in:
parent
8b01066314
commit
cf95ab15ee
|
@ -48,7 +48,7 @@ $config = [
|
|||
],
|
||||
'assetManager' => [
|
||||
'class' => 'app\\components\\AssetManager',
|
||||
'appendVersion' => '1.0.0',
|
||||
'appendVersion' => '1.0.3',
|
||||
'bundles' => [
|
||||
'dmstr\web\AdminLteAsset' => [
|
||||
'skin' => 'skin-blue',
|
||||
|
|
|
@ -35,12 +35,12 @@
|
|||
<button class="btn btn-primary" onclick="openDoor(this);" data-href="{yii\helpers\Url::to(['open-door', 'id' => $model->id, 'door' => $d->code])}">
|
||||
Mở
|
||||
</button>
|
||||
<button id="always-open-{$d->id}" class="change-duration-{$d->id} btn btn-{if $d->always_open}warning{else}default{/if}" onclick="changeDuration(this);" data-href="{yii\helpers\Url::to(['change-duration', 'id' => $d->id, 'duration' => 255])}">
|
||||
{*<button id="always-open-{$d->id}" class="change-duration-{$d->id} btn btn-{if $d->always_open}warning{else}default{/if}" onclick="changeDuration(this);" data-href="{yii\helpers\Url::to(['change-duration', 'id' => $d->id, 'duration' => 255])}">
|
||||
Luôn mở
|
||||
</button>
|
||||
<button id="always-close-{$d->id}" class="change-duration-{$d->id} btn btn-{if $d->always_close}warning{else}default{/if}" onclick="changeDuration(this);" data-href="{yii\helpers\Url::to(['change-duration', 'id' => $d->id, 'duration' => 0])}">
|
||||
Luôn đóng
|
||||
</button>
|
||||
</button>*}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
|
Loading…
Reference in New Issue
Block a user