-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtemperature.html
39 lines (35 loc) · 1.35 KB
/
temperature.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
<!DOCTYPE HTML>
<html>
<head>
<title>Temperature</title>
<meta charset="utf-8">
<link href="../base1/cockpit.css" type="text/css" rel="stylesheet">
<script src="../base1/jquery.js"></script>
<script src="../base1/cockpit.js"></script>
<script type="text/javascript" src="smoothie.js"></script>
<script type="text/javascript" src="temperature.js"></script>
<style>
tr {
font-size: 16pt
}
</style>
</head>
<body onresize="resize_canvas()">
<div align=center>
<table id=table style="width:100%;font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif">
<tr>
<th colspan="2" style="font-size:24pt;text-align:center">CPU Temperature</th>
</tr>
<tr>
<td colspan="2" style="text-align:center;width:100%"><canvas id="smoothie-chart" height="300"></canvas></td>
</tr>
<tr>
<th style="text-align:right;width:40%;padding:4px">Current Temperature [°C]:</th><td id="cur_temp" style="text-align:left;width: 60%"></td>
</tr>
<tr>
<th style="text-align:right;padding:4px">Average Temperature [°C](5m):</th><td id=avg_temp style="text-align:left"></td>
</tr>
</table>
</div>
</body>
</html>