Saddle/templates/index.html

40 lines
1.4 KiB
HTML
Raw Normal View History

2019-10-01 23:06:51 -04:00
<!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>
2019-10-06 18:11:48 -04:00
<div id="logo_line">
<object id="logo" title="Saddle Logo" data="/static/saddle.svg"></object>
<h1>Saddle</h1>
</div>
<nav><span><a href="./gallery/{{ request.cookies.get('userid') }}">Gallery</a></span></nav>
2019-10-01 23:06:51 -04:00
</header>
<main>
2019-10-02 18:44:06 -04:00
<section>
<form method="POST" enctype="multipart/form-data">
2019-10-02 19:47:27 -04:00
<input type="file" name="files" multiple><br>
2019-10-06 17:01:46 -04:00
<input type="url" name="url" placeholder="URL"><br>
2019-10-02 19:47:27 -04:00
<input type="checkbox" name="rand_name" id="rand_name" checked>
<label for="rand_name">Generate random filename.</label><br>
<input type="hidden" name="reponse_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">
2019-10-02 18:44:06 -04:00
</form>
</section>
2019-10-01 23:06:51 -04:00
</main>
</body>
</html>