Revision 49cbcd75
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/shop_part/_upload_status.html | ||
---|---|---|
8 | 8 |
|
9 | 9 |
[% L.hidden_tag('', job.id, id="smu_job_id") %] |
10 | 10 |
|
11 |
JOBID: [% job.id %] <p> |
|
12 |
[% LxERP.t8("This status output will be refreshed every five seconds.") %] |
|
13 |
</p> |
|
14 | 11 |
<p> |
15 |
<table> |
|
16 |
<tr> |
|
17 |
<th valign="top" align="left">[% LxERP.t8("Current status:") %]</th> |
|
18 |
<td valign="top"> |
|
19 |
[% IF !data.status %] |
|
20 |
[% LxERP.t8("waiting for job to be started") %] |
|
21 |
[% ELSIF data.status == 1 %] |
|
22 |
[% LxERP.t8("Uploading Data") %] |
|
23 |
[% ELSE %] |
|
24 |
[% LxERP.t8("Done.") %] |
|
25 |
[% END %] |
|
26 |
</td> |
|
27 |
</tr> |
|
28 |
<tr> |
|
29 |
<th valign="top" align="left">[% LxERP.t8("Number of data uploaded:") %]</th> |
|
30 |
<td valign="top">[% IF data.status > 0 %][% HTML.escape(data.num_uploaded) %] / [% HTML.escape(data.shop_part_record_ids.size) %][% ELSE %]–[% END %]</td> |
|
31 |
</tr> |
|
32 |
|
|
33 |
<tr> |
|
34 |
<th valign="top" align="left">[% LxERP.t8("Conversion:") %]</th> |
|
35 |
<td valign="top"> |
|
36 |
– |
|
37 |
<table> |
|
38 |
<tr class="listheader"> |
|
39 |
<th>[% LxERP.t8("Part") %]</th> |
|
40 |
<th>[% LxERP.t8("Partnumber") %]</th> |
|
41 |
<th>[% LxERP.t8("Message") %]</th> |
|
42 |
</tr> |
|
43 |
|
|
44 |
[% FOREACH message = data.conversion %] |
|
45 |
<tr> |
|
46 |
<td valign="top">[% HTML.escape(message.id) %]</td> |
|
47 |
<td valign="top">[% HTML.escape(message.number) %]</td> |
|
48 |
<td valign="top">[% HTML.escape(message.message) %]</td> |
|
49 |
</tr> |
|
50 |
[% END %] |
|
51 |
</table> |
|
52 |
</table> |
|
12 |
JOBID: [% job.id %]<br> |
|
13 |
[% LxERP.t8("This status output will be refreshed every five seconds.") %] |
|
53 | 14 |
</p> |
15 |
|
|
16 |
<table class="tbl-horizontal"> |
|
17 |
<tbody> |
|
18 |
<tr> |
|
19 |
<th>[% LxERP.t8("Current status:") %]</th> |
|
20 |
<td> |
|
21 |
[% IF !data.status %] |
|
22 |
[% LxERP.t8("waiting for job to be started") %] |
|
23 |
[% ELSIF data.status == 1 %] |
|
24 |
[% LxERP.t8("Uploading Data") %] |
|
25 |
[% ELSE %] |
|
26 |
[% LxERP.t8("Done.") %] |
|
27 |
[% END %] |
|
28 |
</td> |
|
29 |
</tr> |
|
30 |
<tr> |
|
31 |
<th>[% LxERP.t8("Number of data uploaded:") %]</th> |
|
32 |
<td> |
|
33 |
[% IF data.status > 0 %] |
|
34 |
[% HTML.escape(data.num_uploaded) %] / [% HTML.escape(data.shop_part_record_ids.size) %] |
|
35 |
[% ELSE %] |
|
36 |
– |
|
37 |
[% END %] |
|
38 |
</td> |
|
39 |
</tr> |
|
40 |
</tbody> |
|
41 |
</table> |
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
<table class="tbl-list"> |
|
46 |
<caption>[% LxERP.t8("Conversion:") %]</caption> |
|
47 |
<thead> |
|
48 |
<tr> |
|
49 |
<th>[% LxERP.t8("Part") %]</th> |
|
50 |
<th>[% LxERP.t8("Partnumber") %]</th> |
|
51 |
<th>[% LxERP.t8("Message") %]</th> |
|
52 |
</tr> |
|
53 |
</thead> |
|
54 |
<tbody> |
|
55 |
[% FOREACH message = data.conversion %] |
|
56 |
<tr> |
|
57 |
<td>[% HTML.escape(message.id) %]</td> |
|
58 |
<td>[% HTML.escape(message.number) %]</td> |
|
59 |
<td >[% HTML.escape(message.message) %]</td> |
|
60 |
</tr> |
|
61 |
[% END %] |
|
62 |
</tbody> |
|
63 |
</table> |
|
64 |
|
|
65 |
|
|
66 |
|
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/shop_part/_upload_status.html