PHP_SMART_HOME_V3/app/views/templates/part/sceneCreateFinal.phtml

26 lines
1.1 KiB
PHTML
Raw Normal View History

2019-08-23 11:39:42 +00:00
<div class="modal-container" id="modal">
<div class="modal">
<div class="close">
<i class="fa fa-times"></i>
</div>
2019-10-13 08:07:03 +00:00
<h4 class="mb-4"><?php $LANGMNG->echo('t_createScene');?></h4>
2019-08-23 11:39:42 +00:00
<form method="post">
<input type="hidden" name="sceneName" value="<?php echo $SCENENAME; ?>">
<input type="hidden" name="sceneIcon" value="<?php echo $SCENEICON; ?>">
<?php
$i = 0;
foreach($SETSTATEFORMDEVICES as $device){ ?>
<div class="field px-2">
<div class="label"><?php echo $device['name']; ?></div>
<select class="input" name="devices[<?php echo $device['setableSubDevices']; ?>]">
<option value="0">off</option>
<option value="1">on</option>
</select>
</div>
<?php
$i++;
} ?>
2019-10-13 08:07:03 +00:00
<input type="submit" class="button" name="submitFinal" value="<?php echo $LANGMNG->echo('b_create');?>"/>
2019-08-23 11:39:42 +00:00
</form>
</div>
</div>