forked from ruizeng/iot-board
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-demo.html
49 lines (43 loc) · 2.07 KB
/
index-demo.html
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
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>IOT Board</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="stylesheet" href="css/reset.css" media="screen" type="text/css" />
<link rel="stylesheet" href="css/board.css" media="screen" type="text/css" />
<script src="js/zepto/zepto.js"></script>
<script src="js/zepto/event.js"></script>
<script src="js/widget.js"></script>
<script src="js/iotboard.js"></script>
<script src="js/binding.js"></script>
<!-- add widget css files here -->
<link rel="stylesheet" href="widgets/text/text.widget.css" media="screen" type="text/css" />
<link rel="stylesheet" href="widgets/switch/switch.widget.css" media="screen" type="text/css" />
<link rel="stylesheet" href="widgets/led/led.widget.css" media="screen" type="text/css" />
<link rel="stylesheet" href="widgets/atmosphere/atmosphere.widget.css" media="screen" type="text/css" />
<!-- -->
<!-- add widget js files here -->
<script src="widgets/text/text.widget.js"></script>
<script src="widgets/switch/switch.widget.js"></script>
<script src="widgets/led/led.widget.js"></script>
<script src="widgets/atmosphere/atmosphere.widget.js"></script>
<!-- -->
<!-- model here -->
<script src="models/dummy/dummy.model.js"></script>
<!-- -->
</head>
<body>
<!--
<div class="widget" iotb-widget="text" data-label="text1" data-title="随意"></div>
<div class="widget" iotb-widget="text" data-label="text2" data-title="hell"></div>
<div class="widget" iotb-widget="switch" data-label="switch1" data-title="开关1"></div>
<div class="widget" iotb-widget="switch" data-label="switch2" data-title="开关2"></div>
<div class="widget" iotb-widget="led" data-label="led" data-title="灯泡"></div>
-->
<div class="widget" iotb-widget="atmosphere" data-label="atmosphere"></div>
</body>
</html>