templates/inventory.html
changeset 59 ade26fe6ecbb
child 60 e3d6e4095a2c
equal deleted inserted replaced
58:adf016ea4348 59:ade26fe6ecbb
       
     1 <html>
       
     2 <!-- some modules the template engine needs -->
       
     3 [% PROCESS once.tt -%]
       
     4 <head>
       
     5 <title>[% product %]</title>
       
     6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       
     7 <style type="text/css">
       
     8     th { text-align: left; }
       
     9 </style>
       
    10 </head>
       
    11 <body>
       
    12 <h1>Ansicht: [% view %]</h1>
       
    13 <p>
       
    14 Der gültige Download-Link ist die Link-Adresse, die sich hinter
       
    15 dem Datei-Namen verbirgt. (Firefox: Rechte Maustaste,
       
    16 Link-Location).  Nach Ablauf des <a href="http://de.wikipedia.org/wiki/Mindesthaltbarkeitsdatum">MHD</a>
       
    17 wird die Datei automatisch gelöscht.
       
    18 </p>
       
    19 
       
    20 <hr />
       
    21 
       
    22 <table>
       
    23 <tr><th>Name</th><th>Größe</th><th>Hochgeladen</th><th>Löschung</hr><th>Aktion</th>
       
    24 </tr>
       
    25 [% FOREACH file IN files %]
       
    26 <tr>
       
    27     <td><a href="[% file.link %]">[% file.name %]</a></td>
       
    28     <td align="right">[% file.size %]</td>
       
    29     <td>[% date.format(file.uploaded, "%c") %]</td>
       
    30     <td>[% file.removal.type %]</td>
       
    31     <td><a href="[% file.removal.link %]">remove</a></td>
       
    32 </td>
       
    33 [% END %]
       
    34 </table>
       
    35 [% INCLUDE footer.html %]
       
    36 </body>
       
    37 </html>