init
This commit is contained in:
17
templates/test.html
Normal file
17
templates/test.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>File Upload</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>File Upload</h1>
|
||||
<form method="POST" action="" enctype="multipart/form-data">
|
||||
<p><input type="file" name="file"></p>
|
||||
<p><input type="submit" value="Submit"></p>
|
||||
</form>
|
||||
<hr>
|
||||
{% for file in files %}
|
||||
<img src="{{ url_for('upload', filename=file) }}" style="width: 64px">
|
||||
{% endfor %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user