Revision 10d07d12
Von Tamino Steinert vor 16 Tagen hinzugefügt
templates/design40_webpages/shop_part/_list_images.html | ||
---|---|---|
5 | 5 |
[% USE T8 %] |
6 | 6 |
[% USE Base64 %] |
7 | 7 |
|
8 |
<div> |
|
8 | 9 |
<table class="tbl-list" id="images_list"> |
9 | 10 |
<thead> |
10 | 11 |
<tr> |
11 |
<th><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></th> |
|
12 |
<th><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"/></th>
|
|
12 | 13 |
<th></th> |
13 | 14 |
<th>[% 'Title' | $T8 %]</th> |
14 | 15 |
<th>[% 'Description' | $T8 %]</th> |
... | ... | |
20 | 21 |
<tbody> |
21 | 22 |
[% FOREACH img = IMAGES %] |
22 | 23 |
<tr class="listrow" id="image_id_[% img.id %]"> |
23 |
<td><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></td> |
|
24 |
<td><img src="data:[% img.thumbnail_content_type %];base64,[% img.thumbnail_content.encode_base64 %]" alt="[% img.file.title %]"></td> |
|
24 |
<td><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"/></td>
|
|
25 |
<td><img src="data:[% img.thumbnail_content_type %];base64,[% img.thumbnail_content.encode_base64 %]" alt="[% img.file.title %]"/></td>
|
|
25 | 26 |
<td>[% HTML.escape(img.file.title) %]</td> |
26 | 27 |
<td>[% HTML.escape(img.file.description) %]</td> |
27 | 28 |
<td>[% HTML.escape(img.file.file_name) %]</td> |
... | ... | |
34 | 35 |
|
35 | 36 |
[% L.sortable_element('#images_list tbody', url=SELF.url_for(action='reorder'), with='image_id') %] |
36 | 37 |
<div class="buttons">[% L.button_tag("kivi.ShopPart.imageUpload(" _ FORM.id _ ",'shop_image','image', '',0);", LxERP.t8('File upload') ) %]</div> |
38 |
</div> |
templates/webpages/shop_part/_list_images.html | ||
---|---|---|
1 | 1 |
[%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%] |
2 | 2 |
[%- USE T8 %][% USE Base64 %] |
3 |
<div> |
|
3 | 4 |
<table width="100%" id="images_list"> |
4 | 5 |
<thead> |
5 | 6 |
<tr class="listheading"> |
6 |
<th width="10px"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]" class="dragdrop"></th> |
|
7 |
<th width="10px"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]" class="dragdrop"/></th>
|
|
7 | 8 |
<th width="70px"></th> |
8 | 9 |
<th>[% 'Title' | $T8 %]</th> |
9 | 10 |
<th>[% 'Description' | $T8 %]</th> |
... | ... | |
15 | 16 |
<tbody> |
16 | 17 |
[%- FOREACH img = IMAGES %] |
17 | 18 |
<tr class="listrow" id="image_id_[% img.id %]"> |
18 |
<td><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]" class="dragdrop"></td> |
|
19 |
<td width="70px"><img src="data:[% img.thumbnail_content_type %];base64,[% img.thumbnail_content.encode_base64 %]" alt="[% img.file.title %]"></td> |
|
19 |
<td><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]" class="dragdrop"/></td>
|
|
20 |
<td width="70px"><img src="data:[% img.thumbnail_content_type %];base64,[% img.thumbnail_content.encode_base64 %]" alt="[% img.file.title %]"/></td>
|
|
20 | 21 |
<td>[% HTML.escape(img.file.title) %]</td> |
21 | 22 |
<td>[% HTML.escape(img.file.description) %]</td> |
22 | 23 |
<td>[% HTML.escape(img.file.file_name) %]</td> |
... | ... | |
31 | 32 |
<p> |
32 | 33 |
[% L.button_tag("kivi.ShopPart.imageUpload(" _ FORM.id _ ",'shop_image','image', '',0);", LxERP.t8('File upload') ) %] |
33 | 34 |
</p> |
35 |
</div> |
Auch abrufbar als: Unified diff
FIX: ShopPart: Mache XML-Parser glücklich und schließe alle Tags