Revision bb8647b3
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/taxzones/list.html | ||
---|---|---|
2 | 2 |
|
3 | 3 |
<h1>[% title %]</h1> |
4 | 4 |
|
5 |
<p>
|
|
6 |
<table width="100%" id="taxzone_list">
|
|
5 |
<div class="wrapper">
|
|
6 |
<table class="tbl-list" id="taxzone_list">
|
|
7 | 7 |
<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 |
</tr> |
|
8 |
<tr>
|
|
9 |
<th class="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
|
|
10 |
<th>[% 'Description' | $T8 %]</th>
|
|
11 |
</tr>
|
|
12 | 12 |
</thead> |
13 |
|
|
14 | 13 |
<tbody> |
15 |
[%- FOREACH tz = TAXZONES %] |
|
16 |
<tr class="listrow" id="tzone_id_[% tz.id %]">
|
|
17 |
<td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
|
|
18 |
<td><a href="[% SELF.url_for(action='edit', id=tz.id) %]">[% HTML.escape(tz.description) %]</a></td> |
|
14 |
[%- FOREACH tz = TAXZONES %]
|
|
15 |
<tr id="tzone_id_[% tz.id %]"> |
|
16 |
<td class="center dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
|
|
17 |
<td><a href="[% SELF.url_for(action='edit', id=tz.id) %]">[% HTML.escape(tz.description) %]</a></td>
|
|
19 | 18 |
</tr> |
20 |
[%- END %] |
|
19 |
[%- END %]
|
|
21 | 20 |
</tbody> |
22 |
</table>
|
|
23 |
</p> |
|
21 |
</table> |
|
22 |
|
|
24 | 23 |
|
25 | 24 |
[% L.sortable_element('#taxzone_list tbody', url=SELF.url_for(action='reorder'), with='tzone_id') %] |
25 |
|
|
26 |
</div> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/taxzones/list.html