transbeam/templates/admin/signed_in.html

22 lines
721 B
HTML

{% extends "base.html" %}
{% block body %}
<div id="admin" class="section">
<h3 class="section_heading">Admin</h3>
<table id="stored_files"><tbody>
<tr>
<th class="file_name">Name</td>
<th class="file_size">Size</td>
<th class="file_expiry">Expiry</td>
</tr>
{% for (code, entry) in stored_files.0.iter() %}
<tr>
<td class="file_name"><a href="download?code={{ code }}">{{ entry.file.name }}</a></td>
<td class="file_size">{{ entry.file.formatted_size() }}</td>
<td class="file_expiry">{{ entry.file.expiry.format(DATE_DISPLAY_FORMAT).unwrap() }}</td>
</tr>
{% endfor %}
</tbody></table>
</div>
{% endblock %}