diff options
Diffstat (limited to 'templates/image-list.html')
-rw-r--r-- | templates/image-list.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/templates/image-list.html b/templates/image-list.html new file mode 100644 index 0000000..3c4561e --- /dev/null +++ b/templates/image-list.html @@ -0,0 +1,51 @@ +<h1>Images</h1> + +<div class="alert alert-warning"> + Die Löschfunktion entfernt lediglich den Datenbankeintrag. Bitte <b>löschen Sie die zugehörige Datei</b> + aus dem Storage-Verzeichnis (Spalte Pfad) +</div> + +<form method="post" action="?do=images"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="action" value="delete"> + <table class="table"> + <thead> + <tr> + <th>Name</th> + <th>Größe</th> + <th>Erstellt</th> + <th>Läuft ab</th> + <th>Pfad</th> + <th></th> + </tr> + </thead> + <tbody> + {{#list}} + <tr> + <td title="{{description}}"> + {{displayname}} + <div class="small">{{imageversionid}}</div> + </td> + <td class="slx-nowrap"> + {{filesize_s}} + </td> + <td class="slx-nowrap"> + {{createtime_s}} + </td> + <td class="slx-nowrap"> + {{expiretime_s}} + </td> + <td class="small"> + {{filepath}} + </td> + <td> + <button type="submit" name="image" value="{{imageversionid}}" class="btn btn-xs btn-danger" + onclick="return confirm('Wirklich?')"> + <span class="glyphicon glyphicon-remove"></span> + </button> + </td> + </tr> + {{/list}} + </tbody> + </table> +</form>
\ No newline at end of file |