datatrash/static/index.html

42 lines
1.3 KiB
HTML
Raw Normal View History

2020-07-09 17:27:24 +00:00
<!DOCTYPE html>
2020-08-03 00:41:36 +00:00
<html lang="de-DE">
2020-07-09 17:27:24 +00:00
<head>
<title>datatrash</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
2020-08-03 00:41:36 +00:00
<meta name="description" content="Temporärer Dateiaustausch" />
2020-07-09 17:27:24 +00:00
<link href="/static/index.css" rel="stylesheet" />
</head>
<body>
<main>
<h1>datatrash</h1>
<form action="/upload" method="POST" enctype="multipart/form-data">
2020-08-03 00:41:36 +00:00
<label for="file-upload">datei</label>
<br/>
<input id="file-upload" type="file" name="content" />
2020-07-09 17:27:24 +00:00
<br />
2020-08-03 00:41:36 +00:00
<label for="text-upload">oder asciitrash</label>
<br/>
2020-07-09 17:27:24 +00:00
<textarea
2020-08-03 00:41:36 +00:00
id="text-upload"
2020-07-09 17:27:24 +00:00
name="text_content"
rows="20"
cols="120"
></textarea>
<br />
2020-08-03 00:41:36 +00:00
<label for="validity_secs">gültig für</label>
<select id="validity_secs" name="validity_secs">
2020-07-09 17:27:24 +00:00
<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 />
2020-08-03 00:41:36 +00:00
<input class="main button" type="submit" value="hochladen" />
2020-07-09 17:27:24 +00:00
</form>
</main>
</body>
</html>