blob: f50be9717fab8395894818a8d4321d622cf85d6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{{define "index"}}
{{template "header" .}}
<main>
<h1>drop.janw.name</h1>
<form method="POST" action="/" enctype="multipart/form-data">
<div>
<label for="file">
File:
</label>
<input id="file" type="file" name="file">
</div>
<div>
<label for="protect">
Password Protect:
</label>
<input id="protect" type="checkbox" name="protect">
</div>
<div>
<label for="until">
Available Until:
</label>
<input id="until" type="datetime-local" name="until">
</div>
<input type="submit" id="upload" value="Upload">
</form>
</main>
{{template "footer" .}}
{{end}}
|