-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (35 loc) · 1.46 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="./css/sprite-editor.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="./js/sprite-editor.js"></script>
</head>
<body>
<h1>Ascii Sprite Editor</h1>
<div id="editor">
<div id="toppane">
<form>
<label>Canvas Size:</label><input id="canvaswidth" type=number />x<input id="canvasheight" type=number />
</form>
</div>
<div id="leftpane">
<button id="playBtn"><span class="glyphicon glyphicon-play" aria-hidden="true"></span></button>
<button id="stopBtn"><span class="glyphicon glyphicon-stop" aria-hidden="true"></span></button>
<button id="saveBtn">Save</button>
<canvas id="frameSelectorCanvas" width=100 height=400></canvas>
<button id="insertFrame">Insert Frame</button>
</div>
<canvas id="editorCanvas" width=800 height=600></canvas>
<div id="rightpane">
<label>Foreground Color:</label><input id="fgColor" type=color value="#ffffff"></input>
<label>Background Color:</label><input id="bgColor" type=color value="#000000"></input>
</div>
<div id="bottompane">
<label>Duration (miliseconds)</label><input type=number></input>
</div>
</div>
</body>
</html>