diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-16 14:45:55 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-16 14:45:55 +0100 |
commit | 65931445a8a3d2610bb2492ce515658701cf3241 (patch) | |
tree | 079cb19526b2d5d324fc1cffbb2a0cae0b8efc65 | |
parent | 1c5e17472d01be241ff80b062f77a88dafc51f17 (diff) | |
download | alps-65931445a8a3d2610bb2492ce515658701cf3241.tar.gz alps-65931445a8a3d2610bb2492ce515658701cf3241.zip |
Use <label> in compose form
-rw-r--r-- | plugins/base/public/compose.html | 19 | ||||
-rw-r--r-- | plugins/base/public/mailbox.html | 2 |
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"}} |