{% extends 'admin/master.html' %} {% import 'admin/lib.html' as lib with context %} {% import 'admin/actions.html' as actionslib with context %} {% block body %} {% block breadcrums %} {% endblock %} {% block file_list_table %} {% block list_header scoped %} {% if actions %} {% endif %} {% endblock %} {% for name, path, is_dir, size in items %} {% block list_row scoped %} {% if actions %} {% endif %} {% if is_dir %} {% else %} {% endif %} {% endblock %} {% endfor %}
  Name Size
{% if not is_dir %} {% endif %} {% block list_row_actions scoped %} {% if admin_view.can_rename and path and name != '..' %} {% endif %} {%- if admin_view.can_delete and path -%} {% if is_dir %} {% if name != '..' and admin_view.can_delete_dirs %}
{% endif %} {% else %}
{% endif %} {%- endif -%} {% endblock %}
{{ name }} {% if admin_view.can_download %} {{ name }} {% else %} {{ name }} {% endif %} {{ size|filesizeformat }}
{% endblock %} {% block toolbar %}
{% if admin_view.can_upload %}
{{ _gettext('Upload File') }}
{% endif %} {% if admin_view.can_mkdir %}
{{ _gettext('Create Directory') }}
{% endif %} {% if actions %}
{{ actionslib.dropdown(actions, 'dropdown-toggle btn btn-large') }}
{% endif %}
{% endblock %} {% block actions %} {{ actionslib.form(actions, url_for('.action_view')) }} {% endblock %} {% endblock %} {% block tail %} {{ super() }} {{ actionslib.script(_gettext('Please select at least one file.'), actions, actions_confirmation) }} {% endblock %}