blob: 1350fdd155ec9449a64ff3d169f1f2623f679c77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{% extends "base.html" %}
{% block content %}
<div id="upload">
<h2>Select a file to upload</h2>
<p>
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul class=flashes>
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
</p>
<form method="post" action="/upload" enctype="multipart/form-data">
<dl>
<p>
<input id="choose_file" type="file" name="file" autocomplete="off" required>
</p>
</dl>
<p>
<input id="submit" type="submit" value="Submit" onclick="showLoad()">
</p>
</form>
</div>
<div id="message"></div>
{% endblock %}
|