crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 0254aadec66d241ee314e73781b2da2b43198896
parent 1116807a8934ea9f147cc80e8969bf8788a3ec5f
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Tue, 14 Dec 2021 19:38:35 -0800

Add list email to homepage

Diffstat:
Mtemplates/static/style.css | 3++-
Mtemplates/thread.html | 2+-
Mtemplates/threadlist.html | 1+
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/templates/static/style.css b/templates/static/style.css @@ -22,9 +22,10 @@ table { border-spacing: 0.5em 0.1em; } margin-top: 6px; margin-bottom: 12px; } -.reply { +.right { text-align: right; } + .addr { color: #369; } diff --git a/templates/thread.html b/templates/thread.html @@ -16,7 +16,7 @@ <div class="email-body"> {{message.body}} </div> - <div class="reply"> + <div class="right"> <a href="{{message.mailto()}}">✉️ reply</a> </div> {% endfor %} diff --git a/templates/threadlist.html b/templates/threadlist.html @@ -2,6 +2,7 @@ {% block content %} <div class="page-title"><h1>{{config.list_name}}</h1></div> + <a href="mailto:{{config.list_email}}">{{config.list_email}}</a> <hr class="thin"> {% for thread in threads %} {% let message = thread.messages[0] %}