summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/login.html.template2
-rw-r--r--templates/wormhole.html.template9
2 files changed, 7 insertions, 4 deletions
diff --git a/templates/login.html.template b/templates/login.html.template
index 8bdc613..e9ffe2b 100644
--- a/templates/login.html.template
+++ b/templates/login.html.template
@@ -2,7 +2,7 @@
<section>
{{if .Error}}
- <p class="login-error">Incorrect password</p>
+ <p class="login-error"><img class="inline" src="/static/angry.webp">Incorrect password</p>
{{end}}
<form class="password-form" action="/login" method="post">
<input type="hidden" name="redirect" value="{{.Redirect}}">
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