{% extends "base.html" %} {% block head %} {%- if ! conf.files.allow_uploads -%} {%- endif -%} {% endblock %} {% block scripts %} {%- if conf.files.upload_pass.is_some() -%} {#- Script to disable button when password is not entered -#} {#- -#} {%- endif -%} {% endblock %} {% block body %}

File upload

You can upload a file here for free to share with others for 30 minutes.
How cool is that, eh?

Upload form

I want my file deleted:

{%- if conf.files.allow_custom_names -%}

{{ env.instanceurl }}/

{%- endif -%} {%- if conf.files.allow_pass_protection -%}
{%- endif -%}

{%- if ! conf.files.allow_uploads -%}

Error

Uploads are temporarily disabled {%- if let Some(disable_reason) = conf.files.upload_disable_reason -%} {{- " " -}} for the following reason: {{- disable_reason -}} {%- else -%} . {%- endif -%} Check again in a few minutes.

{%- else -%} {%- if let Some(pass) = conf.files.upload_pass -%}

Upload password

This instance requires a password to upload a file.

{%- endif -%}

{%- endif -%}
{% endblock %}