-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
100 lines (93 loc) · 2.69 KB
/
index.html
File metadata and controls
100 lines (93 loc) · 2.69 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AgWe Tessel Monitor</title>
<script src="/socket.io/socket.io.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="/bootstrap.min.css">
<link rel="stylesheet" href="/bootstrap-theme.min.css">
<script src="/chart.js"></script>
<script src="/dashboard.js"></script>
</head>
<body>
<div class="container-fluid">
<h1>Hello from AgWe!</h1>
<div class="row">
<h2>
<div class="col-md-4">Temp:
<button type="button" class="btn btn-primary btn-lg active">
<div id="temp"></div>
</button>
</div>
<div class="col-md-4">Humidity:
<button type="button" class="btn btn-primary btn-lg active">
<div id="humid"></div>
</button>
</div>
<div class="col-md-4">Light:
<button type="button" class="btn btn-primary btn-lg active">
<div id="light"></div>
</button>
</div>
</h2>
</div>
<div class="row canvas-holder">
<div class="col-md-4">
<canvas id="temp-chart"></canvas>
</div>
<div class="col-md-4">
<canvas id="humid-chart"></canvas>
</div>
<div class="col-md-4">
<canvas id="light-chart"></canvas>
</div>
</div>
<div class="row">
<div class="col-md-4" id="temp-data-holder">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading" id="temp-heading">Temp History</div>
<!-- Table -->
<table class="table" id="temp-table">
<thead><tr>
<th>Time</th>
<th>Temp</th>
</tr></thead>
<tbody id="temp-body"></tbody>
</table>
</div>
</div>
<div class="col-md-4" id="humid-data-holder">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading" id="humid-heading">Humidity History</div>
<!-- Table -->
<table class="table" id="humid-table">
<thead><tr>
<th>Time</th>
<th>Humidity</th>
</tr></thead>
<tbody id="humid-body"></tbody>
</table>
</div>
</div>
<div class="col-md-4" id="light-data-holder">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading" id="light-heading">Light History</div>
<!-- Table -->
<table class="table" id="light-table">
<thead><tr>
<th>Time</th>
<th>Light</th>
</tr></thead>
<tbody id="light-body"></tbody>
</table>
</div>
</div>
</div>
</div>
</body>
</html>