Push Messages #2

This commit is contained in:
jonatanrek committed 2019-10-08 16:49:08 +02:00
1 parent 1f456aaaac
commit e5f1fc61d6
6 files changed
+168 -66

No files matched your search

+9 -7
View File
@@ -29,14 +29,16 @@
}
?>
</div>
<select class="select m-1" name="room">
<option value="all">All</option>
<?php foreach ($ROOMS as $key => $room) {
if ($room['device_count'] > 0) { ?>
<option value="<?php echo $room['room_id']?>"><?php echo $room['name'] ?></option>
<div class="m-1">
<select class="select" name="room">
<option value="all">All</option>
<?php foreach ($ROOMS as $key => $room) {
if ($room['device_count'] > 0) { ?>
<option value="<?php echo $room['room_id']?>"><?php echo $room['name'] ?></option>
<?php } ?>
<?php } ?>
<?php } ?>
</select>
</select>
</div>
<div class="row no-gutters">
<?php foreach ($DATA as $roomId => $room) { ?>
<?php foreach ($room['devices'] as $deviceId => $device) { ?>