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

{{page_title}}

{{CreateSelect( "noo", OPT.noo, ["Oldest", "Newest","A to Z", "Z to A"], "$('#offset').val(0)", "rounded-start py-1 my-1")|safe }} {{CreateSelect( "how_many", OPT.how_many|string, ["10", "25", "50", "75", "100", "150", "200", "500"], "", "rounded-end py-1 my-1" )|safe }}
{% set prv_disabled="" %} {% if OPT.offset|int == 0 %} {% set prv_disabled="disabled" %} {% endif %}  {{OPT.how_many}} files  {% set nxt_disabled="" %} {% if entry_data|length < OPT.how_many|int %} {% set nxt_disabled="disabled" %} {% endif %}
{% for obj in entry_data %} {% if obj.type.name != "Directory" %} {% else %} {% endif %} {% endfor %}
NameSize (MB)Path PrefixHash
{% if obj.type.name == "Image" or obj.type.name == "Video" %}
{{obj.name}}
{% endif %}
{{obj.file_details.size_mb}}{{obj.in_dir.in_path.path_prefix.replace("static/","")}}/{{obj.in_dir.rel_path}}{{obj.file_details.hash}}
{% endblock main_content %}