40 lines
1.4 KiB
HTML
40 lines
1.4 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>
|
|
<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>
|
|
</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="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">
|
|
</form>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|