{% set metaTitle = "No-JS uploader" %} {% set metaUrl = '/nojs' %} {% extends "_layout.njk" %} {% set private = config.private %} {% set disabledMessage -%} {%- if config.enableUserAccounts -%} Anonymous upload is disabled. Log in to upload. {%- else -%} Running in private mode. Log in to upload. {%- endif %} {%- endset %} {% set maxSizeInt = config.uploads.maxSize | int %} {% set noJsMaxSizeInt = config.cloudflare.noJsMaxSize | int %} {% block stylesheets %} {{ super() }} {% endblock %} {% block content %} {{ super() }}

{{ globals.name }}

{{ globals.home_subtitle | safe }}

Maximum total size per upload attempt is {{ noJsMaxSizeInt or maxSizeInt }} MB

{% if private -%} {{ disabledMessage }} {%- else -%}

Files uploaded through this form will not be associated with your account, if you have any.

{%- endif %} {% if files -%}
{% for file in files -%}

{{ file.original }}

{% if errorMessage -%}

{{ errorMessage }}

{%- endif %} {% if file.url -%} {%- endif %}
{% endfor %}
{%- endif %}
{% set plain_links = true %} {% include "_partial/links.njk" %} {% if utils.gitHash -%}
Git commit: {{ utils.gitHash }}
{%- endif %}
{% endblock %}