forked from mayacakmak/emarsoftware
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex_v0.html
More file actions
75 lines (72 loc) · 3.93 KB
/
index_v0.html
File metadata and controls
75 lines (72 loc) · 3.93 KB
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
<!DOCTYPE html>
<html lang="en">
</html>
<head>
<meta charset="utf-8">
<title>EMAR Robot Frontend Tools</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="styles/style.processed.css">
</head>
<body>
<div class="topbar">
<div class="topbar-left" id="topLeft"></div>
<div class="topbar-right" id="top"></div>
</div>
<div class="container-fluid px-sm-5">
<div class="row py-3">
<div class="col-sm-10">
<h1 class="display-4">Robot Frontend Tools</h1>
</div>
<div class="col-sm-2 text-center align-self-left justify-content-center">
<div class="btn-group"><button class="btn btn-light dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span id="selectedRobot"><span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span><span class="pl-2">Loading robots...</span></span><div class="dropdown-menu" id="robots"></div></button></div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class="card bg-light mb-3">
<div class="card-header">
<h2>Robot Setup</h2>
</div>
<div class="card-body">
<p class="card-text">Select a robot above and press the button to set up its face and other parameters, before starting to control it.</p><button class="btn btn-warning" onclick="startSetup()" id="setupButton">Start Robot Setup</button></div>
</div>
</div>
<div class="col-sm-4">
<div class="card bg-light mb-3">
<div class="card-header">
<h2>Robot Control (WoZ)</h2>
</div>
<div class="card-body">
<p class="card-text">Select a robot above and press the button to start controlling the robot's actions (Wizard of Oz) from your browser.</p><button class="btn btn-warning" onclick="startController()" id="controlButton">Start Robot Controller</button></div>
</div>
</div>
<div class="col-sm-4">
<div class="card bg-light mb-3">
<div class="card-header">
<h2>Face Editing</h2>
</div>
<div class="card-body">
<p class="card-text">Press button to start the face editor to customize your faces or create new faces.</p><button class="btn btn-warning" type="button" onclick="startEditor()" id="editButton">Start Face Editor</button></div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class="card bg-light mb-3">
<div class="card-header">
<h2>Robot Administration</h2>
</div>
<div class="card-body">
<p class="card-text">Add new robots and manage permissions by pressing the button below. If you are not an administrator you can contact another administrator.</p><button class="btn btn-warning" type="button" onclick="startAdmin()" id="adminButton">Start Admin Interface</button></div>
</div>
</div>
</div>
<div class="footer"></div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="https://mayacakmak.github.io/robotbackend/scripts/config.js"></script>
<script src="scripts/database.js"></script>
<script src="scripts/index.js"></script>
</body>