crabmail

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

commit 10e4c79e2ad3d166452574fbe3901628f244301a
parent e7b23bac17394ce3bdebb5e02c391490422388ec
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon, 13 Dec 2021 15:54:37 -0800

improve style, fix bugz

Diffstat:
Msrc/main.rs | 5++++-
Mtemplates/static/style.css | 10+++++-----
2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -141,7 +141,10 @@ fn main() -> Result<()> { let buffer = entry.message().unwrap(); let email = match local_parse_email(buffer) { Ok(e) => e, - Err(_) => continue, + Err(e) => { + println!("{:?}", e); + continue; + } }; // TODO fix borrow checker if let Some(reply) = email.in_reply_to.clone() { diff --git a/templates/static/style.css b/templates/static/style.css @@ -19,18 +19,19 @@ table { border-spacing: 0.5em 0.1em; } } .message-sum { - margin: 4px; + margin-top: 6px; + margin-bottom: 10px; } .reply { text-align: right; } .addr { - color: darkblue; + color: #369; } .threadlink { - font-size: 1.2rem; - font-weight: bold; + font-size: 1.3rem; + color: #202020; } .timeago { @@ -94,7 +95,6 @@ a { } a:visited { - color: blue; } a:hover{ text-decoration: underline;