-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
77 lines (76 loc) · 3.24 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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>XSpriteEditor</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="XSpriteEditor">
<meta name="author" content="xdf">
<link rel="stylesheet" href="src/stylesheet/base.css"/>
<link rel="stylesheet" href="src/stylesheet/index.css"/>
</head>
<body>
<div class="ribbon"
style="position:fixed;right:0;top:0;width:150px;height:150px;overflow:hidden;z-index:9999;"><a
target="_blank"
style="display:inline-block;width:200px;overflow:hidden;padding:6px
0;text-align:center;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);-transform:rotate(45deg);text-decoration:none;color:#fff;position:inherit;top:45px;right:-40px;border-width:1px
0;border-style:dotted;border-color:rgba(255, 255, 255, 0.7);font:700 13px
"Helvetica Neue", Helvetica, Arial, sans-serif;box-shadow:0 2px 3px
0 rgba(0, 0, 0, 0.5);background-color:#a00;"
href="//github.com/pillowjs/XSpriteEditor">Fork me on Github</a></div>
<header id="header">
<ul>
<li id="name">XSpriteEditor</li>
<li id="help">Help</li>
</ul>
</header>
<section id="content">
<div id="scene">
<div class="title">scene <span>未添加图片,请点击下面空白区</span></div>
<div class="mask">
<canvas id="playground" width="600" height="600" title="点击选择所需区域"></canvas>
<div id="frames">
<div id="timeLine">
<div class=""></div>
</div>
<ul id="layers">
</ul>
</div>
<div id="status">
<span id="size"></span>
<span id="position"></span>
<span id="able"></span>
</div>
</div>
</div>
<input type="file" accept="image/*" id="input" style="display:none;"/>
<div id="panel">
<div class="title">preview</div>
<div class="mask">
<canvas id="preview" width="300" height="300" title="操作区域在下面"></canvas>
<div id="operate">
<button id="up">up</button>
<button id="down">down</button>
<button id="left">left</button>
<button id="right">right</button>
<br/><br/>
<button id="run">run</button>
<button id="stop">stop</button>
<button id="next">next</button>
<button id="prev">prev</button>
<button id="del">delete</button>
<br/><br/>
<button title="speed up" id="big">+</button>
<button title="speed down" id="small">-</button>
</div>
<pre id="export" placeholder="export code"></pre>
</div>
</div>
</section>
<div style="display:none;">
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1642323'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/stat.php%3Fid%3D1642323' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</body>
<script src="//xudafeng.github.io/aml/1.0.0/bin/aml.min.js" data-init="src/javascript/init.js"></script>
</html>