-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·216 lines (197 loc) · 12.9 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link id="mainStyle" rel="stylesheet" href="css/styles.css"/>
<title></title>
</head>
<body>
<div id="content" class="content">
<div id="main" class="main">
<!-- Misc Specs / Artboard Helpers -->
<div>
<input type="checkbox" id="dimensions-artboards" class="toggle-input dimensions-artboards" checked="checked">
<label class="section-header toggle" for="dimensions-artboards">Dimensions / Artboards</label>
<div class="section section-group columns toggle-content">
<div class="flex-item">
<div class="section">
<div class="section-header">Dimensions:</div>
<div class="button-group icon-button-group columns">
<button id="auto_spec" class="both icon-button button flex-item"><span class="button-text">both</span></button>
<button id="horz_spec" class="horz icon-button button flex-item"><span class="button-text">horz</span></button>
<button id="vert_spec" class="vert icon-button button flex-item"><span class="button-text">vert</span></button>
</div>
</div>
<div class="section">
<div class="section-header">Spacing:</div>
<div class="button-group icon-button-group columns">
<!-- <button id="spaceBetweenSpec" class="icon-button button flex-item"><span class="button-text">both</span></button> -->
<button id="h-spacing" class="h-spacing icon-button button flex-item"><span class="button-text">horz</span></button>
<button id="v-spacing" class="v-spacing icon-button button flex-item"><span class="button-text">vert</span></button>
</div>
</div>
<div class="section">
<div class="section-header">Edge Distance:</div>
<div class="button-group icon-button-group columns">
<button id="specDistFromLeft" class="specDistFromLeft button icon-button flex-item"><span class="button-text">from left</span></button>
<button id="specDistFromRight" class="specDistFromRight button icon-button flex-item"><span class="button-text">from right</span></button>
<button id="specDistFromTop" class="specDistFromTop button icon-button flex-item"><span class="button-text">from top</span></button>
<button id="specDistFromBottom" class="specDistFromBottom button icon-button flex-item"><span class="button-text">from bottom</span></button>
</div>
</div>
</div>
<div class="flex-item">
<div class="section">
<div class="section-header">Artboard Utils:</div>
<div class="button-group flex-no-wrap flex-column">
<button id="makeArtboardBackground" class="flex-item button">Add Background</button>
<button id="makeAllArtboardBackgrounds" class="flex-item button">Add All Backgrounds</button>
<button id="doAddArtboardNames" class="flex-item button">Add Names</button>
<button id="doEditArtboardNames" class="flex-item button">Rename</button>
<button id="artboardsToLayers" class="flex-item button">Artboards to Layers</button>
<br />
<button id="objectDetails" class="flex-item button">Object Details</button>
</div>
</div>
</div>
</div>
</div>
<!-- Misc Text / Variables -->
<div>
<input type="checkbox" id="units-misc" class="toggle-input units-misc" checked="checked">
<label class="section-header toggle" for="units-misc">Units / Text</label>
<div class="toggle-content">
<div class="section">
<div class="columns">
<div class="form-input checkbox-input flex-item" >
<label>
<input name="colorSpec" id="colorSpec" class="form-val" type="checkbox">
<span class="checkbox-label">add color & opacity </span>
</label>
</div>
<button id="getSelectedColorSpecs" class="button flex-item">colors</button>
</div>
</div>
<div class="section section-group columns">
<div class="flex-item">
<div class="form-input text-input" >
<label>units</label>
<input name="units" id="units" class="form-val str-val" type="text" size='5' value="dp">
</div>
<div class="form-input text-input" >
<label>font units</label>
<input name="fontUnits" id="fontUnits" class="form-val str-val" type="text" size='5' value="dp">
</div>
<div class="form-input text-input" >
<label>spacing</label>
<input name="spacing" id="objectPadding" class="form-val num-val" type="text" size='5' value="10">
</div>
<div class="form-input text-input" >
<label>base unit</label>
<input name="unitBase" id="unitBase" class="form-val num-val" type="text" size='5' value="3">
</div>
<div class="form-input checkbox-input" >
<label>
<input name="guessBase" id="guessBase" class="form-val" type="checkbox" checked="checked">
<span class="checkbox-label">guess base unit</span>
</label>
</div>
</div>
<div class="flex-item text-options">
<div class="button-with-info">
<button id="specAllText" class="button">spec all text</button>
<small class="info">visible/unlocked</small>
</div>
<div class="button-with-info">
<button id="divideTextFrame" class="flex-item button">Divide Textframe</button>
</div>
<div class="button-with-options">
<button id="selectSimilarText" class="button">select similar text</button>
<div class="button-options">
<label class="option">
<input name="by-size" id="by-size" class="form-val" type="checkbox" checked="checked">
<span class="checkbox-label">size</span>
</label>
<label class="option">
<input name="by-color" id="by-color" class="form-val" type="checkbox" checked="checked">
<span class="checkbox-label">color</span>
</label>
<label class="option">
<input name="by-family" id="by-family" class="form-val" type="checkbox" checked="checked">
<span class="checkbox-label">family</span>
</label>
<label class="option">
<input name="by-style" id="by-style" class="form-val" type="checkbox" checked="checked">
<span class="checkbox-label">style</span>
</label>
<label class="option">
<input name="by-opacity" id="by-opacity" class="form-val" type="checkbox" checked="checked">
<span class="checkbox-label">opacity</span>
</label>
</div>
</div>
<div id="flickr-search" class="button-with-options">
<input name="flickr-tags" id="flickr-tags" class="form-val" type="text" size='30' value="" placeholder="tags">
<button id="flickr-search-btn" class="button">Flickr</button>
</div>
<div id="rhap-favorites" class="button-with-options hide">
<button id="get-remote" class="button">Build Song Rows</button>
<div class="option" >
<label>count</label>
<input name="remoteCount" id="remoteCount" class="form-val num-val" type="text" size='2' value="5">
</div>
<div class="option" >
<label>offset</label>
<input name="rhap-image-offset" id="rhap-image-offset" class="form-val num-val" type="text" size='2' value="0">
</div>
<div class="option select-option">
<select id="rhap-users" name="rhap-users">
</select>
</div>
<div class="option select-option">
<select id="rhap-image-size" name="rhap-image-size">
<option value="120x120">120x120</option>
<option value="200x200">200x200</option>
<option value="300x300">300x300</option>
<option value="600x600">600x600</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Live Input -->
<div>
<input type="checkbox" id="show-live-input" class="toggle-input show-live-input" checked="checked">
<label class="section-header toggle" for="show-live-input">Live Input</label>
<div class="section live-input-section toggle-content">
<div class="section-editor"><pre id="editor">// js input</pre></div>
<button id="run-input" class="button">run</button>
</div>
</div>
<!-- Linked Scripts -->
<div class="section-container">
<input type="checkbox" id="show-scripts" class="toggle-input show-scripts" checked="checked">
<label class="section-header toggle" for="show-scripts">Linked Scripts</label>
<div class="section toggle-content">
<div id="linked-scripts" class="button-group flex-no-wrap flex-column linked-scripts toggle-content"></div>
</div>
</div>
<div id="output2" class="output-panel "></div>
<div id="output" class="output-panel "></div>
</div>
<div class="test-stuff fixed-bottom">
<button id="btn_reload" class="button">Reload</button>
<!-- <button id="colors_spec" class="button">All Colors</button> -->
<button id="testFunction" class="button">test</button>
</div>
</div>
<script src="js/libs/CSInterface.js"></script>
<script src="js/libs/jquery-2.0.2.min.js"></script>
<script src="js/libs/underscore.js"></script>
<script src="js/themeManager.js"></script>
<script src="js/libs/ace.js"></script>
<script src="js/main.js"></script>
</body>
</html>