diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-12-29 18:56:30 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-12-29 18:56:30 -0800 |
| commit | 54ea1b0f4a841e91daa3ac08d155a8f0109c920d (patch) | |
| tree | 8c5a005af0244ca1291dcf5f6a5c2b33d59a0b11 /templates/wormhole.html.template | |
| parent | 2a9faab3de7648344dcc1973a71ada8125c0afa3 (diff) | |
| download | roseh.moe-54ea1b0f4a841e91daa3ac08d155a8f0109c920d.tar.zst | |
Make wormhole a little bit simpler
Diffstat (limited to 'templates/wormhole.html.template')
| -rw-r--r-- | templates/wormhole.html.template | 14 |
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> |
