Revision 63571a10
Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt
templates/webpages/background_job/form.html | ||
---|---|---|
2 | 2 |
[% USE L %] |
3 | 3 |
[% USE LxERP %] |
4 | 4 |
|
5 |
<h1>[% FORM.title %]</h1>
|
|
5 |
<h1>[% FORM.title %]</h1> |
|
6 | 6 |
|
7 |
[%- INCLUDE 'common/flash.html' %]
|
|
7 |
[% INCLUDE 'common/flash.html' %] |
|
8 | 8 |
|
9 |
<form method="post" action="controller.pl" id="form">
|
|
9 |
<form method="post" action="controller.pl" id="form"> |
|
10 | 10 |
[% L.hidden_tag("id", SELF.background_job.id) %] |
11 | 11 |
[% L.hidden_tag("back_to", SELF.back_to) %] |
12 | 12 |
|
13 | 13 |
<table> |
14 |
<tr> |
|
15 |
<th align="right">[%- LxERP.t8('Active') %]</th> |
|
16 |
<td>[% L.yes_no_tag("background_job.active", SELF.background_job.active) %]</td> |
|
17 |
</tr> |
|
18 |
|
|
19 |
<tr> |
|
20 |
<th align="right">[%- LxERP.t8('Execution type') %]</th> |
|
21 |
<td> |
|
22 |
[% L.select_tag('background_job.type', [ |
|
23 |
[ 'once', LxERP.t8('one-time execution') ], |
|
24 |
[ 'interval', LxERP.t8('repeated execution') ] |
|
25 |
], |
|
26 |
'default' = SELF.background_job.type) %] |
|
27 |
</td> |
|
28 |
</tr> |
|
29 |
|
|
30 |
<tr> |
|
31 |
<th align="right">[%- LxERP.t8('Package name') %]</th> |
|
32 |
<td>[% L.select_tag("background_job.package_name", JOB_CLASSES, 'default' => SELF.background_job.package_name) %]</td> |
|
33 |
</tr> |
|
34 |
|
|
35 |
<tr> |
|
36 |
<th align="right">[%- LxERP.t8('Execution schedule') %]</th> |
|
37 |
<td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td> |
|
38 |
</tr> |
|
39 |
|
|
40 |
<tr> |
|
41 |
<th align="right" valign="top">[%- LxERP.t8('Data') %]</th> |
|
42 |
<td valign="top">[% L.textarea_tag("background_job.data", SELF.background_job.data, 'cols' => 80, 'rows' => 10) %]</td> |
|
43 |
</tr> |
|
44 |
|
|
14 |
<tbody> |
|
15 |
<tr> |
|
16 |
<th>[% LxERP.t8('Active') %]</th> |
|
17 |
<td>[% L.yes_no_tag("background_job.active", SELF.background_job.active) %]</td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th>[% LxERP.t8('Execution type') %]</th> |
|
21 |
<td>[% |
|
22 |
L.select_tag('background_job.type', [ |
|
23 |
[ 'once', LxERP.t8('one-time execution') ], |
|
24 |
[ 'interval', LxERP.t8('repeated execution') ] |
|
25 |
], |
|
26 |
'default' = SELF.background_job.type) |
|
27 |
%]</td> |
|
28 |
</tr> |
|
29 |
<tr> |
|
30 |
<th>[% LxERP.t8('Package name') %]</th> |
|
31 |
<td>[% L.select_tag("background_job.package_name", JOB_CLASSES, 'default' => SELF.background_job.package_name) %]</td> |
|
32 |
</tr> |
|
33 |
<tr> |
|
34 |
<th>[% LxERP.t8('Execution schedule') %]</th> |
|
35 |
<td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td> |
|
36 |
</tr> |
|
37 |
<tr> |
|
38 |
<th>[% LxERP.t8('Data') %]</th> |
|
39 |
<td>[% L.textarea_tag("background_job.data", SELF.background_job.data, 'cols' => 80, 'rows' => 10) %]</td> |
|
40 |
</tr> |
|
41 |
</tbody> |
|
45 | 42 |
</table> |
46 |
</form> |
|
43 |
|
|
44 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/background_job/form.html