-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·111 lines (110 loc) · 4.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
<html>
<head>
<title>Marv1 Map Editor</title>
<link rel="shortcut icon" href="icon/favico.png" />
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/custom.css">
<script src="lib/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="js/editor.js" type="text/javascript"></script>
<script src="js/utils.js" type="text/javascript"></script>
<script src="js/validation.js" type="text/javascript"></script>
</head>
<body>
<div id="overlay">
<div class="overlay" id="newOverlay">
<div class="header lobster">
Create a new map
</div>
<div class="content">
<form id="newForm">
<table>
<tr>
<td><label>Size of the map</label></td>
<td><input class="intValue" size="6" placeholder="width" id="newForm_input_map_width" value="5"/></td>
<td>x</td>
<td><input class="intValue" size="6" placeholder="height" id="newForm_input_map_height" value="5"/></td>
</tr>
<tr>
<td><label>size of a tile</label></td>
<td><input class="intValue" size="6" placeholder="width" id="newForm_input_tile_width" value="64"/></td>
<td>x</td>
<td><input class="intValue" size="6" placeholder="height" id="newForm_input_tile_height" value="64"/></td>
</tr>
<tr>
<td colspan="4"><button id="newOK" name="ok">create</button><button class="right" id="newCancel" name="cancel">cancel</button></td>
</tr>
</table>
</form>
</div>
</div>
<div class="overlay" id="exportOverlay">
<div class="header lobster">
Export
</div>
<div class="content">
<form id="exportForm">
<textarea id="exportArea" style="font-family: monospace; height: 400px; width: 800px"></textarea>
</form>
<button class="right" id="addAnimationCancel" name="cancel" >Ok</button>
</div>
</div>
<div class="overlay" id="addAnimationOverlay" style="width: 810px">
<div class="header lobster">
Add new tiles
</div>
<div class="content">
<form id="addAnimationForm">
<table style="width: 280px; float: left;">
<tr>
<td><label>name</label></td>
<td colspan="3"><input size="31" id="addAnimationForm_input_name" value="myTest"/></td>
</tr>
<tr>
<td><label>files</label></td>
<td colspan="3"><input size="31" id="addAnimationForm_input_url" value="file:///Users/...."/></td>
</tr>
<tr>
<td><label>X offset</label></td>
<td colspan="3"><input class="intValue" size="31" id="addAnimationForm_input_offsetx" value="0"/></td>
</tr>
<tr>
<td><label>Y offset</label></td>
<td colspan="3"><input class="intValue" size="31" id="addAnimationForm_input_offsety" value="0"/></td>
</tr>
<tr>
<td><label>Type</label></td>
<td colspan="3"><select name="decision" id="addAnimationForm_input_type">
<option selected>Tiles vertical</option>
<option>Tiles horizontal</option>
</select></td>
</tr>
</table>
<div id="addAnimationImage" style="width: 518px; height: 300px; float: left;">
<div id="addAnimationSelectionBox"></div>
</div>
<div id="addAnimationButtons" style="width: 800px;">
<button id="addAnimationOK" name="ok">create</button><button class="right" id="addAnimationCancel" name="cancel">cancel</button>
</div>
</form>
</div>
</div>
</div>
<div id="toolbarTile">
<span>
<span >Marv1 Map Editor</span> >
<button id="newButton">new</button>
<button id="saveButton" class="disabled" style="width: 60px">export</button>
<button id="gridButton" class="disabled" style="width: 100px">grid on/off</button>
</span>
</div>
<div id="tilemap">
<div id="tiles"></div>
<div id="grid"></div>
</div>
<div id="toolbarAnimation">
Tiles >
<button id="addAnimationButton" class="disabled">add</button>
</div>
<div id="animations"></div>
</body>
</html>