-
Notifications
You must be signed in to change notification settings - Fork 0
/
tab-logic-titles.html
221 lines (207 loc) · 12.1 KB
/
tab-logic-titles.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
217
218
219
220
221
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
<div class="panel-heading l-filters"> </div>
<div class="panel-body">
<form class="form-logic-title" onsubmit="return aaig.generateImages(this)" onreset="return aaig.resetForm(this)"
data-image="logic-title-conteiner">
<!-- Logic title text -->
<div class="form-group">
<label for="logic-title-text" class="control-label l-label-logic-titles"> </label>
<input type="text" name="logic-title-text" id="logic-title-text" class="form-control p-text-buttons text"
onkeyup="aaig.updatePreview(this, event)" />
<textarea name="logic-title-text-batch-mode" id="logic-title-text-batch-mode"
class="form-control p-text-batch-mode text-batch-mode resizable-vertical" rows="10"
onkeyup="aaig.updatePreviewBatchMode(this)" onclick="$(this).trigger('keyup')"
style="display: none"></textarea>
</div>
<!-- Game, export format and batch mode -->
<div class="form-inline" style="margin-bottom: 5px">
<label for="logic-title-game" class="control-label l-label-game"> </label>
<select id="logic-title-game" name="logic-title-game" class="form-control game"
onchange="aaig.changeGame(this)">
<optgroup label="Nintendo DS">
<option value="aai_ds" selected>Ace Attorney Investigations</option>
</optgroup>
<optgroup label="Android">
<option value="aai_android" disabled>Ace Attorney Investigations</option>
</optgroup>
</select>
<label for="logic-title-export-format" class="control-label l-label-export-format"> </label>
<select id="logic-title-export-format" name="logic-title-export-format" class="form-control export-format">
<option value="png">PNG</option>
<option value="bmp">BMP</option>
</select>
<label for="logic-title-batch-mode" class="control-label l-label-batch-mode"> </label>
<div class="checkbox">
<input type="checkbox" name="logic-title-batch-mode" id="logic-title-batch-mode"
class="form-control batch-mode" onchange="aaig.toggleBatchModeFields(this)" />
<label for="logic-title-batch-mode"> </label>
</div>
</div>
<!-- Batch mode settings -->
<div class="form-inline batch-mode-settings" style="margin-bottom: 5px; display: none">
<label for="logic-title-batch-mode-initial-file-number"
class="control-label l-label-batch-mode-initial-file-number"> </label>
<input type="number" id="logic-title-batch-mode-initial-file-number"
name="logic-title-batch-mode-initial-file-number" class="form-control batch-mode-initial-file-number"
value="0" min="0" max="12940" maxlength="5" onkeyup="aaig.updatePreviewFilenamesBatchMode(this)"
onmouseup="aaig.updatePreviewFilenamesBatchMode(this)" />
<label for="logic-title-batch-mode-left-zeroes" class="control-label l-label-batch-mode-left-zeroes"> </label>
<input type="number" id="logic-title-batch-mode-left-zeroes" name="logic-title-batch-mode-left-zeroes"
class="form-control batch-mode-left-zeroes p-none" value="8" min="0" max="8" maxlength="4"
onkeyup="aaig.updatePreviewFilenamesBatchMode(this)" onmouseup="aaig.updatePreviewFilenamesBatchMode(this)" />
</div>
<div class="form-inline batch-mode-settings" style="margin-bottom: 5px; display: none">
<label for="logic-title-batch-mode-prefix" class="control-label l-label-batch-mode-prefix"> </label>
<input type="text" id="logic-title-batch-mode-prefix" name="logic-title-batch-mode-prefix"
class="form-control batch-mode-prefix p-text-batch-mode-prefix"
onkeydown="return aaig.maskFilenameInput(event)"
onkeyup="aaig.updatePreviewFilenamesBatchMode(this)" />
<label for="logic-title-batch-mode-suffix" class="control-label l-label-batch-mode-suffix"> </label>
<input type="text" id="logic-title-batch-mode-suffix" name="logic-title-batch-mode-suffix" value=".bch.00"
class="form-control batch-mode-suffix p-text-batch-mode-suffix"
onkeydown="return aaig.maskFilenameInput(event)"
onkeyup="aaig.updatePreviewFilenamesBatchMode(this)" />
</div>
<!-- Visual customization fields -->
<div class="panel-group" id="visual-customization-logic-titles" role="tablist">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="visual-customization-logic-titles-heading">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#visual-customization-logic-titles"
href="#visual-customization-logic-titles-collapse" aria-expanded="true"
aria-controls="visual-customization-logic-titles-collapse">
<span class="plus-minus glyphicon glyphicon-plus"></span>
<span class="l-accordion-visual-customizations"> </span>
</a>
</h4>
</div>
<div id="visual-customization-logic-titles-collapse" class="panel-collapse collapse"
role="tabpanel" aria-labelledby="visual-customization-logic-titles-heading">
<div class="panel-body">
<!-- Scale -->
<div class="form-inline" style="margin-bottom: 5px;">
<label for="automatic-scale-logic-title" class="control-label l-label-scale"> </label>
<div class="checkbox">
<input type="checkbox" name="automatic-scale-logic-title" id="automatic-scale-logic-title"
class="form-control automatic-scale" checked onchange="aaig.toggleAutomaticScale(this)" />
<label for="automatic-scale-logic-title" class="control-label l-label-automatic-scale"
style="margin-right: 7.5px; font-weight: normal"> </label>
</div>
<input type="text" id="logic-title-scale" class="slider scale" data-slider-min="0.500" data-slider-max="1.200"
data-slider-step="0.005" data-slider-value="1.045" data-slider-tooltip="hide" data-slider-enabled="false" />
<input type="text" class="form-control slider-value" disabled />
</div>
<!-- Font (3DS) -->
<div class="form-inline" style="margin-bottom: 5px">
<label for="logic-title-font" class="control-label l-label-font"> </label>
<select id="logic-title-font" name="logic-title-font" class="form-control font-3ds" data-has-filter="true"
onchange="aaig.changeFont(this)"></select>
<input type="text" id="logic-title-another-font" class="form-control p-another-font another-font" style="display: none"
onkeyup="aaig.setCustomFont(this)" />
<select id="logic-title-font-size" name="logic-title-font-size" class="form-control font-size"
onchange="aaig.changeFontSize(this)"></select>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default t-button-bold">
<input type="checkbox" class="estilos" value="b" onchange="aaig.changeFontStyle(this)" />
<b class="l-button-bold"> </b>
</label>
<label class="btn btn-default t-button-italic">
<input type="checkbox" class="estilos" value="i" onchange="aaig.changeFontStyle(this)" />
<i class="l-button-italic"> </i>
</label>
</div>
</div>
<!-- Font (DS) -->
<div class="form-inline" style="margin-bottom: 5px; margin-top: 5px; display: none">
<label for="logic-title-font-ds" class="control-label l-label-font"> </label>
<select id="logic-title-font-ds" name="logic-title-font-ds" class="form-control font-ds"
onchange="aaig.changeFontDS(this)">
<option value="a" class="l-option-ds-font-automatic" selected> </option>
<option value="n" class="l-option-ds-font-normal"> </option>
<option value="c" class="l-option-ds-font-condensed"> </option>
<option value="ec" class="l-option-ds-font-extra-condensed"> </option>
</select>
</div>
<!-- Margin Top -->
<div class="form-inline" style="margin-bottom: 5px">
<label for="logic-title-margin-top" class="control-label l-label-margin-top" style="margin-right: 7.5px"> </label>
<input type="text" id="logic-title-margin-top" class="slider margin-top"
data-slider-min="-5" data-slider-max="30" data-slider-step="1" data-slider-value="-2"
data-slider-tooltip="hide" />
<input type="text" class="form-control slider-value" disabled />
</div>
<!-- Margin Left -->
<div class="form-inline" style="margin-bottom: 5px">
<label for="logic-title-margin-left" class="control-label l-label-margin-left" style="margin-right: 7.5px"> </label>
<input type="text" id="logic-title-margin-left" class="slider margin-left"
data-slider-min="-5" data-slider-max="30" data-slider-step="1" data-slider-value="0"
data-slider-tooltip="hide" />
<input type="text" class="form-control slider-value" disabled />
</div>
<!-- Letter Spacing -->
<div class="form-inline" style="margin-bottom: 5px">
<label for="logic-title-letter-spacing" class="control-label l-label-letter-spacing" style="margin-right: 7.5px"> </label>
<input type="text" id="logic-title-letter-spacing" class="slider letter-spacing"
data-slider-min="1" data-slider-max="10" data-slider-step="1" data-slider-value="1"
data-slider-tooltip="hide" />
<input type="text" class="form-control slider-value" disabled />
</div>
<!-- Show Comparative -->
<div class="form-inline" style="margin-bottom: 5px">
<label for="logic-title-show-comparative" class="control-label l-label-show-comparative"> </label>
<div class="checkbox">
<input type="checkbox" name="logic-title-show-comparative" id="logic-title-show-comparative"
class="form-control show-comparative" onchange="aaig.toggleComparativeImage(this)" />
<label for="logic-title-show-comparative"> </label>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Generate image and reset form buttons -->
<button type="submit" id="logic-title-generate-image" class="btn btn-primary" aria-label="Generate button">
<span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
<span class="l-button-generate-image"> </span>
</button>
<button type="reset" class="btn btn-danger" aria-label="Reset button">
<span class="glyphicon glyphicon-repeat" aria-hidden="true"></span>
<span class="l-button-reset-form"> </span>
</button>
</form>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="previews row">
<div class="col-xs-12">
<div id="logic-title-preview" class="panel panel-default">
<div class="panel-heading l-preview"> </div>
<div class="panel-body">
<div id="logic-title-conteiner">
<div class="text nowrap" data-width="160"></div>
</div>
<br /><br />
<img src="images/logic_title_bg_filled.png" class="button-template" style="display: none" />
<div class="form-inline" style="display: none">
<label class="control-label l-batch-filenaming-preview"> </label>
<ul class="preview-filenames-batch-mode"></ul>
</div>
</div>
</div>
</div>
<div class="col-xs-12">
<div class="panel panel-default last-canvases">
<div class="panel-heading l-last-canvases"> </div>
<div class="panel-body"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>