--- a/templates/inventory.html Tue Oct 17 17:28:05 2017 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-[% WRAPPER once.tt %]
-<h1>Ansicht: [% view %]</h1>
-
-[%# The following part is the "inventory", that is, if there are any files %]
-[% IF files %]
- <p>
- Der gültige Download-Link ist die Link-Adresse, die sich hinter
- dem Datei-Namen verbirgt. (Firefox: Rechte Maustaste,
- Link-Location). Nach Ablauf des <a href="http://de.wikipedia.org/wiki/Mindesthaltbarkeitsdatum">MHD</a>
- wird die Datei automatisch gelöscht.
- </p>
-
- <hr />
-
- [%# Table for the files, our repository %]
-
- <table>
- <tr><th>Name</th><th>Größe</th><th>Hochgeladen</th><th>Löschung</hr><th>Aktion</th>
- </tr>
- [% FOREACH file IN files %]
- <tr>
- <td><a href="[% file.link | url %]">[% file.name | html %]</a></td>
- <td align="right">[% file.size %]</td>
- <td>[% date.format(file.uploaded, "%c") %]</td>
- <td>[% file.removal.type %]</td>
- <td><a href="[% file.removal.link | url %]">remove</a></td>
- </td>
- [% END # foreach %]
- </table>
- <hr />
-[% END # files %]
-
-[%# Form for upload %]
-<!-- Using a table is stupid, should use more modern HTML -->
-<form method="post" enctype="multipart/form-data">
-<table>
-<tr><td>Dateiname: </td>
- <td><input type="file" name="upload" value="nothing" /></td>
-</tr><tr>
- <td>Löschen in: </td><td><input type="text" name="expires" value="0" /></td>
- <td>Tagen (0: unmittelbar nach Download, -1: manuell)</td>
-</tr><tr>
- <td /><td><input type="submit" name=".submit" value="Hochladen" /></td>
-</tr>
-</table>
-</form>
-
-[% END %]