summaryrefslogblamecommitdiffstats
path: root/templates/image-list.html
blob: 3c4561edc55dafa91d993f21c4b65f99abfbe47e (plain) (tree)


















































                                                                                                                           
<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>