{% extends "base.html" %} {% block title %}Storage · {{ site.title }}{% endblock %} {% block content %}

Storage

{% if listing %} {{ listing.total }} item{{ listing.total|pluralize }} {% endif %}
{% if browser.read_only %} Read-only {% endif %}
{% if flash %}
{{ flash }}
{% endif %} {% if listing is none %}

Back to the root

{% else %} {% if not browser.read_only %}

Up to {{ browser.max_upload_bytes|filesizeformat(true) }} per file, into {{ listing.prefix or "/" }}.

{% endif %} {% if listing.entries %}
{% for entry in listing.entries %} {% if entry.is_folder %} {% else %} {% endif %} {% endfor %}
Name Size Type Modified
{{ entry.name }}/ — folder — {{ entry.name }} {% if entry.size is not none %}{{ entry.size|filesizeformat(true) }}{% else %}—{% endif %} {{ entry.content_type or "—" }} {{ entry.last_modified.strftime("%Y-%m-%d %H:%M") if entry.last_modified else "—" }}
{% else %}

{% if listing.prefix %}Nothing under {{ listing.prefix }}.{% else %}The bucket is empty.{% endif %}

{% endif %} {% if listing.pages > 1 %} {% endif %} {% endif %}
{% endblock %}