-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (67 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Map Maker</title>
<link href="https://fonts.googleapis.com/css?family=Titillium+Web:200" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" type="text/css" href="css/metabar.css" />
<link rel="stylesheet" type="text/css" href="css/toolbar.css" />
<script src="lib/immutable-js/dist/immutable.min.js"></script>
<script data-map="app" src="lib/require.js"></script>
<script>
let init = () => {
require.config({
paths: {
'App': 'js/app'
}
});
require(['App'], (app) => {
app.init();
});
};
</script>
</head>
<body onload="init()">
<div id="canvas-container">
<canvas id="map-canvas"></canvas>
<canvas id="hover-canvas"></canvas>
<div class="overlay" tabindex="1"></div>
</div>
<div id="metabar">
<div id="import" class="button">
Open
</div>
<div id="export" class="button">
Save
</div>
<div id="download-link-container"></div>
</div>
<div id="toolbar">
<div id="box-tool" class="button">
Box
</div>
<div id="diag-tool" class="button">
Diagonal
</div>
<div id="circle-tool" class="button">
Circle
</div>
<div id="terrain-difficult-tool" class="button">
Difficult Terrain
</div>
<div id="door-tool" class="button">
Door
</div>
<div id="terrain-water-tool" class="button">
Water
</div>
<div id="eraser-tool" class="button">
Eraser
</div>
<div id="move-tool" class="button">
Move
</div>
</div>
</body>
</html>