mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2025-05-09 22:56:03 +02:00
Add simple HTML template with file upload
Code taken from the following blog posts: - https://pythonbasics.org/flask-upload-file - https://blog.miguelgrinberg.com/post/handling-file-uploads-with-flask
This commit is contained in:
13
templates/index.html
Normal file
13
templates/index.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSV Metadata Quality Web</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>File Upload</h1>
|
||||
<form method="POST" action="" enctype="multipart/form-data">
|
||||
<p><input type="file" name="file" accept=".csv"></p>
|
||||
<p><input type="submit" value="Submit"></p>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user