-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (53 loc) · 1.61 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
<html>
<head>
<script src="./lib/sigma.min.js"></script>
<script src="./lib/hungarian.algorithm.js"></script>
<script src="./index.js"></script>
<!-- END SIGMA IMPORTS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div style="position: relative">
<div id="container">
<style>
#graph-container {
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 90%;
}
</style>
<div id="graph-container"></div>
</div>
<div id="controller">
<style>
#controller {
position: fixed;
bottom: 10px;
width: 100%;
}
#controller > div {
margin: auto;
width: 268px;
}
#controller button {
height: 32px;
width: 64px;
}
</style>
<div>
<button onClick="backward()" id="backward" type="button" disabled><i class="fa fa-backward" aria-hidden="true"></i></button>
<button onClick="stop()" id="stop" type="button" disabled><i class="fa fa-stop" aria-hidden="true"></i></button>
<button onClick="play()" id="play" type="button"><i class="fa fa-play" aria-hidden="true"></i></button>
<button onClick="forward()" id="forward" type="button"><i class="fa fa-forward" aria-hidden="true"></i></button>
</div>
</div>
</div>
<script src="./controller.js"></script>
<script>
main();
</script>
</body>
</html>