aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-16 14:45:55 +0100
committerSimon Ser <contact@emersion.fr>2019-12-16 14:45:55 +0100
commit65931445a8a3d2610bb2492ce515658701cf3241 (patch)
tree079cb19526b2d5d324fc1cffbb2a0cae0b8efc65 /plugins
parent1c5e17472d01be241ff80b062f77a88dafc51f17 (diff)
downloadalps-65931445a8a3d2610bb2492ce515658701cf3241.tar.gz
alps-65931445a8a3d2610bb2492ce515658701cf3241.zip
Use <label> in compose form
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/public/compose.html19
-rw-r--r--plugins/base/public/mailbox.html2
2 files changed, 12 insertions, 9 deletions
diff --git a/plugins/base/public/compose.html b/plugins/base/public/compose.html
index 2a52675..5f0b904 100644
--- a/plugins/base/public/compose.html
+++ b/plugins/base/public/compose.html
@@ -11,14 +11,17 @@
<form method="post" action="">
<input type="hidden" name="in_reply_to" value="{{.Message.InReplyTo}}">
- <p>From:</p>
- <input type="email" name="from" value="{{.Message.From}}">
- <p>To:</p>
- <input type="email" name="to" multiple value="{{.Message.ToString}}">
- <p>Subject:</p>
- <input type="text" name="subject" value="{{.Message.Subject}}">
- <p>Body:</p>
- <textarea name="text" cols="80" rows="20">{{.Message.Text}}</textarea>
+ <label for="from">From:</label>
+ <input type="email" name="from" id="from" value="{{.Message.From}}">
+ <br><br>
+ <label for="to">To:</label>
+ <input type="email" name="to" id="to" multiple value="{{.Message.ToString}}">
+ <br><br>
+ <label for="subject">Subject:</label>
+ <input type="text" name="subject" id="subject" value="{{.Message.Subject}}">
+ <br><br>
+ <label for="text">Body:</label><br>
+ <textarea name="text" id="text" cols="80" rows="20">{{.Message.Text}}</textarea>
<br><br>
<input type="submit" value="Send">
</form>
diff --git a/plugins/base/public/mailbox.html b/plugins/base/public/mailbox.html
index 53cf697..6deaa38 100644
--- a/plugins/base/public/mailbox.html
+++ b/plugins/base/public/mailbox.html
@@ -44,7 +44,7 @@
{{end}}
</p>
{{else}}
- <p>Mailbox is empty.</p>
+ <p>No message.</p>
{{end}}
{{template "foot.html"}}