{% extends "pagetemplate_nonav.j2.html" %} {% set webapi = imp0rt( 'kaithem.api.web' ) %} {% block body %}

Files

..
{% for i in entries %}

{% if i[0].endswith("/") %} {% else %} {% endif %}

{% if i[0].endswith("/") %} {{i[0]}}({{i[1]}}) {% else %}

{{i[0]}}({{i[1]}})

{% endif %} {% if not i[0].endswith("/") %} {% endif %}
{% if not i[0].endswith("/") %} {% for j in webapi._file_preview_plugins %} {% set prv=j({'module':module, 'resource':i[3], 'timestamp':i[2], 'access_url':i[4],'thumbnail_url':i[4]+"?thumbnail=true"})%} {% if prv %} {{prv}} {% endif %} {% endfor %} {% endif %}
{% endfor %}
{% endblock %}