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
32 lines
877 B
HTML
6 years ago
|
{% extends "base.html" %}
|
||
|
|
||
6 years ago
|
|
||
|
{% block head %}
|
||
|
{{ super() }}
|
||
|
{% if filename is defined %}
|
||
|
<meta http-equiv="refresh" content="0;URL='download_file/{{ filename }}'" />
|
||
|
{% endif %}
|
||
|
{% endblock %}
|
||
|
|
||
6 years ago
|
{% block app_content %}
|
||
6 years ago
|
<h1>Download</h1>
|
||
|
<form action="" method="post" novalidate>
|
||
|
{{ form.hidden_tag() }}
|
||
|
<p>
|
||
6 years ago
|
{{ form.start_time.label }}<br>
|
||
|
{{ form.start_time() }}<br>
|
||
|
{% for error in form.start_time.errors %}
|
||
6 years ago
|
<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 %}
|