{% extends 'layouts/base.njk' %} {% set title = app.name + ' - File manager' %} {% block scripts %} {% endblock %} {% block body %}

File manager

You're their manager, please be nice with them.

File list

{% for file in files %} {% set expires_at = file.getExpirationDate() %} {% endfor %}
# URL Name Size Expires at Actions
{{ file.id }}
{{ file.real_name }}
{{ (file.size / (1024 * 1024)).toFixed(2) }}MB{% if expires_at %}{{ expires_at.toISOString() }}{% else %}Never{% endif %} {% if file.shouldBeDeleted() %} Pending deletion {% else %}
{{ macros.csrf(getCsrfToken) }}
{% endif %}
{% endblock %}