karton/templates/index.html

28 lines
1,011 B
HTML
Raw Normal View History

2022-04-10 22:21:45 +00:00
{% include "header.html" %}
<form action="upload" method="POST" enctype="multipart/form-data">
<br>
2022-04-10 22:21:45 +00:00
<label for="expiration">Expiration</label><br>
<select style="width: 100%;" name="expiration" id="expiration">
2022-04-10 22:21:45 +00:00
<optgroup label="Expire">
2022-04-11 13:41:28 +00:00
<option value="1min">1 minute</option>
2022-04-10 22:21:45 +00:00
<option value="10min">10 minutes</option>
<option value="1hour">1 hour</option>
<option selected value="24hour">24 hours</option>
<option value="1week">1 week</option>
</optgroup>
<option value="never">Never Expire</option>
</select>
<br>
<label>Content</label>
<br>
<textarea style="width: 100%; min-height: 100px" name="content" autofocus></textarea>
2022-04-10 22:21:45 +00:00
<br>
<label>File attachment</label>
<br>
<input style="width: 100%;" type="file" id="file" name="file">
<br>
<input style="width: 120px; background-color: limegreen" ; type="submit" value="Save"/>
<br>
2022-04-10 22:21:45 +00:00
</form>
{% include "footer.html" %}