-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
68 lines (62 loc) · 1.86 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
<!DOCTYPE html>
<html>
<head></head>
<style>
body {
font-family:monospace;
}
.remoteControl {
background-color:#44c767;
border-radius:28px;
border:1px solid #18ab29;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-size:15px;
padding:16px 31px;
text-decoration:none;
text-shadow:0px 1px 0px #2f6627;
}
.remoteControl:hover {
background-color:#5cbf2a;
}
#connect {
background-color: blue;
}
.stop {
background-color:red;
}
.revolve {
background-color:darkgoldenrod;
}
</style>
<body>
<div id="demo">
<h1>Skribot Web Control Demo</h1>
<div id="status"></div>
<div id="remoteControl">
<button type="button" class="remoteControl" id="connect">Connect</button>
<br><br>
<br><br>
<button type="button" class="remoteControl" id="open">Open gripper</button>
<button type="button" class="remoteControl" id="close">Close gripper</button>
<button type="button" class="remoteControl" id="pick_up">Gripper up</button>
<button type="button" class="remoteControl" id="put_down">Gripper down</button>
<br><br>
<br><br>
<button type="button" class="remoteControl revolve" id="forward">Forward</button>
<button type="button" class="remoteControl revolve" id="back">Back</button>
<button type="button" class="remoteControl revolve" id="revolve_l">Revolve_left</button>
<button type="button" class="remoteControl revolve" id="revolve_r">Revolve_rigt</button>
<button type="button" class="remoteControl stop" id="stop">Stop</button>
<br><br>
<br><br>
<button type="button" class="remoteControl" id="LED_R">LED Red</button>
<button type="button" class="remoteControl" id="LED_B">LED Blue</button>
<button type="button" class="remoteControl" id="LED_G">LED Green</button>
<button type="button" class="remoteControl" id="LED_OFF">LED OFF</button>
</div>
</div>
</body>
<script src="./index.js"></script>
</html>