-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·106 lines (91 loc) · 3.13 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
105
106
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Range Watcher</title>
<link rel="stylesheet" type="text/css" href="style/main.css">
<link rel="stylesheet" type="text/css" href="style/css/font-awesome.min.css">
</head>
<body class="disconnected">
<div id="container">
<section id="histogram">
<div class="display">
</div>
<div class="legend">
<div class="item">[0 : 0,1)</div>
<div class="item">[0,1 : 0,2)</div>
<div class="item">[0,2 : 0,3)</div>
<div class="item">[0,3 : 0,4)</div>
<div class="item">[0,4 : 0,5)</div>
<div class="item">[0,5 : 0,6)</div>
<div class="item">[0,6 : 0,7)</div>
<div class="item">[0,7 : 0,8)</div>
<div class="item">[0,8 : 0,9)</div>
<div class="item">[0,9 : 1)</div>
<div class="item">1</div>
</div>
</section>
<section id="capture">
<div id="capture-bar">
<div class="input-group">
Capture
<input value="1000" max="32767" min="0" type="number" id="capture-numbers">
<label for="capture-numbers">numbers</label>
<div class="btn btn-capture active btn-default" id="btn-capture">Start</div>
</div>
<div class="last-number"></div>
<div class="range forever" data-count="1000"></div>
</div>
<div class="no-range-message">
<i class="fa fa-info-circle icon"></i><br/>
There is no captured range. <br/>
Select a pattern on your device and press capture to <br/>
add your first range.
</div>
</section>
<section id="settings" class="active">
<div class="device">
<div class="graphic">
<div class="line1">
</div>
<div class="line2">
</div>
</div>
<div class="control">
<div class="btn btn-b"></div>
<div class="btn btn-a"></div>
</div>
<div class="btn btn-disconnect btn-default">Disconnect</div>
</div>
<div class="device-selector">
<div class="no-device">
<i class="fa fa-plug icon"></i><br/>
Plug in your device<br/><br/>
</div>
<div class="list-devices">
Select your device:<br/><br/>
<select class="device-list"></select>
<br/>
<div class="btn btn-connect btn-default">Connect</div>
</div>
</div>
</section>
</div>
<div id="main-menu">
<div class="btn btn-back"><i class="fa fa-angle-left"></i><div class="text">Back</div></div>
<div class="btn btn-settings active">
<i class="fa fa-usb"></i>
</div>
</div>
<script type="text/javascript">
window.$ = window.jQuery = require(__dirname+'/node_modules/jquery/dist/jquery.min.js');
</script>
<script src="client/range.js"></script>
<script src="client/capture.js"></script>
<script src="client/histogram.js"></script>
<script src="client/rangeFlow.js"></script>
<script src="client/rangeCapture.js"></script>
<script src="client/mainMenu.js"></script>
<script src="client/settings.js"></script>
</body>
</html>