Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b28b621e

Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt

  • ID b28b621e54cd36258e0bf0b4cc40148781f1e977
  • Vorgänger b5f5d063
  • Nachfolger e257fa36

Tabellenzeilen alternierend einfärben

Unterschiede anzeigen:

templates/webpages/am/edit_units.html
80 80
 </p>
81 81

  
82 82
 <table>
83
  <tr>
84
   <th class="listheading" width="32" align="center" valign="center"><img alt="[% 'up' | $T8 %]" src="image/up.png"><img alt="[% 'down' | $T8 %]" src="image/down.png"></th>
85
   <th class="listheading">[% 'Delete' | $T8 %]</th>
86
   <th class="listheading">[% 'Unit' | $T8 %]</th>
87
   <th class="listheading">[% 'Base unit' | $T8 %]</th>
88
   <th class="listheading">[% 'Factor' | $T8 %]</th>
83
  <tr class="listheading">
84
   <th width="32" align="center" valign="center"><img alt="[% 'up' | $T8 %]" src="image/up.png"><img alt="[% 'down' | $T8 %]" src="image/down.png"></th>
85
   <th>[% 'Delete' | $T8 %]</th>
86
   <th>[% 'Unit' | $T8 %]</th>
87
   <th>[% 'Base unit' | $T8 %]</th>
88
   <th>[% 'Factor' | $T8 %]</th>
89 89
   [% FOREACH language = LANGUAGES %]
90
    <th class="listheading">[% language.description %]</th>
90
    <th>[% language.description %]</th>
91 91
   [% END %]
92 92
  </tr>
93 93

  
94 94
  [% FOREACH row = UNITS %]
95
   <tr>
95
   <tr class="listrow[% loop.count % 2 %]">
96 96
    <td width="32" align="center" valign="center">[% IF loop.first %]<img src="image/transparent16x16.gif">[% ELSE %]<a href="[% updownlink %]&dir=up&name=[% HTML.url(row.name) %]"><img alt="[% 'up' | $T8 %]" src="image/up.png" border="0"></a>[% END %][% IF loop.last %]<img src="image/transparent16x16.gif">[% ELSE %]<a href="[% updownlink %]&dir=down&name=[% HTML.url(row.name) %]"><img alt="[% 'down' | $T8 %]" src="image/down.png" border="0"></a>[% END %]</td>
97 97
    [% IF row.in_use %]
98 98
     <td>

Auch abrufbar als: Unified diff