-
Notifications
You must be signed in to change notification settings - Fork 0
/
multi.php
37 lines (32 loc) · 1.47 KB
/
multi.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
include "header.php";
?>
<div style="margin-top: 6vh;">
<!--
Each "widget" element below defines a single widget.
Each widget needs 3 data attributes: type, item & title.
The other attributes only apply to certain types.
TODO:
This is just an example setup - replace it with the widgets you want to show!
The different data attributes:
- type: switch, sensor, openclose, weather, trash
- item: exact same item name as in OpenHAB items file
- title: text to display in bottom part of widget
- history: add this for items that use persistence (logging)
- icon: [optional] [type=switch only]
see https://fortawesome.github.io/Font-Awesome/icons/ for possible values
when omitted defaults to a lightbulb
- format: [optional] [type=sensor only]
can be used to add characters around the value returned
- trashday/recycleday: [type=trash only]
Trash days; values range from 0 (Sunday) to 6 (Saturday)
-->
<center>
<!--such WiDgEt wow-->
<a href="chambre.php"><widget data-type="switch" data-title="Musique" data-icon="music"></widget></a>
<a href="kodi.php"><widget data-type="switch" data-title="Kodi Salon" data-icon="desktop"></widget></a>
<a href="kodi.php"><widget data-type="switch" data-title="Kodi Toillette" data-icon="desktop"></widget></a>
<a href="kodi.php"><widget data-type="switch" data-title="Kodi Chambre" data-icon="desktop"></widget></a>
<?php
include "footer.php";
?>