You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
877 B
HTML

{% extends "base.html" %}
{% block head %}
{{ super() }}
{% if filename is defined %}
<meta http-equiv="refresh" content="0;URL='download_file/{{ filename }}'" />
{% endif %}
{% endblock %}
{% block app_content %}
<h1>Download</h1>
<form action="" method="post" novalidate>
{{ form.hidden_tag() }}
<p>
{{ form.start_time.label }}<br>
{{ form.start_time() }}<br>
{% for error in form.start_time.errors %}
<span style="color: red;">[{{ error }}]</span>
{% endfor %}
</p>
<p>
{{ form.length.label }}<br>
{{ form.length() }}<br>
{% for error in form.length.errors %}
<span style="color: red;">[{{ error }}]</span>
{% endfor %}
</p>
<p>{{ form.submit() }}</p>
</form>
{% endblock %}