python_attendance_image/templates/upload.html

19 lines
552 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Upload Student Image</title>
</head>
<body>
<h1>Upload Student Image</h1>
<form action="/upload" method="post" enctype="multipart/form-data">
<label for="roll_number">Roll Number:</label>
<input type="text" id="roll_number" name="roll_number" required>
<br><br>
<label for="image">Select image:</label>
<input type="file" id="image" name="image" accept="image/*" required>
<br><br>
<input type="submit" value="Upload">
</form>
</body>
</html>