This repository has been archived by the owner on Jun 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
58 lines (52 loc) · 2.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#f17801">
<meta name="mobile-web-app-capable" content="yes">
<meta name="description" content="An app to control LEGO Power Functions via BLE with your smartphone">
<title>Teleguide</title>
<link rel="manifest" href="manifest.json">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
<link rel="shortcut icon" href="icons/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
</head>
<body>
<div class="app">
<div class="toolbar">
<div id="device-name" class="name">Teleguide</div>
<div class="buttons">
<button id="connect" type="button" aria-label="Connect">
<i class="material-icons">bluetooth_searching</i>
</button>
<button id="disconnect" type="button" aria-label="Disconnect">
<i class="material-icons">bluetooth_disabled</i>
</button>
</div>
</div>
<div id="terminal" class="terminal"></div>
<div class="bottom-toolbar">
<select id="channel">
<option selected value="0">CH 1</option>
<option value="1">CH 2</option>
<option value="2">CH 3</option>
<option value="3">CH 4</option>
</select>
<div></div>
<button id="calibrate" aria-label="Calibrate">
<i class="material-icons">gps_fixed</i>
</button>
</div>
</div>
<script src="js/lib/kotlin.js"></script>
<!--suppress JSUnresolvedLibraryURL -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/nosleep/0.6.0/NoSleep.min.js"></script>
<script src="js/teleguide.js"></script>
<script src="js/companion.js" data-service-worker="sw.js"></script>
</body>
</html>