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.
|
|
|
{% 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.date.label }}<br>
|
|
|
|
{{ form.date() }}<br>
|
|
|
|
{% for error in form.date.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 %}
|