vanilla/components/uploadForm/index.html

39 lines
1.1 KiB
HTML
Raw Normal View History

2025-01-17 23:59:54 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://www.icofonts.com/style.css">
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>
<body class="theme">
<form id="upload" action="/upload" method="post" enctype="multipart/form-data">
<h2>File Upload</h2>
<h4>Attach the file(s) below</h4>
<div id="drop-area">
<span class="icon-upload"></span>
<b>Drag file(s) here to upload.</b>
<p>Alternatively, you can select a file by <strong>clicking here</strong></p>
<input class="visually-hidden" type="file" id="file-input" multiple required>
</div>
<div>
<input type="reset" id="clear-button" value="Cancel" formnovalidate></input>
<button type="submit" id="upload"><span class="icon-folder-upload"></span>Upload Files</button>
</div>
<div id="file-list"></div>
</form>
<script src="app.js"></script>
</body>
</html>