2019-08-23 11:39:42 +00:00
|
|
|
<div class="modal-container modal-container-hiden" id="modal">
|
|
|
|
<div class="modal">
|
|
|
|
<div class="close">
|
|
|
|
<i class="fa fa-times"></i>
|
|
|
|
</div>
|
2019-10-11 12:12:05 +00:00
|
|
|
<h4 class="mb-4"><?php $LANGMNG->echo('t_createScene');?></h4>
|
2019-08-23 11:39:42 +00:00
|
|
|
<form method="post" action="" >
|
|
|
|
<div class="field">
|
2019-10-11 12:12:05 +00:00
|
|
|
<div class="label"><?php $LANGMNG->echo('w_title');?>:</div>
|
2019-08-23 11:39:42 +00:00
|
|
|
<input type="text" class="input" name="sceneName" value=""/>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
2019-10-11 12:12:05 +00:00
|
|
|
<div class="label"><?php $LANGMNG->echo('w_icon');?>:</div>
|
2019-08-23 11:39:42 +00:00
|
|
|
<select class="input fa" name="sceneIcon" <?php echo (!$DEVICE['userIsAdmin'] ? 'disabled' : ''); ?>>
|
|
|
|
<option value="">No icon</option>
|
|
|
|
<option value="f0eb"> - fa-lightbulb-o</option>
|
|
|
|
<option value="f2dc"> - fa-snowflake-o</option>
|
|
|
|
<option value="f0e7"> - fa-bolt</option>
|
|
|
|
<option value="f2c7"> - fa-thermometer-full</option>
|
|
|
|
<option value="f236"> - fa-bed</option>
|
|
|
|
<option value="f185"> - fa-sun-o</option>
|
|
|
|
<option value="f2db"> - fa-microchip</option>
|
|
|
|
<option value="f011"> - fa-power-off</option>
|
|
|
|
<option value="f011"> - fa-desktop</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
2019-10-11 12:12:05 +00:00
|
|
|
<div class="label"><?php $LANGMNG->echo('l_choseDevice');?></div>
|
2019-10-11 14:52:52 +00:00
|
|
|
<select class="input" name="devices[]" multiple required>
|
2019-08-23 11:39:42 +00:00
|
|
|
<?php
|
|
|
|
foreach ($SUBDEVICES as $subdeviceId => $subdeviceData) {
|
|
|
|
echo '<option value="'.$subdeviceId.'">'.$subdeviceData['name'].'</option>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</div>
|
2019-10-11 12:12:05 +00:00
|
|
|
<input type="submit" class="button" name="submit" value="<?php $LANGMNG->echo('b_next');?>"/>
|
2019-08-23 11:39:42 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|