-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
134 lines (114 loc) · 3.75 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
130
131
132
133
134
<!DOCTYPE html>
<html>
<head>
<title>pm5-detail - display various PM5 variables available over BLE interface</title>
<script src="js/eventtarget.js"></script>
<script src="js/pm5.js"></script>
<script src="js/pm5-printables.js"></script>
<script src="js/app.js"></script>
<script src="js/ymnnjq.js"></script>
<script src="js/dragula.min.js"></script>
<link rel="stylesheet" href="css/dragula.min.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
}
.value {
float: right;
font-size: larger;
}
.element {
font-size: smaller;
}
.element:after {
content:"\000A";
white-space: pre;
}
#sidebar {
height: 100%;
width: 15em;
position: fixed;
z-index: 1;
top: 0;
left: 0;
overflow-x: hidden;
padding: 0.5em 1em 1em;
background: #eee;
}
#main {
margin-left: 16em;
padding: 1em;
}
#notifications > div > div {
width: 15em;
float: left;
border: 1px solid #000;
margin: 5px;
padding: 10px;
}
.highlight {
background: #000;
color: #fff;
font-weight: bold;
}
.hidden {
display: none;
}
#notes ul {
padding-left: 20px;
}
</style>
</head>
<body>
<div id="sidebar">
<h1 id="title">
<a href="https://ergarcade.github.io/pm5-detail/">pm5-detail</a></h1>
<hr />
<div id="description">
<p>
Display all data provided by the <a
target="_blank" href="http://www.concept2.com">Concept2</a> <a
target="_blank" href="http://www.concept2.com.au/service/monitors/pm5">Performance
Monitor 5</a> (PM5) using Bluetooth.
</p>
</div>
<div id="configuration">
<button id="connect">Connect</button>
</div>
<hr />
<div id="notes">
<h3>Requires</h3>
<ul>
<li>Computer (no mobile).</li>
<li>Bluetooth enabled.</li>
<li><a href="https://chrome.google.com">Chrome web browser</a></li>
<li>PM5 only.</li>
</ul>
<h3>Usage</h3>
<ul>
<li>Click <strong>Connect</strong> above, then
<a href="https://www.concept2.com/service/software/ergdata/how-to-use/wirelessly-connecting-devices">enable Bluetooth on the PM5</a>.</li>
<li>Accept the connection on your computer.</li>
<li>Be patient; it takes a few seconds to connect.</li>
<li>Start row / skiing / biking!</li>
<li>Click boxes to highlight.</li>
<li>Drag boxes to rearrange.</li>
</ul>
</div>
<hr />
<p>
<a href="https://ergarcade.com/">Go to the Erg Arcade</a>
</p>
</div>
<div id="main">
<div id="unsupported" class="hidden">
<p><strong>Your browser does not support Web Bluetooth!</strong></p>
<p>This application only runs on Chrome on the desktop.</p>
</div>
<div id="notifications">
</div>
</div>
<div id="debug">
</div>
</body>
</html>