{% extends "layouts/base.html" %} {% block title %}{{ file_name }} - Gateway{% endblock %} {% block content %}

{{ bucket_name }}

{{ bucket_id_short }} {{ bucket_link_short }}
{{ file_name }}
{{ size_formatted }}
{% if mime_type.starts_with("image/") %}
{{ file_name }}
{% else if mime_type.starts_with("video/") %}
{% else if mime_type.starts_with("audio/") %}
{% else if mime_type == "application/pdf" %}
{% else if mime_type.starts_with("text/") || mime_type == "application/json" || mime_type == "application/xml" || mime_type == "application/javascript" %}
{{ content }}
{% else %}

Binary file ({{ size_formatted }})

Show hex dump
{{ content }}
{% endif %}
{% endblock %} {% block head %} {% endblock %}