Revision 1d93bb14
Von Cem Aydin vor mehr als 3 Jahren hinzugefügt
templates/webpages/csv_import/report.html | ||
---|---|---|
20 | 20 |
[% END %] |
21 | 21 |
|
22 | 22 |
[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url = SELF.base_url %] |
23 |
<table> |
|
23 |
<div id="csv_import_report_table_wrapper"> |
|
24 |
<table class="tbl-list"> |
|
24 | 25 |
|
25 | 26 |
[% SET max_col = 0 %] |
26 | 27 |
[% FOREACH rownum = SELF.display_rows %] |
... | ... | |
28 | 29 |
[% LAST IF rownum >= SELF.report_numheaders %] |
29 | 30 |
[% END %] |
30 | 31 |
|
32 |
<thead> |
|
31 | 33 |
[% FOREACH rownum = SELF.display_rows %] |
32 | 34 |
[% SET to_pad = max_col - SELF.report_rows.${rownum}.size %] |
33 | 35 |
[% IF rownum < SELF.report_numheaders %] |
... | ... | |
38 | 40 |
[% IF to_pad %]<th style="text-align:center" colspan="[% to_pad %]">-</th>[% END %] |
39 | 41 |
<th>[% LxERP.t8('Notes') %]</th> |
40 | 42 |
</tr> |
41 |
[% ELSE %] |
|
43 |
[% END %] |
|
44 |
[% END %] |
|
45 |
</thead> |
|
46 |
<tbody> |
|
47 |
[% FOREACH rownum = SELF.display_rows %] |
|
48 |
[% SET to_pad = max_col - SELF.report_rows.${rownum}.size %] |
|
49 |
[% IF rownum > SELF.report_numheaders %] |
|
42 | 50 |
[% csv_import_report_errors = SELF.report_status.${rownum}.errors %] |
43 | 51 |
<tr class="listrow[% IF csv_import_report_errors && csv_import_report_errors.size %]_error[% END %][% (loop.count + SELF.report_numheaders) % 2 %]"> |
44 | 52 |
[% FOREACH value = SELF.report_rows.${rownum} %] |
... | ... | |
52 | 60 |
</tr> |
53 | 61 |
[% END %] |
54 | 62 |
[% END %] |
63 |
</tbody> |
|
55 | 64 |
|
56 | 65 |
</table> |
66 |
</div> |
|
57 | 67 |
|
58 | 68 |
[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url = SELF.base_url %] |
59 | 69 |
|
Auch abrufbar als: Unified diff
Neues Design Bugfix: CSV-Import Fixes
- Fehlende Klasse für Tabelle eingefügt
- Report/Vorschau Tabelle verbessert
- Einstellungen/Spaltenzuordnung per default anzeigen
- fehlende Übersetzung eingefügt
- less/css neu kompiliert (einige Änderungen Kompilerbedingt)