Revision 62e1ae0b
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/simple_system_setting/list.html | ||
---|---|---|
3 | 3 |
<h1>[% HTML.escape(title) %]</h1> |
4 | 4 |
|
5 | 5 |
[%- INCLUDE 'common/flash.html' %] |
6 |
<div class="wrapper"> |
|
6 | 7 |
|
7 |
<table width="100%" id="object_list">
|
|
8 |
<table id="object_list" class="tbl-list wi-moderate">
|
|
8 | 9 |
<thead> |
9 |
<tr class="listheading">
|
|
10 |
<tr> |
|
10 | 11 |
[% IF SELF.supports_reordering %] |
11 |
<th align="center" width="1%"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
|
|
12 |
<th class="img center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
|
|
12 | 13 |
[% END %] |
13 | 14 |
[% FOREACH attribute = SELF.list_attributes %] |
14 | 15 |
<th[% IF attribute.align %] align="[% attribute.align %]"[% END %]>[% HTML.escape(attribute.title) %]</th> |
... | ... | |
18 | 19 |
|
19 | 20 |
<tbody> |
20 | 21 |
[%- FOREACH object = SELF.all_objects %] |
21 |
<tr class="listrow" id="object_id_[% object.id %]">
|
|
22 |
<tr id="object_id_[% object.id %]"> |
|
22 | 23 |
[% IF SELF.supports_reordering %] |
23 |
<td align="center" class="dragdrop">[% L.img_tag(src="image/updown.png", alt=LxERP.t8("reorder item")) %]</td>
|
|
24 |
<td class="img center" class="dragdrop">[% L.img_tag(src="image/updown.png", alt=LxERP.t8("reorder item")) %]</td>
|
|
24 | 25 |
[% END %][%# IF SELF.supports_reordering %] |
25 | 26 |
[% FOREACH attribute = SELF.list_attributes %] |
26 | 27 |
<td[% IF attribute.align %] align="[% attribute.align %]"[% END %]> |
... | ... | |
40 | 41 |
</tbody> |
41 | 42 |
</table> |
42 | 43 |
|
44 |
</div> |
|
45 |
|
|
43 | 46 |
[% IF SELF.supports_reordering %] |
44 | 47 |
[% L.sortable_element("#object_list tbody", url=SELF.url_for(action="reorder", type=SELF.type), with="object_id") %] |
45 | 48 |
[% END %] |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/simple_system_setting/list.html