-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (71 loc) · 3.36 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
<!doctype html>
<html>
<head>
<title>Tiny Living Temperatures</title>
<link rel="stylesheet" type="text/css" href="semantic/semantic.min.css">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="semantic/semantic.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/hammerjs@2.0.8"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-zoom@0.7.4"></script>
</head>
<body>
<h1 class="ui center aligned header">Tiny Living Temperatures</h1>
<div style="background-color:black; margin:1%;" class="ui container">
<button id="refresh-button" class="ui labeled icon button" style="margin:1%">
<i class="sync icon"></i>
Refresh
</button>
<button id="reset-button" class="ui labeled icon button" style="margin:1%">
<i class="undo icon"></i>
Reset Zoom
</button>
<p style="color:white; margin:1%;display:inline-block;">Select a date: <input type="text" id="date-selection"></p>
<div class="chart-container" style="position: relative; margin:2%; padding-bottom:10px;">
<div id="loader" style="top: 50%" class="ui disabled centered inline loader"></div>
<canvas id="temperatureChart"></canvas>
</div>
<table class="ui celled table">
<thead>
<tr><th>Latest Mini-Split Data</th>
<th id="minisplitCollectionTime"></th>
<th>Latest PWS Data</th>
<th id="pwsCollectionTime"></th>
</tr></thead>
<tbody>
<tr>
<td>Indoor Temperature</td>
<td style="color:#4dc9f6; background:black" id="indoorTemp"></td>
<td>Air Temperature</td>
<td style="color:#ff0000; background:black" id="airTemp"></td>
</tr>
<tr>
<td>Outdoor Temperature</td>
<td style="color:#cc0066; background:black" id="outdoorTemp"></td>
<td>Solar Radiation</td>
<td style="color:#ff7400; background:black" id="solarRadiation"></td>
</tr>
<tr>
<td>Target Temperature</td>
<td style="color:#7fff00; background:black" id="targetTemp"></td>
<td>Total Daily Solar Radiation</td>
<td style="color:#ff7400; background:black" id="totalDailySolarRadiation"></td>
</tr>
<tr>
<td>Power State</td>
<td class="negative" id="powerState"></td>
</tr>
</tbody>
</table>
</div>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.627.0.min.js"></script>
<script src="js/chart_config.js"></script>
<script defer src="js/common.js"></script>
</body>
</html>