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.template14
1 files changed, 5 insertions, 9 deletions
diff --git a/templates/wormhole.html.template b/templates/wormhole.html.template
index eb423ca..c89bad6 100644
--- a/templates/wormhole.html.template
+++ b/templates/wormhole.html.template
@@ -4,19 +4,15 @@
<form
method="post"
- enctype="multipart/form-data">
+ enctype="multipart/form-data"
+ style="display:flex;flex-direction:column;align-items:center">
<ol>
<li>
- <label for="file-input">Choose file</label>
- <input id="file-input" type="file" name="file">
+ <input id="file-input" type="file" name="file" width="50px">
</li>
<li>
- <p>Visit this URL <a href="/wormhole/{{.Hole}}">{{.Self}}/wormhole/{{.Hole}}</a> or scan QR code:</p>
- <img src="/wormhole/{{.Hole}}/qr.png?s={{.Sig}}" alt="QR code for {{.Self}}/wormhole/{{.Hole}}">
- </li>
- <li>
- <label for="submit">Click here:</label>
- <input id="submit" type="submit" value="Upload">
+ <input id="submit" type="submit" value="Upload" width="50px">
</li>
</ol>
+ Files will be deleted after 1 hour
</form>