{% if embed %}{% extends "base_blank_js.html" %}{% else %}{% extends "base.html" %}{% endif %} {% block copyright %} {% endblock %} {% block title %}Listing of {{ path }}{% endblock %} {% block extra_head %} {% if settings.DEBUG %} {% else %} {% endif %} {% endblock %} {% set disabled_attrs='class="disabled" title="You do not have permission to use this function"'|safe %} {% set vdisabled_attrs='class="disabled" title="You do not have permission to view this folder"'|safe %} {% block body %} {% if embed %}
{% endif %} {% if msg %}
![]() |
(back to parent folder) | ||||
{% if view_permitted %}
![]() ![]() |
{% if view_permitted %} {{ entry.filename }} {% else %} {{ entry.filename }} {% endif %} | {% if view_permitted and not show_files %} (select this) {% else %} {% endif %} | {% else %} {% set sep = pathsep if path != pathsep else '' %} {% set file_path = path + sep + entry.filename %} {# Note view_permitted = True for current folder for this page to load #} {% set can_view = entry.filename|fileextension in image_formats %}
{% if can_view %}
![]() ![]() |
{{ entry.filename }} | (select this) | {% endif %}
This folder contains no {% if show_files %}files{% else %}sub-folders{% endif %}. |