-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (76 loc) · 3.5 KB
/
index.html
File metadata and controls
96 lines (76 loc) · 3.5 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<title>Cube Editor</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!-- Libraries Begin -->
<link type="text/css" rel="stylesheet" href="./lib/fontawesome/font-awesome.min.css">
<script type="text/javascript" src="./lib/three/three.js"></script>
<script type="text/javascript" src="./lib/three/Projector.js"></script>
<script type="text/javascript" src="./lib/three/CanvasRenderer.js"></script>
<script type="text/javascript" src="./lib/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="./lib/mousetrap.min.js"></script>
<link type="text/css" rel="stylesheet" href="./lib/dhtmlx/dhtmlx.css">
<script type="text/javascript" src="./lib/dhtmlx/dhtmlx.js"></script>
<!-- Libraries End -->
<link type="text/css" rel="stylesheet" href="style.css">
<script type="text/javascript" src="./js/history.js"></script>
<script type="text/javascript" src="./js/frame.js"></script>
<script type="text/javascript" src="./js/operator.js"></script>
<script type="text/javascript" src="./js/viewer.js"></script>
<script type="text/javascript" src="./js/editor.js"></script>
<script type="text/javascript" src="./js/ribbon.js"></script>
<script>
var userAgent = window.navigator.userAgent.toLowerCase();
if (userAgent.indexOf("chrome") == -1) {
alert("This page is designed for Chrome. This browser is not supported.");
}
var log = console.log;
</script>
</head>
<body>
<div id="container">
<div id="ribbon"></div>
<div id="frame_viewer" class="module">
<div id="demo"></div>
<form id="rotation">
<input id="button_toggle_rotation" type="button" value="" onclick="viewer.toggleRotation()"/>
</form>
</div>
<div id="frame_editor" class="module">
<p id="mes_not_selected">Press <i class="fa fa-plus"></i> to add a new frame;<br/>select an item from the left list.</p>
<div id="editor">
<form>
<input id="layer1" class="layer_button" type="button" value="layer1" onclick="editor.setLayer(0);"/>
<input id="layer2" class="layer_button" type="button" value="layer2" onclick="editor.setLayer(1);"/>
<input id="layer3" class="layer_button" type="button" value="layer3" onclick="editor.setLayer(2);"/>
<input id="layer4" class="layer_button" type="button" value="layer4" onclick="editor.setLayer(3);"/>
</form>
<table id="table_grid">
<tr>
<th class="grid" id="grid00"></th><th class="grid" id="grid10"></th><th class="grid" id="grid20"></th><th class="grid" id="grid30"></th>
</tr>
<tr>
<th class="grid" id="grid01"></th><th class="grid" id="grid11"></th><th class="grid" id="grid21"></th><th class="grid" id="grid31"></th>
</tr>
<tr>
<th class="grid" id="grid02"></th><th class="grid" id="grid12"></th><th class="grid" id="grid22"></th><th class="grid" id="grid32"></th>
</tr>
<tr>
<th class="grid" id="grid03"></th><th class="grid" id="grid13"></th><th class="grid" id="grid23"></th><th class="grid" id="grid33"></th>
</tr>
</table>
</div>
</div>
<div id="frame_list" class="module">
<form id="manipulater">
<input id="button_add_frame" type="button" value="" onclick="operator.add();"/>
<input id="button_remove_frame" type="button" value="" onclick="operator.remove();"/>
<input id="button_move_up_frame" type="button" value="" onclick="operator.move('up');"/>
<input id="button_move_down_frame" type="button" value="" onclick="operator.move('down');"/>
</form>
<div id="data_container"></div>
</div>
</div>
</body>
</html>