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