forked from middangeard-fiction/yggdrasil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (60 loc) · 2.68 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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Yggdrasil</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<svg id="menu" class="icon" style="cursor: pointer; fill:#fff"><use xlink:href="dist/icons.svg#bars"></use></svg>
<h1>Yggdrasil</h1>
</header>
<canvas id="hittest" style="display: none; width: 1px; height: 1px"></canvas>
<canvas id="export" style="display: none"></canvas>
<div id="window">
<div class="window-body">
<h1 class="title">(title)</h1>
<p class="content">(content)</p>
</div>
<div class="window-buttons">
<button class="btn ok">(ok)</button>
<button class="btn cancel">(cancel)</button>
</div>
</div>
<div id="editor">
<div id="status">
<div id="control-center" title="Center map"><svg class="icon small"><use xlink:href="dist/icons.svg#center"></use></svg></div>
<div id="control-zoomin" title="Zoom in"><svg class="icon small"><use xlink:href="dist/icons.svg#zoom-in"></use></svg></div>
<div id="control-zoomout" title="Zoom out"><svg class="icon small"><use xlink:href="dist/icons.svg#zoom-out"></use></svg></div>
<input id="control-zoom" type="text" value="100%">
</div>
<canvas id="canvas" tabindex='1'></canvas>
</div>
<div id="toolpanel" class="panel panel-left show" style="width:75px"></div>
<div id="menupanel" class="panel panel-left" style="padding-left: 0; padding-right: 0"></div>
<div id="renderpanel" class="panel panel-right"></div>
<div id="mappanel" class="panel panel-right"></div>
<div id="roompanel" class="panel panel-right"></div>
<div id="connectorpanel" class="panel panel-right"></div>
<div id="notepanel" class="panel panel-right"></div>
<div id="blockpanel" class="panel panel-right"></div>
<div id="roompopup" class="popup"></div>
<div id="notepopup" class="popup"></div>
<div id="blockpopup" class="popup"></div>
<div id="connectorpopup" class="popup"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.runtime.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/1.3.8/FileSaver.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.21.0/system.js"></script>
<script src="dist/handlebars.js"></script>
<script src="dist/app.js"></script>
<script>
System.import('app').then(function(m) {
m.App.initialize();
});
</script>
</body>
</html>