{% extends 'admin/master.html' %}
{% import 'admin/lib.html' as admin_lib with context %}
{% import 'shelf/lib.html' as lib with context %}
{% import 'shelf/actions.html' as actionlib with context %}
{% block body %}
{% if dir_path %}
/{{ dir_path.upper() }}
{% else %}
{{ admin_view.name.upper() }}
{% endif %}
{% set icons_by_mime = {'image': 'fa-picture-o', 'text': 'fa-file-text', 'video': 'fa-film', 'other': 'fa-file', 'archive': 'fa-save'} %}
{% for name, path, is_dir, size in items %}