42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de-DE">
|
|
<head>
|
|
<title>datatrash</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="description" content="Temporärer Dateiaustausch" />
|
|
<link href="/static/index.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>datatrash</h1>
|
|
<form action="/upload" method="POST" enctype="multipart/form-data">
|
|
<label for="file-upload">datei</label>
|
|
<br/>
|
|
<input id="file-upload" type="file" name="content" />
|
|
<br />
|
|
<label for="text-upload">oder asciitrash</label>
|
|
<br/>
|
|
<textarea
|
|
id="text-upload"
|
|
name="text_content"
|
|
rows="20"
|
|
cols="120"
|
|
></textarea>
|
|
<br />
|
|
<label for="validity_secs">gültig für</label>
|
|
<select id="validity_secs" 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">eine woche</option>
|
|
<option value="2678400">einen monat</option>
|
|
</select>
|
|
<br />
|
|
<input class="main button" type="submit" value="hochladen" />
|
|
</form>
|
|
</main>
|
|
</body>
|
|
</html>
|