Post_finder/templates/upload.html

21 lines
560 B
HTML
Raw Normal View History

2024-12-04 13:39:09 +05:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload File</title>
</head>
<body>
<h2>Upload Excel File</h2>
<form action="/" method="post" enctype="multipart/form-data">
<label for="file">Choose file:</label>
<input type="file" name="file" id="file" required>
<br><br>
<button type="submit">Upload</button>
</form>
{% if error %}
<p style="color: red;">{{ error }}</p>
{% endif %}
</body>
</html>