Lines 131-141
Link Here
|
131 |
<fieldset> |
131 |
<fieldset> |
132 |
<legend>General settings</legend> |
132 |
<legend>General settings</legend> |
133 |
<li> |
133 |
<li> |
134 |
<label for="layout_name">Layout name</label> |
134 |
<label for="layout_name">Layout name: </label> |
135 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
135 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
136 |
</li> |
136 |
</li> |
137 |
<li> |
137 |
<li> |
138 |
<label for="units">Units:</label> |
138 |
<label for="units">Units: </label> |
139 |
<select id="units" name="units"> |
139 |
<select id="units" name="units"> |
140 |
[% FOREACH unit IN units %] |
140 |
[% FOREACH unit IN units %] |
141 |
[% IF ( unit.selected ) %] |
141 |
[% IF ( unit.selected ) %] |
Lines 149-155
Link Here
|
149 |
</select> |
149 |
</select> |
150 |
</li> |
150 |
</li> |
151 |
<li> |
151 |
<li> |
152 |
<label for="page_side">Page side:</label> |
152 |
<label for="page_side">Page side: </label> |
153 |
[% IF ( page_side ) %] |
153 |
[% IF ( page_side ) %] |
154 |
<input type="radio" name="page_side" id="page_side" value="F" />Front |
154 |
<input type="radio" name="page_side" id="page_side" value="F" />Front |
155 |
<input type="radio" name="page_side" id="page_side" value="B" checked="checked" />Back |
155 |
<input type="radio" name="page_side" id="page_side" value="B" checked="checked" />Back |
Lines 182-192
Link Here
|
182 |
[% END %] |
182 |
[% END %] |
183 |
<div id="field_1_select" style="display: none;"> |
183 |
<div id="field_1_select" style="display: none;"> |
184 |
<li> |
184 |
<li> |
185 |
<label for="field_1_text">Text</label> |
185 |
<label for="field_1_text">Text: </label> |
186 |
<input type="text" name="field_1_text" id="field_1_text" size="60" value="[% field_1_text |html %]" /> |
186 |
<input type="text" name="field_1_text" id="field_1_text" size="60" value="[% field_1_text |html %]" /> |
187 |
</li> |
187 |
</li> |
188 |
<li> |
188 |
<li> |
189 |
<label for="field_1_font">Font</label> |
189 |
<label for="field_1_font">Font: </label> |
190 |
<select name="field_1_font" id="field_1_font"> |
190 |
<select name="field_1_font" id="field_1_font"> |
191 |
[% FOREACH field_1_fon IN field_1_font %] |
191 |
[% FOREACH field_1_fon IN field_1_font %] |
192 |
[% IF ( field_1_fon.selected ) %] |
192 |
[% IF ( field_1_fon.selected ) %] |
Lines 198-209
Link Here
|
198 |
</select> |
198 |
</select> |
199 |
</li> |
199 |
</li> |
200 |
<li> |
200 |
<li> |
201 |
<label for="field_1_font_size">Font size</label> |
201 |
<label for="field_1_font_size">Font size: </label> |
202 |
<input type="text" name="field_1_font_size" id="field_1_font_size" size="2" value="[% field_1_font_size |html %]" /> |
202 |
<input type="text" name="field_1_font_size" id="field_1_font_size" size="2" value="[% field_1_font_size |html %]" /> |
203 |
<span class="font_unit"> pt</span> |
203 |
<span class="font_unit"> pt</span> |
204 |
</li> |
204 |
</li> |
205 |
<li> |
205 |
<li> |
206 |
<label for="field_1_text_alignment">Text alignment</label> |
206 |
<label for="field_1_text_alignment">Text alignment: </label> |
207 |
<select name="field_1_text_alignment" id="field_1_text_alignment"> |
207 |
<select name="field_1_text_alignment" id="field_1_text_alignment"> |
208 |
[% FOREACH field_1_text_alignmen IN field_1_text_alignment %] |
208 |
[% FOREACH field_1_text_alignmen IN field_1_text_alignment %] |
209 |
[% IF ( field_1_text_alignmen.selected ) %] |
209 |
[% IF ( field_1_text_alignmen.selected ) %] |
Lines 215-225
Link Here
|
215 |
</select> |
215 |
</select> |
216 |
</li> |
216 |
</li> |
217 |
<li> |
217 |
<li> |
218 |
<label for="field_1_llx">Lower left X coordinate</label> |
218 |
<label for="field_1_llx">Lower left X coordinate: </label> |
219 |
<input type="text" name="field_1_llx" id="field_1_llx" size="2" value="[% field_1_llx |html %]" /> |
219 |
<input type="text" name="field_1_llx" id="field_1_llx" size="2" value="[% field_1_llx |html %]" /> |
220 |
</li> |
220 |
</li> |
221 |
<li> |
221 |
<li> |
222 |
<label for="field_1_lly">Lower left Y coordinate</label> |
222 |
<label for="field_1_lly">Lower left Y coordinate: </label> |
223 |
<input type="text" name="field_1_lly" id="field_1_lly" size="2" value="[% field_1_lly |html %]" /> |
223 |
<input type="text" name="field_1_lly" id="field_1_lly" size="2" value="[% field_1_lly |html %]" /> |
224 |
</li> |
224 |
</li> |
225 |
</div> |
225 |
</div> |
Lines 234-244
Link Here
|
234 |
[% END %] |
234 |
[% END %] |
235 |
<div id="field_2_select" style="display: none;"> |
235 |
<div id="field_2_select" style="display: none;"> |
236 |
<li> |
236 |
<li> |
237 |
<label for="field_2_text">Text</label> |
237 |
<label for="field_2_text">Text: </label> |
238 |
<input type="text" name="field_2_text" id="field_2_text" size="60" value="[% field_2_text |html %]" /> |
238 |
<input type="text" name="field_2_text" id="field_2_text" size="60" value="[% field_2_text |html %]" /> |
239 |
</li> |
239 |
</li> |
240 |
<li> |
240 |
<li> |
241 |
<label for="field_2_font">Font</label> |
241 |
<label for="field_2_font">Font: </label> |
242 |
<select name="field_2_font" id="field_2_font"> |
242 |
<select name="field_2_font" id="field_2_font"> |
243 |
[% FOREACH field_2_fon IN field_2_font %] |
243 |
[% FOREACH field_2_fon IN field_2_font %] |
244 |
[% IF ( field_2_fon.selected ) %] |
244 |
[% IF ( field_2_fon.selected ) %] |
Lines 250-261
Link Here
|
250 |
</select> |
250 |
</select> |
251 |
</li> |
251 |
</li> |
252 |
<li> |
252 |
<li> |
253 |
<label for="field_2_font_size">Font size</label> |
253 |
<label for="field_2_font_size">Font size: </label> |
254 |
<input type="text" name="field_2_font_size" id="field_2_font_size" size="2" value="[% field_2_font_size |html %]" /> |
254 |
<input type="text" name="field_2_font_size" id="field_2_font_size" size="2" value="[% field_2_font_size |html %]" /> |
255 |
<span class="font_unit"> pt</span> |
255 |
<span class="font_unit"> pt</span> |
256 |
</li> |
256 |
</li> |
257 |
<li> |
257 |
<li> |
258 |
<label for="field_2_text_alignment">Text alignment</label> |
258 |
<label for="field_2_text_alignment">Text alignment: </label> |
259 |
<select name="field_2_text_alignment" id="field_2_text_alignment"> |
259 |
<select name="field_2_text_alignment" id="field_2_text_alignment"> |
260 |
[% FOREACH field_2_text_alignmen IN field_2_text_alignment %] |
260 |
[% FOREACH field_2_text_alignmen IN field_2_text_alignment %] |
261 |
[% IF ( field_2_text_alignmen.selected ) %] |
261 |
[% IF ( field_2_text_alignmen.selected ) %] |
Lines 267-277
Link Here
|
267 |
</select> |
267 |
</select> |
268 |
</li> |
268 |
</li> |
269 |
<li> |
269 |
<li> |
270 |
<label for="field_2_llx">Lower left X coordinate</label> |
270 |
<label for="field_2_llx">Lower left X coordinate: </label> |
271 |
<input type="text" name="field_2_llx" id="field_2_llx" size="2" value="[% field_2_llx |html %]" /> |
271 |
<input type="text" name="field_2_llx" id="field_2_llx" size="2" value="[% field_2_llx |html %]" /> |
272 |
</li> |
272 |
</li> |
273 |
<li> |
273 |
<li> |
274 |
<label for="field_2_lly">Lower left Y coordinate</label> |
274 |
<label for="field_2_lly">Lower left Y coordinate: </label> |
275 |
<input type="text" name="field_2_lly" id="field_2_lly" size="2" value="[% field_2_lly |html %]" /> |
275 |
<input type="text" name="field_2_lly" id="field_2_lly" size="2" value="[% field_2_lly |html %]" /> |
276 |
</li> |
276 |
</li> |
277 |
</div> |
277 |
</div> |
Lines 286-296
Link Here
|
286 |
[% END %] |
286 |
[% END %] |
287 |
<div id="field_3_select" style="display: none;"> |
287 |
<div id="field_3_select" style="display: none;"> |
288 |
<li> |
288 |
<li> |
289 |
<label for="field_3_text">Text</label> |
289 |
<label for="field_3_text">Text: </label> |
290 |
<input type="text" name="field_3_text" id="field_3_text" size="60" value="[% field_3_text |html %]" /> |
290 |
<input type="text" name="field_3_text" id="field_3_text" size="60" value="[% field_3_text |html %]" /> |
291 |
</li> |
291 |
</li> |
292 |
<li> |
292 |
<li> |
293 |
<label for="field_3_font">Font</label> |
293 |
<label for="field_3_font">Font: </label> |
294 |
<select name="field_3_font" id="field_3_font"> |
294 |
<select name="field_3_font" id="field_3_font"> |
295 |
[% FOREACH field_3_fon IN field_3_font %] |
295 |
[% FOREACH field_3_fon IN field_3_font %] |
296 |
[% IF ( field_3_fon.selected ) %] |
296 |
[% IF ( field_3_fon.selected ) %] |
Lines 302-313
Link Here
|
302 |
</select> |
302 |
</select> |
303 |
</li> |
303 |
</li> |
304 |
<li> |
304 |
<li> |
305 |
<label for="field_3_font_size">Font size</label> |
305 |
<label for="field_3_font_size">Font size: </label> |
306 |
<input type="text" name="field_3_font_size" id="field_3_font_size" size="2" value="[% field_3_font_size |html %]" /> |
306 |
<input type="text" name="field_3_font_size" id="field_3_font_size" size="2" value="[% field_3_font_size |html %]" /> |
307 |
<span class="font_unit"> pt</span> |
307 |
<span class="font_unit"> pt</span> |
308 |
</li> |
308 |
</li> |
309 |
<li> |
309 |
<li> |
310 |
<label for="field_3_text_alignment">Text alignment</label> |
310 |
<label for="field_3_text_alignment">Text alignment: </label> |
311 |
<select name="field_3_text_alignment" id="field_3_text_alignment"> |
311 |
<select name="field_3_text_alignment" id="field_3_text_alignment"> |
312 |
[% FOREACH field_3_text_alignmen IN field_3_text_alignment %] |
312 |
[% FOREACH field_3_text_alignmen IN field_3_text_alignment %] |
313 |
[% IF ( field_3_text_alignmen.selected ) %] |
313 |
[% IF ( field_3_text_alignmen.selected ) %] |
Lines 319-329
Link Here
|
319 |
</select> |
319 |
</select> |
320 |
</li> |
320 |
</li> |
321 |
<li> |
321 |
<li> |
322 |
<label for="field_3_llx">Lower left X coordinate</label> |
322 |
<label for="field_3_llx">Lower left X coordinate: </label> |
323 |
<input type="text" name="field_3_llx" id="field_3_llx" size="2" value="[% field_3_llx |html %]" /> |
323 |
<input type="text" name="field_3_llx" id="field_3_llx" size="2" value="[% field_3_llx |html %]" /> |
324 |
</li> |
324 |
</li> |
325 |
<li> |
325 |
<li> |
326 |
<label for="field_3_lly">Lower left Y coordinate</label> |
326 |
<label for="field_3_lly">Lower left Y coordinate: </label> |
327 |
<input type="text" name="field_3_lly" id="field_3_lly" size="2" value="[% field_3_lly |html %]" /> |
327 |
<input type="text" name="field_3_lly" id="field_3_lly" size="2" value="[% field_3_lly |html %]" /> |
328 |
</li> |
328 |
</li> |
329 |
</div> |
329 |
</div> |
Lines 345-351
Link Here
|
345 |
<!-- |
345 |
<!-- |
346 |
<li> |
346 |
<li> |
347 |
<fieldset> |
347 |
<fieldset> |
348 |
<label for="guidebox">Draw guide boxes</label> |
348 |
<label for="guidebox">Draw guide boxes: </label> |
349 |
[% IF ( guidebox ) %] |
349 |
[% IF ( guidebox ) %] |
350 |
<input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" /> |
350 |
<input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" /> |
351 |
[% ELSE %] |
351 |
[% ELSE %] |
Lines 358-364
Link Here
|
358 |
<fieldset> |
358 |
<fieldset> |
359 |
<legend>Barcode</legend> |
359 |
<legend>Barcode</legend> |
360 |
<li> |
360 |
<li> |
361 |
<label for="barcode_print">Print card number as barcode</label> |
361 |
<label for="barcode_print">Print card number as barcode: </label> |
362 |
[% IF ( barcode_print ) %] |
362 |
[% IF ( barcode_print ) %] |
363 |
<input type="checkbox" name="barcode_print" id="barcode_print" value="1" checked="checked" /> |
363 |
<input type="checkbox" name="barcode_print" id="barcode_print" value="1" checked="checked" /> |
364 |
[% ELSE %] |
364 |
[% ELSE %] |
Lines 367-381
Link Here
|
367 |
</li> |
367 |
</li> |
368 |
<div id="barcode_param" style="display: none;"> |
368 |
<div id="barcode_param" style="display: none;"> |
369 |
<li> |
369 |
<li> |
370 |
<label for="barcode_llx">Lower left X coordinate</label> |
370 |
<label for="barcode_llx">Lower left X coordinate: </label> |
371 |
<input type="text" name="barcode_llx" id="barcode_llx" size="2" value="[% barcode_llx |html %]" /> |
371 |
<input type="text" name="barcode_llx" id="barcode_llx" size="2" value="[% barcode_llx |html %]" /> |
372 |
</li> |
372 |
</li> |
373 |
<li> |
373 |
<li> |
374 |
<label for="barcode_lly">Lower left Y coordinate</label> |
374 |
<label for="barcode_lly">Lower left Y coordinate: </label> |
375 |
<input type="text" name="barcode_lly" id="barcode_lly" size="2" value="[% barcode_lly |html %]" /> |
375 |
<input type="text" name="barcode_lly" id="barcode_lly" size="2" value="[% barcode_lly |html %]" /> |
376 |
</li> |
376 |
</li> |
377 |
<li> |
377 |
<li> |
378 |
<label for="barcode_type">Barcode type</label> |
378 |
<label for="barcode_type">Barcode type: </label> |
379 |
<select name="barcode_type" id="barcode_type"> |
379 |
<select name="barcode_type" id="barcode_type"> |
380 |
[% FOREACH barcode_typ IN barcode_type %] |
380 |
[% FOREACH barcode_typ IN barcode_type %] |
381 |
[% IF ( barcode_typ.selected ) %] |
381 |
[% IF ( barcode_typ.selected ) %] |
Lines 387-393
Link Here
|
387 |
</select> |
387 |
</select> |
388 |
</li> |
388 |
</li> |
389 |
<li> |
389 |
<li> |
390 |
<label for="barcode_text_print">Print card number as text under barcode</label> |
390 |
<label for="barcode_text_print">Print card number as text under barcode: </label> |
391 |
[% IF ( barcode_text_print ) %] |
391 |
[% IF ( barcode_text_print ) %] |
392 |
<input type="checkbox" name="barcode_text_print" id="barcode_text_print" value="1" checked="checked" /> |
392 |
<input type="checkbox" name="barcode_text_print" id="barcode_text_print" value="1" checked="checked" /> |
393 |
[% ELSE %] |
393 |
[% ELSE %] |
Lines 404-410
Link Here
|
404 |
<fieldset> |
404 |
<fieldset> |
405 |
<legend>Image 1</legend> |
405 |
<legend>Image 1</legend> |
406 |
<li> |
406 |
<li> |
407 |
<label for="image_1_image_source">Image source</label> |
407 |
<label for="image_1_image_source">Image source: </label> |
408 |
<select name="image_1_image_source" id="image_1_image_source"> |
408 |
<select name="image_1_image_source" id="image_1_image_source"> |
409 |
[% FOREACH image_1_image_sourc IN image_1_image_source %] |
409 |
[% FOREACH image_1_image_sourc IN image_1_image_source %] |
410 |
[% IF ( image_1_image_sourc.selected ) %] |
410 |
[% IF ( image_1_image_sourc.selected ) %] |
Lines 417-423
Link Here
|
417 |
</li> |
417 |
</li> |
418 |
<div id="image_1_image_name" style="display: none;"> |
418 |
<div id="image_1_image_name" style="display: none;"> |
419 |
<li> |
419 |
<li> |
420 |
<label for="image_1_image_name">Image</label> |
420 |
<label for="image_1_image_name">Image: </label> |
421 |
<select name="image_1_image_name" id="image_1_image_name"> |
421 |
<select name="image_1_image_name" id="image_1_image_name"> |
422 |
[% FOREACH image_1_image_nam IN image_1_image_name %] |
422 |
[% FOREACH image_1_image_nam IN image_1_image_name %] |
423 |
[% IF ( image_1_image_nam.selected ) %] |
423 |
[% IF ( image_1_image_nam.selected ) %] |
Lines 431-445
Link Here
|
431 |
</div> |
431 |
</div> |
432 |
<div id="image_1_image_metrics" style="display: none;"> |
432 |
<div id="image_1_image_metrics" style="display: none;"> |
433 |
<li> |
433 |
<li> |
434 |
<label for="image_1_Dx">Display height</label> |
434 |
<label for="image_1_Dx">Display height: </label> |
435 |
<input type="text" name="image_1_Dx" id="image_1_Dx" size="2" value="[% image_1_Dx |html %]" /> |
435 |
<input type="text" name="image_1_Dx" id="image_1_Dx" size="2" value="[% image_1_Dx |html %]" /> |
436 |
</li> |
436 |
</li> |
437 |
<li> |
437 |
<li> |
438 |
<label for="image_1_Tx">Lower left X coordinate</label> |
438 |
<label for="image_1_Tx">Lower left X coordinate: </label> |
439 |
<input type="text" name="image_1_Tx" id="image_1_Tx" size="2" value="[% image_1_Tx |html %]" /> |
439 |
<input type="text" name="image_1_Tx" id="image_1_Tx" size="2" value="[% image_1_Tx |html %]" /> |
440 |
</li> |
440 |
</li> |
441 |
<li> |
441 |
<li> |
442 |
<label for="image_1_Ty">Lower left Y coordinate</label> |
442 |
<label for="image_1_Ty">Lower left Y coordinate: </label> |
443 |
<input type="text" name="image_1_Ty" id="image_1_Ty" size="2" value="[% image_1_Ty |html %]" /> |
443 |
<input type="text" name="image_1_Ty" id="image_1_Ty" size="2" value="[% image_1_Ty |html %]" /> |
444 |
</li> |
444 |
</li> |
445 |
</div> |
445 |
</div> |
Lines 454-460
Link Here
|
454 |
<fieldset> |
454 |
<fieldset> |
455 |
<legend>Image 2</legend> |
455 |
<legend>Image 2</legend> |
456 |
<li> |
456 |
<li> |
457 |
<label for="image_2_image_source">Image source</label> |
457 |
<label for="image_2_image_source">Image source: </label> |
458 |
<select name="image_2_image_source" id="image_2_image_source"> |
458 |
<select name="image_2_image_source" id="image_2_image_source"> |
459 |
[% FOREACH image_2_image_sourc IN image_2_image_source %] |
459 |
[% FOREACH image_2_image_sourc IN image_2_image_source %] |
460 |
[% IF ( image_2_image_sourc.selected ) %] |
460 |
[% IF ( image_2_image_sourc.selected ) %] |
Lines 467-473
Link Here
|
467 |
</li> |
467 |
</li> |
468 |
<div id="image_2_image_name" style="display: none;"> |
468 |
<div id="image_2_image_name" style="display: none;"> |
469 |
<li> |
469 |
<li> |
470 |
<label for="image_2_image_name">Image</label> |
470 |
<label for="image_2_image_name">Image: </label> |
471 |
<select name="image_2_image_name" id="image_2_image_name"> |
471 |
<select name="image_2_image_name" id="image_2_image_name"> |
472 |
[% FOREACH image_2_image_nam IN image_2_image_name %] |
472 |
[% FOREACH image_2_image_nam IN image_2_image_name %] |
473 |
[% IF ( image_2_image_nam.selected ) %] |
473 |
[% IF ( image_2_image_nam.selected ) %] |
Lines 481-495
Link Here
|
481 |
</div> |
481 |
</div> |
482 |
<div id="image_2_image_metrics" style="display: none;"> |
482 |
<div id="image_2_image_metrics" style="display: none;"> |
483 |
<li> |
483 |
<li> |
484 |
<label for="image_2_Dx">Display height</label> |
484 |
<label for="image_2_Dx">Display height: </label> |
485 |
<input type="text" name="image_2_Dx" id="image_2_Dx" size="2" value="[% image_2_Dx |html %]" /> |
485 |
<input type="text" name="image_2_Dx" id="image_2_Dx" size="2" value="[% image_2_Dx |html %]" /> |
486 |
</li> |
486 |
</li> |
487 |
<li> |
487 |
<li> |
488 |
<label for="image_2_Tx">Lower left X coordinate</label> |
488 |
<label for="image_2_Tx">Lower left X coordinate: </label> |
489 |
<input type="text" name="image_2_Tx" id="image_2_Tx" size="2" value="[% image_2_Tx |html %]" /> |
489 |
<input type="text" name="image_2_Tx" id="image_2_Tx" size="2" value="[% image_2_Tx |html %]" /> |
490 |
</li> |
490 |
</li> |
491 |
<li> |
491 |
<li> |
492 |
<label for="image_2_Ty">Lower left Y coordinate</label> |
492 |
<label for="image_2_Ty">Lower left Y coordinate: </label> |
493 |
<input type="text" name="image_2_Ty" id="image_2_Ty" size="2" value="[% image_2_Ty |html %]" /> |
493 |
<input type="text" name="image_2_Ty" id="image_2_Ty" size="2" value="[% image_2_Ty |html %]" /> |
494 |
</li> |
494 |
</li> |
495 |
</div> |
495 |
</div> |