Water #1
This commit is contained in:
parent
35bd6b8d6a
commit
6060d3362e
@ -63,7 +63,7 @@
|
|||||||
<input class="input" type="text" name="deviceToken" value="<?php echo $DEVICE['token']; ?>" disabled>
|
<input class="input" type="text" name="deviceToken" value="<?php echo $DEVICE['token']; ?>" disabled>
|
||||||
</div>
|
</div>
|
||||||
<?php if ($DEVICE['userIsAdmin']) { ?>
|
<?php if ($DEVICE['userIsAdmin']) { ?>
|
||||||
<?php if (!in_array($SUBDEVICE['type'], ['on/off', 'door'])) { ?>
|
<?php if (!in_array($SUBDEVICE['type'], ['on/off', 'door', 'water'])) { ?>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="label"><?php echo $LANG['l_sleepTime']; ?></div>
|
<div class="label"><?php echo $LANG['l_sleepTime']; ?></div>
|
||||||
<input class="input" type="int" name="sleepTime" value="<?php echo $DEVICE['sleepTime']; ?>" <?php echo (!$DEVICE['userIsAdmin'] ? 'disabled' : ''); ?>>
|
<input class="input" type="int" name="sleepTime" value="<?php echo $DEVICE['sleepTime']; ?>" <?php echo (!$DEVICE['userIsAdmin'] ? 'disabled' : ''); ?>>
|
||||||
|
Loading…
Reference in New Issue
Block a user