Revision 444983ea
Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt
templates/webpages/shops/list.html | ||
---|---|---|
1 |
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%][%- INCLUDE 'common/flash.html' %] |
|
1 |
[% USE HTML %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE L %] |
|
4 |
[% USE T8 %] |
|
5 |
|
|
6 |
[% INCLUDE 'common/flash.html' %] |
|
2 | 7 |
|
3 | 8 |
<h1>[% title %]</h1> |
9 |
<div class="wrapper"> |
|
4 | 10 |
|
5 |
<p> |
|
6 |
<table width="100%" id="shop_list"> |
|
11 |
<table class="tbl-list wi-moderate" id="shop_list"> |
|
7 | 12 |
<thead> |
8 |
<tr class="listheading">
|
|
9 |
<th align="center" width="1%"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
|
|
10 |
<th>[% 'Description' | $T8 %]</th> |
|
11 |
<th>[% 'Type' | $T8 %]</th> |
|
12 |
<th>[% 'Obsolete' | $T8 %]</th> |
|
13 |
</tr> |
|
13 |
<tr>
|
|
14 |
<th><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
|
|
15 |
<th>[% 'Description' | $T8 %]</th>
|
|
16 |
<th>[% 'Type' | $T8 %]</th>
|
|
17 |
<th>[% 'Obsolete' | $T8 %]</th>
|
|
18 |
</tr>
|
|
14 | 19 |
</thead> |
15 |
|
|
16 | 20 |
<tbody> |
17 |
[%- FOREACH shop = SHOPS %]
|
|
18 |
<tr class="listrow" id="shop_id_[% shop.id %]">
|
|
19 |
<td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
|
|
20 |
<td><a href="[% SELF.url_for(action='edit', id=shop.id) %]">[% HTML.escape(shop.description) %]</a></td> |
|
21 |
<td>[% HTML.escape(shop.connector) %]</a></td> |
|
22 |
<td>[% HTML.escape(shop.obsolete) %]</td> |
|
21 |
[% FOREACH shop = SHOPS %]
|
|
22 |
<tr id="shop_id_[% shop.id %]"> |
|
23 |
<td class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
|
|
24 |
<td><a href="[% SELF.url_for(action='edit', id=shop.id) %]">[% HTML.escape(shop.description) %]</a></td>
|
|
25 |
<td>[% HTML.escape(shop.connector) %]</a></td>
|
|
26 |
<td>[% HTML.escape(shop.obsolete) %]</td>
|
|
23 | 27 |
</tr> |
24 |
[%- END %]
|
|
28 |
[% END %]
|
|
25 | 29 |
</tbody> |
26 |
</table> |
|
27 |
</p> |
|
30 |
</table> |
|
28 | 31 |
|
29 |
<hr height="3"> |
|
30 | 32 |
|
31 | 33 |
[% L.sortable_element('#shop_list tbody', url=SELF.url_for(action='reorder'), with='shop_id') %] |
34 |
|
|
35 |
</div><!-- /.wrapper --> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/shop*
Dateien shop_order/* shop_part/* shops/*