Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d82fba27

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID d82fba276cc957f9881dddbf7a6409230e2281b6
  • Vorgänger 50408125
  • Nachfolger 5afda9c3

Neues Design 2019 Standard-Code templates/webpages/shops/list.html

Unterschiede anzeigen:

templates/webpages/shops/list.html
6 6
[% INCLUDE 'common/flash.html' %]
7 7

  
8 8
<h1>[% title %]</h1>
9
<div class="wrapper">
9 10

  
10
<p>
11
 <table width="100%" id="shop_list">
11
<table class="tbl-list wi-moderate" id="shop_list">
12 12
  <thead>
13
   <tr class="listheading">
14
    <th align="center" width="1%"><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>
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>
19 19
  </thead>
20

  
21 20
  <tbody>
22
   [%- FOREACH shop = SHOPS %]
23
    <tr class="listrow" id="shop_id_[% shop.id %]">
24
     <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
25
     <td><a href="[% SELF.url_for(action='edit', id=shop.id) %]">[% HTML.escape(shop.description) %]</a></td>
26
     <td>[% HTML.escape(shop.connector) %]</a></td>
27
     <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>
28 27
    </tr>
29
   [%- END %]
28
    [% END %]
30 29
  </tbody>
31
 </table>
32
</p>
30
</table>
33 31

  
34
<hr height="3">
35 32

  
36 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