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.
40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% import "bootstrap/wtf.html" as wtf %}
|
|
|
|
|
|
{% block head %}
|
|
{{ super() }}
|
|
{% if filename is defined %}
|
|
<meta http-equiv="refresh" content="0;URL='download_file/{{ filename }}'" />
|
|
{% endif %}
|
|
<link href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
|
|
{% endblock %}
|
|
|
|
{% block app_content %}
|
|
<div class="page-header">
|
|
<h1>Download</h1>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class='col-sm-6'>
|
|
{{ wtf.quick_form(form, button_map={'submit': 'primary'}) }}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
{{ super() }}
|
|
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$('#start_time').datetimepicker({
|
|
format:'YYYY-MM-DD HH:mm:ss',
|
|
sideBySide: true
|
|
});
|
|
});
|
|
</script>
|
|
{% endblock %}
|