-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (79 loc) · 2.26 KB
/
index.html
File metadata and controls
80 lines (79 loc) · 2.26 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
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>POC Map Representation</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css">
<style>
body {
font-family: "Coolville", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
-webkit-font-smoothing: antialiased;
background: rgb( 0, 0, 0 );
}
.controls {
list-style-type: none;
padding: 0;
position: absolute;
top: 5px;
right: 5px;
width: 200px;
background: rgba( 255, 255, 255, .1 );
border-radius: 3px;
padding: 12px 0px;
margin: 0;
}
.controls li {
width: 100%;
}
.controls .btn {
width: 100%;
background: transparent;
border: none;
font-size: 20px;
color: rgb( 0, 87, 132 );
line-height: 2;
}
.controls .btn:hover {
background: rgba( 255, 255, 255, .25 );
color: rgb( 178, 220, 239 );
}
.controls .divider {
background: rgb( 178, 220, 239 );
height: 6px;
margin: 6px 0;
}
.controls .info {
width: 100%;
background: transparent;
color: rgb( 163, 206, 39 );
font-size: 20px;
line-height: 40px;
min-height: 40px;
text-align: center;
}
.canvas {
width: 640px;
height: 480px;
background: rgb( 0, 0, 0 );
margin: 5px;
}
</style>
</head>
<body>
<ul class="controls">
<li><button class="btn js-save">Save</button></li>
<li><button class="btn js-load">Load</button></li>
<li><div class="divider"></div></li>
<li><div class="info js-dir"></div></li>
<li><button class="btn js-rotcw">Rotate CW</button></li>
<li><button class="btn js-rotccw">Rotate CCW</button></li>
<li><button class="btn js-rot180">Rotate 180</button></li>
<li><div class="divider"></div></li>
<li><button class="btn js-logmap">Log Map</button></li>
</ul>
<canvas class="canvas js-canvas" width="640" height="480"></canvas>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/idbwrapper/1.6.0/idbstore.min.js"></script>-->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/EventEmitter/4.3.0/EventEmitter.min.js"></script>-->
<script src="build.js"></script>
</body>
</html>