Revision 6e946012
Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt
templates/webpages/report_generator/pdf_export_options.html | ||
---|---|---|
[% USE HTML %]
|
||
[% USE LxERP %]
|
||
|
||
[%- SET default_ymargin = LxERP.format_amount(1.5) %]
|
||
[%- SET default_xmargin = LxERP.format_amount(0.8) %]
|
||
[% SET default_ymargin = LxERP.format_amount(1.5) %]
|
||
[% SET default_xmargin = LxERP.format_amount(0.8) %]
|
||
|
||
<h1>[% HTML.escape(title) %]</h1>
|
||
<h1>[% HTML.escape(title) %]</h1>
|
||
|
||
<form action="[% HTML.escape(script) %]" method="post" name="report_generator_form" id="report_generator_form">
|
||
<form action="[% HTML.escape(script) %]" method="post" name="report_generator_form" id="report_generator_form">
|
||
|
||
[%- FOREACH var = HIDDEN %]
|
||
[% FOREACH var = HIDDEN %]
|
||
<input type="hidden" name="[% HTML.escape(var.key) %]" value="[% HTML.escape(var.value) %]">
|
||
[%- END %]
|
||
[% END %]
|
||
|
||
<input type="hidden" name="report_generator_pdf_options_set" value="1">
|
||
<input type="hidden" name="report_generator_dispatch_to" value="">
|
||
<input type="hidden" name="report_generator_pdf_options_set" value="1">
|
||
<input type="hidden" name="report_generator_dispatch_to" value="">
|
||
|
||
<table>
|
||
<tr>
|
||
<td align="right">[% 'Orientation' | $T8 %]</td>
|
||
<td>
|
||
<select name="report_generator_pdf_options_paper_size">
|
||
<option value="A3">A3</option>
|
||
<option value="A4" selected>A4</option>
|
||
<option value="A5">A5</option>
|
||
<option value="letter">Letter</option>
|
||
<option value="legal">Legal</option>
|
||
</select>
|
||
<select name="report_generator_pdf_options_orientation">
|
||
<option value="portrait">[% 'Portrait' | $T8 %]</option>
|
||
<option value="landscape" selected>[% 'Landscape' | $T8 %]</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<div class="wrapper">
|
||
|
||
[%- IF ALLOW_FONT_SELECTION %]
|
||
<tr>
|
||
<td align="right">[% 'Font' | $T8 %]</td>
|
||
<td>
|
||
<select name="report_generator_pdf_options_font_name">
|
||
<option>Courier</option>
|
||
<option>Georgia</option>
|
||
<option>Helvetica</option>
|
||
<option>Times</option>
|
||
<option selected>Verdana</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
[%- END %]
|
||
|
||
<tr>
|
||
<td align="right">[% 'Font size' | $T8 %]</td>
|
||
<td>
|
||
<select name="report_generator_pdf_options_font_size">
|
||
<option>6</option>
|
||
<option selected>7</option>
|
||
<option>8</option>
|
||
<option>9</option>
|
||
<option>10</option>
|
||
<option>11</option>
|
||
<option>12</option>
|
||
<option>13</option>
|
||
<option>14</option>
|
||
<option>15</option>
|
||
</select>
|
||
|
||
pt
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td align="right">[% 'Margins' | $T8 %]:</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td align="right">[% 'Top' | $T8 %]</td>
|
||
<td><input name="report_generator_pdf_options_margin_top" size="4" value="[% HTML.escape(default_ymargin) %]"> cm</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td align="right">[% 'Left' | $T8 %]</td>
|
||
<td><input name="report_generator_pdf_options_margin_left" size="4" value="[% HTML.escape(default_xmargin) %]"> cm</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td align="right">[% 'Bottom' | $T8 %]</td>
|
||
<td><input name="report_generator_pdf_options_margin_bottom" size="4" value="[% HTML.escape(default_ymargin) %]"> cm</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td align="right">[% 'Right' | $T8 %]</td>
|
||
<td><input name="report_generator_pdf_options_margin_right" size="4" value="[% HTML.escape(default_xmargin) %]"> cm</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td align="right" valign="top">[% 'Options' | $T8 %]:</td>
|
||
<td valign="top">
|
||
<input type="checkbox" name="report_generator_pdf_options_number" id="report_generator_pdf_options_number" value="1" checked>
|
||
<label for="report_generator_pdf_options_number">[% 'Number pages' | $T8 %]</label>
|
||
[% IF ALL_PRINTERS.size %]
|
||
<br>
|
||
<input type="checkbox" name="report_generator_pdf_options_print" id="report_generator_pdf_options_print" value="1">
|
||
<label for="report_generator_pdf_options_print">[% 'Print list' | $T8 %]</label>
|
||
[% END %]
|
||
</td>
|
||
</tr>
|
||
|
||
[% IF ALL_PRINTERS.size %]
|
||
<table class="tbl-horizontal">
|
||
<caption>[% 'Export format' | $T8 %]</caption>
|
||
<tbody>
|
||
<tr>
|
||
<td align="right">[% 'Printer' | $T8 %]</td>
|
||
<td>
|
||
<select name="report_generator_pdf_options_printer_id">
|
||
[%- FOREACH printer = ALL_PRINTERS %]
|
||
<option value="[% HTML.escape(printer.id) %]"[% IF printer.selected %] selected[% END %]>[% HTML.escape(printer.printer_description) %]</option>
|
||
[%- END %]
|
||
</select>
|
||
</td>
|
||
<th>[% 'Orientation' | $T8 %]</th>
|
||
<td>
|
||
<select name="report_generator_pdf_options_paper_size">
|
||
<option value="A3">A3</option>
|
||
<option value="A4" selected>A4</option>
|
||
<option value="A5">A5</option>
|
||
<option value="letter">Letter</option>
|
||
<option value="legal">Legal</option>
|
||
</select>
|
||
<select name="report_generator_pdf_options_orientation">
|
||
<option value="portrait">[% 'Portrait' | $T8 %]</option>
|
||
<option value="landscape" selected>[% 'Landscape' | $T8 %]</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
|
||
[% IF ALLOW_FONT_SELECTION %]
|
||
<tr>
|
||
<td align="right">[% 'Copies' | $T8 %]</td>
|
||
<td><input name="report_generator_pdf_options_copies" size="4" value="[% HTML.escape(copies) %]"></td>
|
||
<th>[% 'Font' | $T8 %]</th>
|
||
<td>
|
||
<select name="report_generator_pdf_options_font_name">
|
||
<option>Courier</option>
|
||
<option>Georgia</option>
|
||
<option>Helvetica</option>
|
||
<option>Times</option>
|
||
<option selected>Verdana</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
[% END %]
|
||
</table>
|
||
|
||
[%- IF CONTROLLER_DISPATCH %]
|
||
<input type="hidden" name="CONTROLLER_DISPATCH" value="[% CONTROLLER_DISPATCH | html %]">
|
||
[%- ELSE %]
|
||
<input type="hidden" name="action" value="report_generator_dispatcher">
|
||
[%- END %]
|
||
|
||
</form>
|
||
[% END %]
|
||
<tr>
|
||
<th>[% 'Font size' | $T8 %]</th>
|
||
<td>
|
||
<select name="report_generator_pdf_options_font_size">
|
||
<option>6</option>
|
||
<option selected>7</option>
|
||
<option>8</option>
|
||
<option>9</option>
|
||
<option>10</option>
|
||
<option>11</option>
|
||
<option>12</option>
|
||
<option>13</option>
|
||
<option>14</option>
|
||
<option>15</option>
|
||
</select> pt.</td>
|
||
</tr>
|
||
<tr>
|
||
<th class="caption" colspan="2">[% 'Margins' | $T8 %]:</th>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Top' | $T8 %]</th>
|
||
<td><input type="text" name="report_generator_pdf_options_margin_top" size="4" value="[% HTML.escape(default_ymargin) %]"> cm</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Left' | $T8 %]</th>
|
||
<td><input type="text" name="report_generator_pdf_options_margin_left" size="4" value="[% HTML.escape(default_xmargin) %]"> cm</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Bottom' | $T8 %]</th>
|
||
<td><input type="text" name="report_generator_pdf_options_margin_bottom" size="4" value="[% HTML.escape(default_ymargin) %]"> cm</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Right' | $T8 %]</th>
|
||
<td><input type="text" name="report_generator_pdf_options_margin_right" size="4" value="[% HTML.escape(default_xmargin) %]"> cm</td>
|
||
</tr>
|
||
<tr>
|
||
<th class="caption" colspan="2">[% 'Print Options' | $T8 %]:</th>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Options' | $T8 %]</th>
|
||
<td>
|
||
<input type="checkbox" name="report_generator_pdf_options_number" id="report_generator_pdf_options_number" value="1" checked>
|
||
<label for="report_generator_pdf_options_number">[% 'Number pages' | $T8 %]</label>
|
||
[% IF ALL_PRINTERS.size %] <br>
|
||
<input type="checkbox" name="report_generator_pdf_options_print" id="report_generator_pdf_options_print" value="1">
|
||
<label for="report_generator_pdf_options_print">[% 'Print list' | $T8 %]</label>
|
||
[% END %]
|
||
</td>
|
||
</tr>
|
||
[% IF ALL_PRINTERS.size %]
|
||
<tr>
|
||
<td>[% 'Printer' | $T8 %]</td>
|
||
<td>
|
||
<select name="report_generator_pdf_options_printer_id">
|
||
[% FOREACH printer = ALL_PRINTERS %]
|
||
<option value="[% HTML.escape(printer.id) %]"[% IF printer.selected %] selected[% END %]>[% HTML.escape(printer.printer_description) %]</option>
|
||
[% END %]
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>[% 'Copies' | $T8 %]</td>
|
||
<td><input type="text" name="report_generator_pdf_options_copies" size="4" value="[% HTML.escape(copies) %]"></td>
|
||
</tr>
|
||
[% END %]
|
||
</tbody>
|
||
</table>
|
||
|
||
</div><!-- /.wrapper -->
|
||
|
||
[% IF CONTROLLER_DISPATCH %]
|
||
<input type="hidden" name="CONTROLLER_DISPATCH" value="[% CONTROLLER_DISPATCH | html %]">
|
||
[% ELSE %]
|
||
<input type="hidden" name="action" value="report_generator_dispatcher">
|
||
[% END %]
|
||
|
||
</form>
|
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/report_generator/pdf_export_options.html