Revision f393022c
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/am/list_warehouses.html | ||
---|---|---|
2 | 2 |
[% USE HTML %] |
3 | 3 |
<h1>[% title %]</h1> |
4 | 4 |
|
5 |
[% IF saved_message %]<p>[% saved_message %]</p>[% END %] |
|
6 | 5 |
|
7 |
<p> |
|
8 |
<table width="100%" id="warehouse_list"> |
|
9 |
<tr class="listheading"> |
|
10 |
<th align="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th> |
|
11 |
<th width="70%">[% 'Description' | $T8 %]</th> |
|
12 |
<th width="20%">[% 'Number of bins' | $T8 %]</th> |
|
13 |
<th width="10%">[% 'Invalid' | $T8 %]</th> |
|
6 |
<div class="wrapper"> |
|
7 |
<!-- UPDATe: Message Container --> |
|
8 |
[% IF saved_message %]<p>[% saved_message %]</p>[% END %] |
|
9 |
|
|
10 |
<table class="tbl-list width-moderate" id="warehouse_list"> |
|
11 |
<thead> |
|
12 |
<tr> |
|
13 |
<th><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th> |
|
14 |
<th>[% 'Description' | $T8 %]</th> |
|
15 |
<th>[% 'Number of bins' | $T8 %]</th> |
|
16 |
<th>[% 'Invalid' | $T8 %]</th> |
|
14 | 17 |
</tr> |
18 |
</thead> |
|
15 | 19 |
|
20 |
<tbody> |
|
16 | 21 |
[% FOREACH warehouse = WAREHOUSES %] |
17 |
<tr class="listrow[% loop.count % 2 %]" id="warehouse_id_[% warehouse.id %]">
|
|
18 |
<td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
|
|
22 |
<tr id="warehouse_id_[% warehouse.id %]"> |
|
23 |
<td class="dragdrop center img"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
|
|
19 | 24 |
<td><a href="[% url_base %]&action=edit_warehouse&id=[% HTML.url(warehouse.id) %]">[% HTML.escape(warehouse.description) %]</a></td> |
20 | 25 |
<td>[% HTML.escape(warehouse.number_of_bins) %]</td> |
21 | 26 |
<td>[% IF warehouse.invalid %][% 'Yes' | $T8 %][% ELSE %][% 'No' | $T8 %][% END %]</td> |
22 | 27 |
</tr> |
23 | 28 |
[% END %] |
29 |
</tbody> |
|
24 | 30 |
</table> |
25 |
</p> |
|
26 | 31 |
|
27 | 32 |
[% L.sortable_element('#warehouse_list tbody', url => 'controller.pl?action=Warehouse/reorder', with => 'warehouse_id') %] |
33 |
</div> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/am/list_warehouses.html