-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
140 lines (138 loc) · 5.63 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<html>
<head>
<title>JS Gonstruct</title>
<link href="Libs/jQueryUI/jquery-ui.css" rel="stylesheet">
<link href="Libs/Bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="Libs/Bootstrap/css/bootstrap-theme.css" rel="stylesheet">
<link href="Libs/font-awesome/css/font-awesome.css" rel="stylesheet">
<style>
.ui-layout-center {
padding: 0px !important;
}
.ui-layout-north {
padding: 0px !important;
overflow: visible !important;
z-index: 5 !important;
}
.ui-layout-east {
padding: 0px !important;
}
#side_tabs, #level_tabs {
padding: 0px;
background-color:#dadada;
}
.navbar-nav > li > a {padding-top:5px !important; padding-bottom:5px !important;}
.navbar {min-height:10px !important;}
.navbar {margin-bottom:0px !important;}
.nav-tabs {min-height:30px;}
.nav-tabs li a {padding-top:5px !important; padding-bottom:5px !important;}
.nav-tabs li a {text-decoration:none; color:#000;}
</style>
<script src="phaser.js"></script>
<script src="main.js"></script>
<!--<script src="main.js"></script>-->
</head>
<body>
<div id="level_render" class="ui-layout-center" style="margin:0px; !important"></div>
<div class="ui-layout-north">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<ul class="nav navbar-nav" id="main_menu">
<li class="dropdown"><a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown">File</a>
<ul class="dropdown-menu" role="menu">
<li id="menu_new"><a>New</a></li>
<li id="menu_open"><a>Open</a></li>
<li id="menu_save"><a>Save</a></li>
<li id="menu_saveAs"><a>Save As...</a></li>
<li id="menu_close"><a>Close</a></li>
<li class="divider"></li>
<li id="menu_exit"><a>Exit</a></li>
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown">Edit</a>
<ul class="dropdown-menu" role="menu">
<li class="disabled" id="menu_undo"><a>Undo</a></li>
<li class="disabled" id="menu_redo"><a>Redo</a></li>
<li class="divider"></li>
<li class="disabled" id="menu_cut"><a>Cut</a></li>
<li class="disabled" id="menu_copy"><a>Copy</a></li>
<li class="disabled" id="menu_paste"><a>Paste</a></li>
<li id="menu_delete"><a>Delete</a></li>
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown">Level</a>
<ul class="dropdown-menu" role="menu">
<li><a>Create Link</a></li>
<li><a>Links</a></li>
<li class="divider"></li>
<li><a>Signs</a></li>
<li><a>NPCs</a></li>
<li><a>Tilesets</a></li>
<li class="divider"></li>
<li><a>Execute</a></li>
<li><a>Screenshot</a></li>
</ul>
</li>
<li class="dropdown"><a href="#" class="dropdown-toggle" role="button" data-toggle="dropdown">Help</a>
<ul class="dropdown-menu" role="menu">
<li id="menu_about"><a>About</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<div id="main_toolbar_1" role="toolbar" class="btn-group">
<button type="button" class="btn btn-default" id="toolbar_new" aria-label="New">
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
</button>
<button type="button" class="btn btn-default" id="toolbar_open" aria-label="Open">
<span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span>
</button>
<button type="button" class="btn btn-default" id="toolbar_save" aria-label="Save">
<span class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span>
</button>
<button type="button" class="btn btn-default" id="toolbar_close" aria-label="Close">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
</div>
<div id="main_toolbar_2" role="toolbar" class="btn-group">
<button type="button" class="btn btn-default disabled" id="toolbar_undo" aria-label="Undo">
<i class="fa fa-undo" aria-hidden="true"></i>
</button>
<button type="button" class="btn btn-default disabled" id="toolbar_redo" aria-label="Redo">
<i class="fa fa-repeat" aria-hidden="true"></i>
</button>
</div>
<div id="main_toolbar_3" role="toolbar" class="btn-group">
<button type="button" class="btn btn-default disabled" id="toolbar_cut" aria-label="Cut">
<i class="fa fa-cut" aria-hidden="true"></i>
</button>
<button type="button" class="btn btn-default disabled" id="toolbar_copy" aria-label="Copy">
<i class="fa fa-copy" aria-hidden="true"></i>
</button>
<button type="button" class="btn btn-default disabled" id="toolbar_paste" aria-label="Paste">
<i class="fa fa-paste" aria-hidden="true"></i>
</button>
</div>
<ul id="level_tabs" class="nav nav-tabs">
</ul>
</div>
<div class="ui-layout-south">South</div>
<div class="ui-layout-east" style="overflow:hidden;">
<ul id="side_tabs" class="nav nav-tabs">
<li role="presentation" id="side_tabs_tiles" class="active"><a role="tab" href="#">Tiles</a></li>
<li role="presentation" ><a role="tab" href="#">NPCs</a></li>
<li role="presentation" ><a role="tab" href="#">Predefined</a></li>
</ul>
<div style="overflow:scroll; position: relative; top 0px; left: 0px;" id="tab_tile_render">
<img draggable="false" style="width: 2048px; height:512px;" id="tile_render"></div>
</div>
</div>
<div id="about_dialog" title="About">
jsGConstruct - an unofficial Graal Online Level Editor<br />
Version: 0.0.5<br />
<br />
Graal Online is Copyright © by Cyberjoueurs
</div>
</body>
</html>