-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
97 lines (87 loc) · 4.65 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Walle</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/snap.svg/0.4.1/snap.svg-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.3.0/js/jquery.tooltipster.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/randomcolor/0.4.2/randomColor.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.20/webcomponents.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.3.0/css/tooltipster.min.css">
<link href='https://fonts.googleapis.com/css?family=Roboto:100' rel='stylesheet' type='text/css'>
<script src="src/scripts/libs/cycles.js"></script>
<script src="src/scripts/libs/random-number.js"></script>
<script src="src/scripts/models/wall.js"></script>
<script src="src/scripts/models/vertex.js"></script>
<script src="src/scripts/models/hole.js"></script>
<script src="src/scripts/models/window.js"></script>
<script src="src/scripts/models/door.js"></script>
<script src="src/scripts/models/events.js"></script>
<script src="src/scripts/models/room.js"></script>
<script src="src/scripts/models/scene.js"></script>
<script src="src/scripts/models/snap-layer.js"></script>
<script src="src/scripts/models/snap-line.js"></script>
<script src="src/scripts/models/snap-point.js"></script>
<script src="src/scripts/models/grid-line.js"></script>
<script src="src/scripts/models/group.js"></script>
<script src="src/scripts/libs/utils.js"></script>
<script src="src/scripts/walle.js"></script>
<script src="src/scripts/features/elements-properties.js"></script>
<script src="src/scripts/features/holes-drawer.js"></script>
<script src="src/scripts/features/doors-drawer.js"></script>
<script src="src/scripts/features/elements-remove.js"></script>
<script src="src/scripts/features/walls-drawer.js"></script>
<script src="src/scripts/features/grid.js"></script>
<script src="src/scripts/features/easter-egg.js"></script>
<script src="src/scripts/features/panel.js"></script>
<script src="src/scripts/features/debugger.js"></script>
<script src="src/scripts/features/scene-export.js"></script>
<script src="src/scripts/features/scene-importer.js"></script>
<script src="src/scripts/features/scene-remove.js"></script>
<script src="src/scripts/features/windows-drawer.js"></script>
<script src="src/scripts/features/walle-website.js"></script>
<script src="src/scripts/features/elements-move.js"></script>
<script src="src/scripts/features/visibility-layer.js"></script>
<script src="src/scripts/features/ruler.js"></script>
<script src="src/scripts/features/select.js"></script>
<link rel="stylesheet" type="text/css" href="src/styles/style.css">
<link rel="stylesheet" type="text/css" href="src/styles/walle.css">
<link rel="stylesheet" type="text/css" href="src/styles/overlay.css">
<link rel="stylesheet" type="text/css" href="src/styles/modal.css">
<link rel="stylesheet" type="text/css" href="src/styles/grid.css">
<link rel="stylesheet" type="text/css" href="src/styles/wall.css">
<link rel="stylesheet" type="text/css" href="src/styles/vertex.css">
<link rel="stylesheet" type="text/css" href="src/styles/splash.css">
<link rel="stylesheet" type="text/css" href="src/styles/hole.css">
<link rel="stylesheet" type="text/css" href="src/styles/room.css">
<link rel="stylesheet" type="text/css" href="src/styles/panel.css">
<link rel="stylesheet" type="text/css" href="src/styles/snap.css">
<link rel="stylesheet" type="text/css" href="src/styles/ruler.css">
<link rel="stylesheet" type="text/css" href="src/styles/visibility-layer.css">
<link rel="stylesheet" type="text/css" href="src/styles/icons/flaticon.css">
<link rel="import" href="src/elements/form-wall/form-wall.html">
<link rel="import" href="src/elements/form-hole/form-hole.html">
<script>
window.onload = function () {
var is_chrome = window.chrome;
if(!is_chrome){
alert("Sorry! But Walle is, at this moment, only compatible with Chrome!");
}
var container = document.getElementById('container');
var walle = window.walle = new Walle(container);
walle.feature("Panel").start();
walle.feature("VisibilityLayer").start();
walle.feature("Grid").start();
walle.feature("Ruler").start();
jQuery(document).ready(function() {
console.log('start');
jQuery('.tooltip').tooltipster();
});
};
</script>
</head>
<body>
<div id="container"></div>
</body>
</html>