-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
55 lines (49 loc) · 1.92 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Icon Generator by File API</title>
<link rel="stylesheet" href="css/app.css">
<script src="js/canvas-to-blob/canvas-to-blob.min.js"></script>
<script src="js/html5slider/html5slider.js"></script>
<script src="js/IconGen.js"></script>
<script src="js/app.js"></script>
</head>
<body class="ig-nojs">
<script>IconGen.enable();</script>
<h1>Icon Generator by File API</h1>
<div id="ig-main">
<div class="ig-notSupport">
<p>このブラウザは対応してないですやん!</p>
<ul>
<li>Chrome 6 以上</li>
<li>Firefox 3.6 以上</li>
<li>Opera 11.1 以上</li>
<li>IE 10 以上</li>
</ul>
<p>で動く可能性があるそうよ!</p>
</div>
<div id="ig-drawArea">
<div class="ig-drawSize">Size: <input id="ig-drawSize" type="range" value="100" min="16" max="400"></div>
<div class="ig-result"><canvas id="ig-result"></canvas></div>
<div id="ig-realSize"></div>
</div>
<div id="ig-upload">
<p>ここに画像をドロップするかファイルを選択してや!<br><input type="file" id="ig-fileField"></p>
<p>※画像のサイズが大きすぎるとシンドイ</p>
</div>
<ul id="ig-controls">
<li>
<select id="ig-frameList">
<option value="frame/01.png" selected="selected">frame1</option>
<option value="frame/02.png">frame2</option>
<option value="frame/03.png">frame3</option>
</select>
</li>
<li><a href="javascript:void(0)" id="ig-download">Download</a></li>
<li><a href="javascript:void(0)" id="ig-exit">Exit</a></li>
</ul>
</div>
<a href="https://github.com/rewish/IconGen/"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/camo.github.com/e6bef7a091f5f3138b8cd40bc3e114258dd68ddf/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub"></a>
</body>
</html>