Saddle/templates/index.html
2019-10-25 07:35:13 -04:00

36 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Saddle</title>
<link rel="stylesheet" type="text/css" href="/static/saddle.css">
<meta name="viewport" content="width=device-width, initial-scale=0.8">
<meta name="description" content="A file upload service.">
</head>
<body>
<header>
{% include 'header.html' %}
</header>
<main>
<section>
<form method="POST" enctype="multipart/form-data">
<input type="file" name="files" multiple><br>
<input type="url" name="url" placeholder="URL"><br>
<input type="checkbox" name="rand_name" id="rand_name" checked>
<label for="rand_name">Generate random filename.</label><br>
<input type="hidden" name="response_type" value="html">
<input type="checkbox" name="delete_this" id="delete_this">
<label for="delete_this">Delete this file in</label>
<input type="number" name="delete_num" min="1" max="59" value="1">
<select name="delete_type">
<option value="minutes">Minute</option>
<option value="hours">Hour</option>
<option value="days" selected="selected">Day</option>
<option value="weeks">Week</option>
</select>
<p><input type="submit" value="Submit">
</form>
</section>
</main>
</body>
</html>