Revision c4b922db
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/report_generator/csv_export_options.html | ||
---|---|---|
1 | 1 |
[% USE T8 %] |
2 | 2 |
[% USE HTML %] |
3 | 3 |
|
4 |
<h1>[% HTML.escape(title) %]</h1>
|
|
4 |
<h1>[% HTML.escape(title) %]</h1> |
|
5 | 5 |
|
6 |
<form action="[% HTML.escape(script) %]" method="post" name="report_generator_form" id="report_generator_form">
|
|
6 |
<form action="[% HTML.escape(script) %]" method="post" name="report_generator_form" id="report_generator_form"> |
|
7 | 7 |
|
8 |
[%- FOREACH var = HIDDEN %]
|
|
8 |
[% FOREACH var = HIDDEN %]
|
|
9 | 9 |
<input type="hidden" name="[% HTML.escape(var.key) %]" value="[% HTML.escape(var.value) %]"> |
10 |
[%- END %]
|
|
10 |
[% END %]
|
|
11 | 11 |
|
12 |
<input type="hidden" name="report_generator_csv_options_set" value="1">
|
|
13 |
<input type="hidden" name="report_generator_dispatch_to" value="">
|
|
12 |
<input type="hidden" name="report_generator_csv_options_set" value="1"> |
|
13 |
<input type="hidden" name="report_generator_dispatch_to" value=""> |
|
14 | 14 |
|
15 |
<table> |
|
16 |
<tr> |
|
17 |
<td align="right">[% 'Quote chararacter' | $T8 %]</td> |
|
18 |
<td> |
|
19 |
<select name="report_generator_csv_options_quote_char" style="width: 300px"> |
|
20 |
<option value=""" selected>"</option> |
|
21 |
<option value="'">'</option> |
|
22 |
</select> |
|
23 |
</td> |
|
24 |
</tr> |
|
15 |
<div class="wrapper"> |
|
25 | 16 |
|
26 |
<tr> |
|
27 |
<td align="right">[% 'Escape character' | $T8 %]</td> |
|
28 |
<td> |
|
29 |
<select name="report_generator_csv_options_escape_char" style="width: 300px"> |
|
30 |
<option value="QUOTE_CHAR" selected>[% 'Same as the quote character' | $T8 %]</option> |
|
31 |
<option value=""">"</option> |
|
32 |
<option value="'">'</option> |
|
33 |
</select> |
|
34 |
</td> |
|
35 |
</tr> |
|
17 |
<table class="tbl-horizontal"> |
|
18 |
<tbody> |
|
19 |
<tr> |
|
20 |
<th>[% 'Quote chararacter' | $T8 %]</th> |
|
21 |
<td> |
|
22 |
<select name="report_generator_csv_options_quote_char" style="width: 300px"> |
|
23 |
<option value=""" selected>"</option> |
|
24 |
<option value="'">'</option> |
|
25 |
</select> |
|
26 |
</td> |
|
27 |
</tr> |
|
28 |
<tr> |
|
29 |
<th>[% 'Escape character' | $T8 %]</th> |
|
30 |
<td> |
|
31 |
<select name="report_generator_csv_options_escape_char" style="width: 300px"> |
|
32 |
<option value="QUOTE_CHAR" selected>[% 'Same as the quote character' | $T8 %]</option> |
|
33 |
<option value=""">"</option> |
|
34 |
<option value="'">'</option> |
|
35 |
</select> |
|
36 |
</td> |
|
37 |
</tr> |
|
38 |
<tr> |
|
39 |
<th>[% 'Separator chararacter' | $T8 %]</th> |
|
40 |
<td> |
|
41 |
<select name="report_generator_csv_options_sep_char" style="width: 300px"> |
|
42 |
<option value=";">;</option> |
|
43 |
<option value="," selected>,</option> |
|
44 |
<option value=":">:</option> |
|
45 |
<option value="TAB">TAB ([% 'The tabulator character' | $T8 %])</option> |
|
46 |
</select> |
|
47 |
</td> |
|
48 |
</tr> |
|
49 |
<tr> |
|
50 |
<th>[% 'Line endings' | $T8 %]</th> |
|
51 |
<td> |
|
52 |
<select name="report_generator_csv_options_eol_style" style="width: 300px"> |
|
53 |
<option value="DOS">DOS/Windows (CR/LF)</option> |
|
54 |
<option value="Unix" selected>Unix (LF)</option> |
|
55 |
</select> |
|
56 |
</td> |
|
57 |
</tr> |
|
58 |
<tr> |
|
59 |
<th>[% 'Options' | $T8 %]</th> |
|
60 |
<td> |
|
61 |
<input type="checkbox" name="report_generator_csv_options_headers" id="report_generator_csv_options_headers" value="1" checked> |
|
62 |
<label for="report_generator_csv_options_headers">[% 'Include column headings' | $T8 %]</label><br> |
|
63 |
<input type="checkbox" name="report_generator_csv_options_for_import" id="report_generator_csv_options_for_import" value="1"> |
|
64 |
<label for="report_generator_csv_options_for_import">[% 'Make compatible for import' | $T8 %]</label> |
|
65 |
</td> |
|
66 |
</tr> |
|
67 |
</tbody> |
|
68 |
</table> |
|
36 | 69 |
|
37 |
<tr> |
|
38 |
<td align="right">[% 'Separator chararacter' | $T8 %]</td> |
|
39 |
<td> |
|
40 |
<select name="report_generator_csv_options_sep_char" style="width: 300px"> |
|
41 |
<option value=";">;</option> |
|
42 |
<option value="," selected>,</option> |
|
43 |
<option value=":">:</option> |
|
44 |
<option value="TAB">TAB ([% 'The tabulator character' | $T8 %])</option> |
|
45 |
</select> |
|
46 |
</td> |
|
47 |
</tr> |
|
70 |
</div><!-- /.wrapper --> |
|
48 | 71 |
|
49 |
<tr> |
|
50 |
<td align="right">[% 'Line endings' | $T8 %]</td> |
|
51 |
<td> |
|
52 |
<select name="report_generator_csv_options_eol_style" style="width: 300px"> |
|
53 |
<option value="DOS">DOS/Windows (CR/LF)</option> |
|
54 |
<option value="Unix" selected>Unix (LF)</option> |
|
55 |
</select> |
|
56 |
</td> |
|
57 |
</tr> |
|
72 |
[% IF CONTROLLER_DISPATCH %] |
|
73 |
<input type="hidden" name="CONTROLLER_DISPATCH" value="[% CONTROLLER_DISPATCH | html %]"> |
|
74 |
[% ELSE %] |
|
75 |
<input type="hidden" name="action" value="report_generator_dispatcher"> |
|
76 |
[% END %] |
|
58 | 77 |
|
59 |
<tr> |
|
60 |
<td align="right" valign="top">[% 'Options' | $T8 %]:</td> |
|
61 |
<td valign="top"> |
|
62 |
<input type="checkbox" name="report_generator_csv_options_headers" id="report_generator_csv_options_headers" value="1" checked> |
|
63 |
<label for="report_generator_csv_options_headers">[% 'Include column headings' | $T8 %]</label> |
|
64 |
<input type="checkbox" name="report_generator_csv_options_for_import" id="report_generator_csv_options_for_import" value="1"> |
|
65 |
<label for="report_generator_csv_options_for_import">[% 'Make compatible for import' | $T8 %]</label> |
|
66 |
</td> |
|
67 |
</tr> |
|
68 | 78 |
|
69 |
</table> |
|
70 |
|
|
71 |
[%- IF CONTROLLER_DISPATCH %] |
|
72 |
<input type="hidden" name="CONTROLLER_DISPATCH" value="[% CONTROLLER_DISPATCH | html %]"> |
|
73 |
[%- ELSE %] |
|
74 |
<input type="hidden" name="action" value="report_generator_dispatcher"> |
|
75 |
[%- END %] |
|
76 |
|
|
77 |
|
|
78 |
</form> |
|
79 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/report_generator/csv_export_options.html