This repository has been archived by the owner on May 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (97 loc) · 3.62 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
<!DOCTYPE html>
<html>
<head>
<title>Tileset Editor</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<link rel="stylesheet" media="screen" type="text/css" href="colorpicker/css/colorpicker.css" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="jquery-mousewheel.js"></script>
<script type="text/javascript" src="colorpicker/js/colorpicker.js"></script>
<script type="text/javascript" src="main.js"></script>
</head>
<body>
<div class="container">
<div class="top bar">
<ul id="menubar">
<li>
<span>File</span>
<ul class="dropdown" id="menu-file">
<li id="menu-file-save">Save</li>
<!--<li id="menu-file-saveas">Save as...</li>-->
<li id="menu-file-load">Load</li>
</ul>
</li>
<li>Edit</li>
<li>Palette</li>
<li>View</li>
</ul>
<div id="toolkit">
<span id="toolkit-pencil" class="tool selected">Pencil</span>
<span id="toolkit-eraser" class="tool">Eraser</span>
<span id="toolkit-unstage" class="tool">Unstage</span>
<span id="toolkit-cuttile" class="tool">Cut</span>
<span id="toolkit-copytile" class="tool">Copy</span>
<span id="toolkit-pastetile" class="tool">Paste</span>
</div>
<div id="statsbox">
<div id="framerate">Framerate: x FPS</div>
<div id="tilecoord">Tile: x</div>
<div id="tilepix">Pixel: x</div>
</div>
</div>
<div class="container">
<div class="left bar">
<table id="palette">
<tr>
<td id="palette-1" class="palette-color"></td>
<td id="palette-2" class="palette-color"></td>
</tr>
<tr>
<td id="palette-3" class="palette-color"></td>
<td id="palette-4" class="palette-color"></td>
</tr>
<tr>
<td id="palette-5" class="palette-color"></td>
<td id="palette-6" class="palette-color"></td>
</tr>
<tr>
<td id="palette-7" class="palette-color"></td>
<td id="palette-8" class="palette-color"></td>
</tr>
<tr>
<td id="palette-9" class="palette-color"></td>
<td id="palette-10" class="palette-color"></td>
</tr>
<tr>
<td id="palette-11" class="palette-color"></td>
<td id="palette-12" class="palette-color"></td>
</tr>
<tr>
<td id="palette-13" class="palette-color"></td>
<td id="palette-14" class="palette-color"></td>
</tr>
<tr>
<td id="palette-15" class="palette-color"></td>
<td id="palette-16" class="palette-color"></td>
</tr>
<tr>
<td id="palette-17" class="palette-color"></td>
<td id="palette-18" class="palette-color"></td>
</tr>
<tr>
<td id="palette-19" class="palette-color"></td>
<td id="palette-20" class="palette-color"></td>
</tr>
</table>
<div id="set-pri-col" class="setcol">
Set primary
</div>
<div id="set-sec-col" class="setcol">
Set secondary
</div>
</div>
<canvas id="editcanvas" width="100" height="100">Canvas element...</canvas>
</div>
</div>
</body>
</html>