goshare/templates/index.html

30 lines
860 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload files | goshare</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="container">
<h1>Upload files</h1>
<form id="form">
<div id="upload-box" >
<label for="file-input">Choose file to upload</label><br/>
<input id="file-input" type="file" multiple onchange="handleUpload(this.files)">
</div>
<label for="retention-select">Retention period</label>
<select name="retention" id="retention-select">
<option value="1_day">One Day</option>
<option value="2_day">Two Days</option>
</select>
<button id="upload-btn" type="submit">Upload</button>
</form>
</div>
<script src="/static/script.js"></script>
</body>
</html>