<!DOCTYPE html>
<html>
  <head>
    <title>datatrash</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <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 />
        <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">1 woche</option>
          <option value="2678400">1 monat</option>
        </select>
        <br />
        <input type="submit" value="Hochladen" />
      </form>
    </main>
  </body>
</html>