summaryrefslogtreecommitdiffstats
path: root/templates/wormhole.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wormhole.html.template')
-rw-r--r--templates/wormhole.html.template37
1 files changed, 15 insertions, 22 deletions
diff --git a/templates/wormhole.html.template b/templates/wormhole.html.template
index 9c770c1..d277f4c 100644
--- a/templates/wormhole.html.template
+++ b/templates/wormhole.html.template
@@ -1,23 +1,16 @@
-{{define "head" -}}
- <title>Wormhole</title>
-{{- end}}
+<title>Wormhole</title>
-{{define "body" -}}
- <form
- method="post"
- enctype="multipart/form-data"
- class="wormhole">
- <ol>
- <li>
- <input type="file" name="file" multiple>
- </li>
- <li>
- <input type="submit" value="Upload" class="wormhole-input">
- {{- if .Err}}
- <p><img class="inline" src="/static/confused.webp" alt="A logical dragon maid"><span style="color:red">{{.Err}}</span></p>
- {{- end}}
- </li>
- </ol>
- Files will be deleted after 1 hour
- </form>
-{{- end}}
+<form
+ method="post"
+ enctype="multipart/form-data"
+ class="wormhole">
+ <ol>
+ <li> <input type="file" name="file" multiple>
+ <li>
+ <input type="submit" value="Upload" class="wormhole-input">
+ {{- if .Err}}
+ <p><img class="inline" src="/static/confused.webp" alt="A logical dragon maid"><span style="color:red">{{.Err}}</span>
+ {{- end}}
+ </ol>
+ Files will be deleted after 1 hour
+</form>