templates/inventory.html
changeset 72 6510dc15390b
parent 65 0ce1c1c38edd
child 86 7903028768ed
equal deleted inserted replaced
71:604c7024d7ae 72:6510dc15390b
     1 [% WRAPPER once.tt %]
     1 [% WRAPPER once.tt %]
     2 <h1>Ansicht: [% view %]</h1>
     2 <h1>Ansicht: [% view %]</h1>
     3 
     3 
       
     4 [%# The following part is the "inventory", that is, if there are any files %]
     4 [% IF files %]
     5 [% IF files %]
     5     <p>
     6     <p>
     6     Der gültige Download-Link ist die Link-Adresse, die sich hinter
     7     Der gültige Download-Link ist die Link-Adresse, die sich hinter
     7     dem Datei-Namen verbirgt. (Firefox: Rechte Maustaste,
     8     dem Datei-Namen verbirgt. (Firefox: Rechte Maustaste,
     8     Link-Location).  Nach Ablauf des <a href="http://de.wikipedia.org/wiki/Mindesthaltbarkeitsdatum">MHD</a>
     9     Link-Location).  Nach Ablauf des <a href="http://de.wikipedia.org/wiki/Mindesthaltbarkeitsdatum">MHD</a>
    27     [% END # foreach %]
    28     [% END # foreach %]
    28     </table>
    29     </table>
    29     <hr />
    30     <hr />
    30 [% END # files %]
    31 [% END # files %]
    31 
    32 
    32 [%# Formular for upload %]
    33 [%# Form for upload %]
       
    34 <!-- Using a table is stupid, should use more modern HTML -->
    33 <form method="post" enctype="multipart/form-data">
    35 <form method="post" enctype="multipart/form-data">
    34 <table>
    36 <table>
    35 <tr><td>Dateiname: </td>
    37 <tr><td>Dateiname: </td>
    36     <td><input type="file" name="upload" value="nothing" /></td>
    38     <td><input type="file" name="upload" value="nothing" /></td>
    37 </tr><tr>
    39 </tr><tr>