move everything (except config) in one file
This commit is contained in:
		
							parent
							
								
									634df5f5cc
								
							
						
					
					
						commit
						32dc3a9581
					
				
					 6 changed files with 42 additions and 39 deletions
				
			
		| 
						 | 
				
			
			@ -1,31 +0,0 @@
 | 
			
		|||
{% 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 %}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue