forked from hi104/psd-grd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (75 loc) · 2.86 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
<html>
<head>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="css/style.css" />
<link type="text/css" rel="stylesheet" href="css/bootstrap.css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
<script src="bootstrap.min.js"></script>
<script type="text/javascript">
var USE_TYPEDARRAY = true;
var PSD = {};
</script>
<script type="text/javascript" src="vendor/StreamReader.js"></script>
<script type="text/javascript" src="psd-grd.js"></script>
<script type="text/javascript" src="main.js"></script>
</head>
<body>
<div class="container" style="padding-top:50px">
<div id="file-info">
<div id="file-list">
</div>
</div>
<div class="dropfile" id="drop_zone">
<div style="padding-top:30px;margin:auto;width:800px;text-align:center">
Drop file here .grd file
or select file
<input id="files" type='file'>
</div>
</div>
<div class="row">
<div class="span4">
<h2>Gradient</h2>
<div style="height:450px;overflow-y:scroll;border:1px solid #ccc;padding:1px">
<div id="gradient-panel" ></div>
</div>
</div>
<div id="gradient-inf-panel" class="span8">
<h2>Preview</h2>
<div id="sample-box-wrap" style="height:50px;padding:10px;border:1px solid #ccc">
<div id="sample-box" style="height:100%;width:100%;">
</div>
</div>
<div style="padding-top:20px;">
<ul class="nav nav-tabs" id="panel-tabs">
<li class="active">
<a href="#css-panel">CSS</a>
</li>
<li>
<a href="#svg-panel">SVG</a>
</li>
</ul>
<div class="tab-content">
<div id="css-panel" class="tab-pane active">
<textarea id="grad-info" style="width:100%;height:300px">
</textarea>
</div>
<div id="svg-panel" class="tab-pane">
<textarea id="svg-info" style="width:100%;height:300px">
</textarea>
</div>
</div>
</div>
<div style="text-align:right">
<a class="btn" href="#" id="download-all-css" >Download All CSS</a>
<a class="btn" href="#" id="download-all-svg" >Download All SVG</a>
</div>
</div>
</div> <!-- /container -->
</body>
</html>