-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
49 lines (44 loc) · 1.86 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>DNA Monitor</title>
<link rel="stylesheet" href="node_modules/photonkit/dist/css/photon.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="error">
Searching for DNA device...
</div>
<div id="chart"></div>
<div id="stats">
<span class="label">Max Power:</span><span class="stats" id="maxPower"></span>
<span class="label">Max Temperature:</span><span class="stats" id="maxTemperature"></span>
<span class="label">Temperature rise time:</span><span class="stats" id="riseTime"></span>
<span class="label">Puff Duration:</span><span class="stats" id="elapsed"></span>
</div>
<div id="controls">
<span class="label">Power</span><input class="form-control" id="psp" type="number"> <span class="unit">W</span>
<input class="btn btn-large btn-default" id="setp" type="button" value="set">
<span class="label">Temperature</span><input class="form-control" id="tsp" type="number">
<select class="form-control" id="degreeunit">
<option value="C">°C</option>
<option value="F">°F</option>
<option value="OFF">OFF</option>
</select>
<input class="btn btn-large btn-default" id="sett" type="button" value="set">
<span class="label"></span>
<input class="btn btn-large btn-default" id="fire" type="button" value="fire">
<input class="form-control" id="duration" type="number" value="1.0">
<span class="unit">s</span>
</div>
<div>
<span class="label">Battery:</span><span class="stats" id="battery"></span>
<span class="label">Cold resistance:</span><span class="stats" id="resistance"></span>
<span id="infos"></span>
</div>
</body>
<script>
require('./renderer.js');
</script>
</html>