-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (127 loc) · 7.23 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="Andras Barthazi, Benke Smith">
<title>PeekSmith.web</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/peeksmith.css" rel="stylesheet">
<meta name="theme-color" content="#563d7c">
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="#">
<span id="device-name">Device Console</span>
<small id="device-voltage"></small>
</a>
</nav>
<main role="main" class="container">
<div class="starter-template">
<h1>PeekSmith web application</h1>
<div class="content" id="initial-screen">
<div class="form-group">
<button id="button-connect" type="submit" class="btn btn-primary">Connect to PeekSmith</button>
<button id="button-sbwatch-connect" type="submit" class="btn btn-primary">Connect to SB Watch</button>
<button id="button-espyon-connect" type="submit" class="btn btn-primary">Connect to Espyon</button>
<button id="button-ghostmove-connect" type="submit" class="btn btn-primary">Connect to GhostMove</button>
<button id="button-spotted-connect" type="submit" class="btn btn-primary">Connect to Spotted</button>
<button id="button-insight-connect" type="submit" class="btn btn-primary">Connect to Insight</button>
<button id="button-secondsight-connect" type="submit" class="btn btn-primary">Connect to Second Sight</button>
<button id="button-pitataboard-connect" type="submit" class="btn btn-primary">Connect to Pitata Board</button>
<button id="button-mindbuster-connect" type="submit" class="btn btn-primary">Connect to Labco Mindbuster</button>
<button id="button-isknslate-connect" type="submit" class="btn btn-primary">Connect to ISKN Slate</button>
<button id="button-bambooslate-connect" type="submit" class="btn btn-primary">Connect to Bamboo Slate</button>
</div>
</div>
<div class="content" id="connecting-screen" style="display: none;">
<div class="alert alert-primary" role="alert">
Connecting...
</div>
</div>
<div class="content" id="connected-screen" style="display: none;">
<div class="container">
<div class="row">
<div class="col">
<div class="form-group">
<label for="textarea-message">Message</label>
<textarea class="form-control" id="textarea-message" cols="30" rows="10" placeholder="Start typing your message"></textarea>
</div>
<div class="form-group">
<button id="button-test-vibrations" class="btn btn-primary">Test vibrations</button>
</div>
<div class="form-group">
<div class="btn-group" role="group">
<button id="button-ps-align-left" type="button" class="button-ps-align btn btn-primary">Left</button>
<button id="button-ps-align-center" type="button" class="button-ps-align btn btn-primary active">Middle</button>
<button id="button-ps-align-right" type="button" class="button-ps-align btn btn-primary">Right</button>
</div>
</div>
<div class="form-group">
<div class="btn-group" role="group">
<button id="button-ps-font-au" type="button" class="button-ps-font btn btn-primary active">Auto</button>
<button id="button-ps-font-16" type="button" class="button-ps-font btn btn-primary">16</button>
<button id="button-ps-font-24" type="button" class="button-ps-font btn btn-primary">24</button>
<button id="button-ps-font-32" type="button" class="button-ps-font btn btn-primary">32</button>
<button id="button-ps-font-64" type="button" class="button-ps-font btn btn-primary">64</button>
<button id="button-ps-font-roboto" type="button" class="button-ps-font btn btn-primary">Roboto</button>
<button id="button-ps-font-seven44" type="button" class="button-ps-font btn btn-primary">Seven 44</button>
</div>
</div>
<div class="form-group">
<div class="btn-group" role="group">
<button id="button-ps-long-f" type="button" class="button-ps-long btn btn-primary active">Char Wrap</button>
<button id="button-ps-long-t" type="button" class="button-ps-long btn btn-primary">Word Wrap</button>
<button id="button-ps-long-s" type="button" class="button-ps-long btn btn-primary">Scroll</button>
</div>
</div>
<div class="form-group">
<div class="input-group mb-3">
<span class="input-group-text">Scroll Speed (1 - 255)</span>
<input id="input-scroll-speed" min="1" max="255" type="number" class="form-control" placeholder="Scroll speed">
</div>
</div>
</div>
<div class="col">
<div class="form-group">
<label for="textarea-code">Code</label>
<textarea class="form-control" id="textarea-code" cols="30" rows="10" placeholder="Start typing your code"></textarea>
</div>
<div class="form-group">
<button id="button-run-code" class="btn btn-secondary">Run</button>
</div>
</div>
</div>
<div class="row">
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="checkbox-wrap-text">
<label class="form-check-label" for="checkbox-wrap-text">Wrap text</label>
</div>
</div>
<div class="row">
<div class="form-group">
<button id="button-start-discovery" class="btn btn-secondary">Start discovery</button>
</div>
<div class="form-group">
<button id="button-list-peers" class="btn btn-secondary">List peers</button>
</div>
<div id="device-table"></div>
</div>
<div id="board-canvas-wrapper">
<canvas width="420" height="600" id="board-canvas"></canvas>
</div>
<div class="row">
<div class="col">
<label>Logs</label>
<div id="log"></div>
</div>
</div>
</div>
</div>
</div>
<script src="js/ps3fwdata.js"></script>
<script src="js/cbor.js"></script>
<script src="js/devices.js"></script>
<script src="js/peeksmith.js"></script>
</main>