-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (104 loc) · 3.72 KB
/
index.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Smart Cradle</title>
<link rel="stylesheet" href="bootstrap-3.3.5-dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="main.css">
</head>
<body>
<!-- Header -->
<header class="head-panel">
<div class="col-md-8 col-sm-8 col-xs-7" id="product-name">
Smart Cradle
</div>
<div class="col-md-4 col-sm-4 col-xs-5">
<div id="date"></div>
</div>
</header>
<!-- Main view -->
<section class="main-overview">
<div class="container">
<div class="condition-status col-md-8 col-sm-8">
<div id="infant-status">
Happy
</div>
</div>
<br>
<div class="row image-set col-md-4 col-sm-4">
<img src="wallpaper/sleeping.png" id="sleeping">
<img src="wallpaper/crying.png" id="crying">
</div>
</div>
</section>
<!-- Sounds and dryness representation -->
<section class="info">
<div class="row">
<div class="col-md-6 col-sm-6 col-xs-6 humidity">
<span class="glyphicon glyphicon-volume-up"></span>
<strong>Sound</strong>
<div class="row">
<div id="soundstatus">0%</div>
<div id="graph">
<canvas id="canvas" height="100"></canvas>
</div>
</div>
</div>
<div class="col-md-6 col-sm-6 col-xs-6 sound">
<span class="glyphicon glyphicon-tint"></span>
<strong>Pants</strong>
<div class="row">
<div id="pantstatus">Dry</div>
</div>
</div>
<div class="row" id="cradle-control-popup"></div>
</div>
</section>
<!-- Cradle control panel -->
<section class="cradle-control">
<div class="row">
<div class="col-md-2">
<span class="glyphicon glyphicon-bed"></span>
<strong>Cradle Control</strong><br>
</div>
<div class="col-md-10">
<button type="button" class="btn btn-success auto-on">Auto</button>
<button type="button" class="btn btn-danger auto-off">Auto</button>
</div>
</div>
<!-- Cradle status -->
<div class="row">
<div class="col-md-6 col-sm-6 col-xs-6">Cradle Status</div>
<div class="col-md-6 col-sm-6 col-xs-6" id="cradle-status"></div>
</div>
<!-- Control buttons -->
<div class="row">
<button type="button" id="mild-button" class="btn btn-info col-md-4 col-sm-4 col-xs-4 cradle-level" >
<span class="glyphicon glyphicon-leaf"></span>
Mild
</button>
<button type="button" id="medium-button" class="btn btn-success col-md-4 col-sm-4 col-xs-4 cradle-level" >
<span class="glyphicon glyphicon-send"></span>
Fun
</button>
<button type="button" id="stop-button" class="btn btn-danger col-md-4 col-sm-4 col-xs-4 cradle-level" >
<span class="glyphicon glyphicon-remove"></span>
Stop
</button>
</div>
</section>
<!-- Footer -->
<footer>
<div class="row">
<div class="col-md-12" id="credits">
© 2015 eXceed12 Group: Have A Zeed
</div>
</div>
</footer>
<script src="jquery-2.1.4.min.js"></script>
<script src="control.js"></script>
<script src="time.js"></script>
<script src="Chart.js-master/Chart.min.js"></script>
<script src="chartscript.js"></script>
</body>
</html>