38894-vm/templates/index.html

20 lines
496 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
{% if uploaded == true %}
<h1>Your file was uploaded successfully</h1>
{% endif %}
<form action="http://localhost:5000/upload" method="POST" enctype="multipart/form-data">
<input type="file" name="file" />
<input type="submit" name="upload file" />
</form>
</body>
</html>