diff options
| author | Jan Wolff <janw@mailbox.org> | 2025-09-12 09:34:01 +0200 |
|---|---|---|
| committer | Jan Wolff <janw@mailbox.org> | 2025-09-12 09:34:01 +0200 |
| commit | 283c31564a9d5dab4b8b71d7498886b0cd20a999 (patch) | |
| tree | bc15867a389f25b1855042b5af20efba96c68dbb /controller/template/index.html | |
initial commit
Diffstat (limited to 'controller/template/index.html')
| -rw-r--r-- | controller/template/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/controller/template/index.html b/controller/template/index.html new file mode 100644 index 0000000..f50be97 --- /dev/null +++ b/controller/template/index.html @@ -0,0 +1,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}} |
