aboutsummaryrefslogtreecommitdiff
path: root/themes/alps
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-19 11:35:57 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-19 11:35:57 -0500
commita1e8bcc5619040ede66f7d53e6acf9df61870609 (patch)
treec3623fe613070e606034e6f4a42384f112bc2a5f /themes/alps
parenta5d2af2c4ede21871aede2046f428e05d0bcfb14 (diff)
downloadalps-a1e8bcc5619040ede66f7d53e6acf9df61870609.tar.gz
alps-a1e8bcc5619040ede66f7d53e6acf9df61870609.zip
Implement message signature setting
Diffstat (limited to 'themes/alps')
-rw-r--r--themes/alps/assets/style.css3
-rw-r--r--themes/alps/settings.html16
2 files changed, 17 insertions, 2 deletions
diff --git a/themes/alps/assets/style.css b/themes/alps/assets/style.css
index e4a0d35..e64c8a3 100644
--- a/themes/alps/assets/style.css
+++ b/themes/alps/assets/style.css
@@ -653,7 +653,8 @@ main table tfoot {
}
.action-group label,
-.action-group input {
+.action-group input,
+.action-group textarea {
display: block;
width: 100%;
}
diff --git a/themes/alps/settings.html b/themes/alps/settings.html
index f6e586b..ebcc532 100644
--- a/themes/alps/settings.html
+++ b/themes/alps/settings.html
@@ -3,13 +3,27 @@
<div class="page-wrap">
<aside>
- <a href="/mailbox/INBOX">Back to inbox</a>
+ <ul>
+ <li>
+ <a href="/mailbox/INBOX">« Back to inbox</a>
+ </li>
+ </ul>
</aside>
<div class="container">
<main class="settings">
<form method="post">
<div class="action-group">
+ <label for="signature">Message signature</label>
+ <textarea
+ type="number"
+ name="signature"
+ id="signature"
+ rows="5"
+ >{{.Settings.Signature}}</textarea>
+ </div>
+
+ <div class="action-group">
<label for="messages_per_page">Messages per page</label>
<input
type="number"