-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (67 loc) · 3.08 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
<!DOCTYPE html>
<html>
<head>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script type="text/javascript" src="scripts/sensors.js"></script>
</head>
<body style="background-color:#fefefc">
<div class="container">
<div class="row p-5">
<h5 class="display-5">Motion Streaming</h5>
</div>
<div class="row">
<div class="col-sm-1">
<h2>1</h2>
</div>
<div class="col">
<button type="button" class="btn btn-outline-primary btn-lg" onclick="requestPermission()">Request
Permission</button>
</div>
</div>
<div class="row py-5">
<div class="col-sm-1">
<h2>2</h2>
</div>
<div class="col-sm-11">
<div class="btn-group btn-group-lg" role="group" aria-label="Person select buttons">
<input type="radio" class="btn-check" name="btnradio" id="btnradio1" autocomplete="off" data-person="bd"
onchange="selectPerson(this)">
<label class="btn btn-outline-primary" for="btnradio1">BD</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio2" autocomplete="off" data-person="cvh"
onchange="selectPerson(this)">
<label class="btn btn-outline-primary" for="btnradio2">CVH</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio3" autocomplete="off" data-person="jj"
onchange="selectPerson(this)">
<label class="btn btn-outline-primary" for="btnradio3">JJ</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio4" autocomplete="off" checked
data-person="js" onchange="selectPerson(this)">
<label class="btn btn-outline-primary" for="btnradio4">JS</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio5" autocomplete="off" data-person="rt"
onchange="selectPerson(this)">
<label class="btn btn-outline-primary" for="btnradio5">RT</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio6" autocomplete="off" data-person="sp"
onchange="selectPerson(this)">
<label class="btn btn-outline-primary" for="btnradio6">SP</label>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-1">
<h2>3</h2>
</div>
<div class="col-sm-5">
<button type="button" class="btn btn-primary btn-lg" data-bs-toggle="button" autocomplete="off"
onclick="toggleStreaming()">Toggle Streaming</button>
</div>
<div class="col-sm-6">
<div class="spinner-grow text-primary" role="status" id="spinner" style="visibility:hidden">
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
</body>
</html>