datatrash/template/index.html

36 lines
992 B
HTML
Raw Normal View History

2020-07-09 17:27:24 +00:00
<!DOCTYPE html>
<html>
<head>
<title>datatrash</title>
<meta charset="utf-8" />
<link href="/static/index.css" rel="stylesheet" />
</head>
<body>
<main>
<h1>datatrash</h1>
<form action="/upload" method="POST" enctype="multipart/form-data">
<input type="file" name="content" />
<br />
<textarea
name="text_content"
placeholder="Oder asciitrash"
rows="20"
cols="120"
></textarea>
<br />
Gültig für
<select name="validity_secs">
<option value="1800">30 minuten</option>
<option value="3600">60 minuten</option>
<option value="43200">12 stunden</option>
<option value="86400">24 stunden</option>
<option value="604800">1 woche</option>
<option value="2678400">1 monat</option>
</select>
<br />
<input type="submit" value="Hochladen" />
</form>
</main>
</body>
</html>