Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 444983ea

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 444983ea46e884d174b004dc49d00a78d34b8df0
  • Vorgänger 55035612
  • Nachfolger b9c13b70

Neues kivitendo Design Aenderungen in templates/webpages/shop*

Dateien shop_order/* shop_part/* shops/*

Unterschiede anzeigen:

templates/webpages/shop_part/_list_images.html
1
[%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%]
2
[%- USE T8 %][% USE Base64 %]
3
<table width="100%" id="images_list">
1
[% USE HTML %]
2
[% USE L %]
3
[% USE P %]
4
[% USE LxERP %]
5
[% USE T8 %]
6
[% USE Base64 %]
7

  
8
<table class="tbl-list" id="images_list">
4 9
  <thead>
5
    <tr class="listheading">
6
      <th width="10px"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]" class="dragdrop"></th>
7
      <th width="70px"></th>
10
    <tr>
11
      <th><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></th>
12
      <th></th>
8 13
      <th>[% 'Title'          | $T8 %]</th>
9 14
      <th>[% 'Description'    | $T8 %]</th>
10 15
      <th>[% 'Filename'       | $T8 %]</th>
......
13 18
    </tr>
14 19
  </thead>
15 20
  <tbody>
16
   [%-  FOREACH img = IMAGES %]
21
   [% FOREACH img = IMAGES %]
17 22
    <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>
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>
20 25
      <td>[% HTML.escape(img.file.title)       %]</td>
21 26
      <td>[% HTML.escape(img.file.description) %]</td>
22 27
      <td>[% HTML.escape(img.file.file_name)   %]</td>
......
28 33
</table>
29 34

  
30 35
[% L.sortable_element('#images_list tbody', url=SELF.url_for(action='reorder'), with='image_id') %]
31
<p>
32
[% L.button_tag("kivi.ShopPart.imageUpload(" _ FORM.id _ ",'shop_image','image', '',0);", LxERP.t8('File upload') ) %]
33
</p>
36
<div class="buttons">[% L.button_tag("kivi.ShopPart.imageUpload(" _ FORM.id _ ",'shop_image','image', '',0);", LxERP.t8('File upload') ) %]</div>

Auch abrufbar als: Unified diff