diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-12-29 23:01:53 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-12-29 23:01:53 -0800 |
| commit | 689df3b2a8a8d7d79d18cd5e9bbc4beba6b12f4c (patch) | |
| tree | 4a7553346b011493aea5f11bbded3c9a7a4e9c8b /templates/wormhole.html.template | |
| parent | a6840f568b33aa030edafa0d007647f4303a4ca9 (diff) | |
| download | roseh.moe-689df3b2a8a8d7d79d18cd5e9bbc4beba6b12f4c.tar.zst | |
Fix error messages
Diffstat (limited to 'templates/wormhole.html.template')
| -rw-r--r-- | templates/wormhole.html.template | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/wormhole.html.template b/templates/wormhole.html.template index c89bad6..238719a 100644 --- a/templates/wormhole.html.template +++ b/templates/wormhole.html.template @@ -5,13 +5,16 @@ <form method="post" enctype="multipart/form-data" - style="display:flex;flex-direction:column;align-items:center"> + class="wormhole"> <ol> <li> - <input id="file-input" type="file" name="file" width="50px"> + <input type="file" name="file"> </li> <li> - <input id="submit" type="submit" value="Upload" width="50px"> + <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 |
