quad-j/views/upload.ejs

18 lines
No EOL
561 B
Text

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload</title>
</head>
<body>
<h1>this is the upload page</h1>
<p>i think</p>
<form action='/api/upload' method="POST" enctype="multipart/form-data">
Password: <input type="password" name="password"> </br>
File name: <input type="text" name="filename"> </br>
<input type="file" name="file"/> </br>
<input type='submit' value='Upload!'/>
</form>
</body>
</html>