{% extends "base.html" %} {% block content %}

{% if path %} {% set parts = path.split("/") %} {{ dirbase }} {% if parts and dirbase != "/" %} / {% endif %} {% for p in range(len(parts)-1) %} {% set parent = "/".join(parts[:p+1]) %} {{ parts[p] }} / {% endfor %} {{ parts[-1] }} {% else %} {{ dirbase }} {% endif %}

{% if upload %}
{% endif %} {% if not has_files %}

No files in directory

{% else %} {% for f in files %} {% endfor %}
Name Mimetype Modified Size
{{ f.basename }} {% if f.can_remove %} {% endif %} {% if f.can_download %} {% endif %} {{ f.type }} {{ f.modified }} {{ "" if f.is_directory else f.size }}
{% endif %} {% endblock %}