Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b18e6dde

Von Moritz Bunkus vor fast 9 Jahren hinzugefügt

  • ID b18e6dde5860ddb21f039b6c5aa05ac855ef79a8
  • Vorgänger b313d66b
  • Nachfolger 905455fc

WebDAV-Liste analog zu anderen Tabellen stylen

Unterschiede anzeigen:

templates/webpages/webdav/_list.html
4 4
<div id="ui-tabs-webdav">
5 5
<div class="listtop">[%- 'Documents in the WebDAV repository' | $T8 %]</div>
6 6

  
7
 <table width="100%">
8
  <tr>
9
   <td align="left" width="30%"><b>[% 'File name' | $T8 %]</b></td>
10
   <td align="left" width="70%"><b>[% 'WebDAV link' | $T8 %]</b></td>
11
  </tr>
7
 <table>
8
  <thead>
9
   <tr class="listheading">
10
    <td>[% 'File name' | $T8 %]</td>
11
    <td>[% 'WebDAV link' | $T8 %]</td>
12
   </tr>
13
  </thead>
12 14

  
15
  <tbody>
13 16
[%- FOREACH file = WEBDAV %]
14
  <tr>
15
   <td align="left">[% HTML.escape(file.name) %]</td>
16
   <td align="left"><a href="[% HTML.escape(file.link) %]">[% HTML.escape(file.type) %]</a></td>
17
  </tr>
17
   <tr class="listrow">
18
    <td>[% HTML.escape(file.name) %]</td>
19
    <td><a href="[% HTML.escape(file.link) %]">[% HTML.escape(file.type) %]</a></td>
20
   </tr>
18 21
[%- END %]
22
  </tbody>
19 23
 </table>
20 24
</div>
21 25

  

Auch abrufbar als: Unified diff