From 7fa0084bc738d5156903aafbb4b6f50d4dd4972b Mon Sep 17 00:00:00 2001 From: monthrie <110186937+monthrie@users.noreply.github.com> Date: Fri, 24 Jan 2025 15:53:34 +0000 Subject: [PATCH 1/2] home always displays name of interlocutor --- mds/code/chainmail/index.html | 333 +++++++++++++++++++--------------- 1 file changed, 185 insertions(+), 148 deletions(-) diff --git a/mds/code/chainmail/index.html b/mds/code/chainmail/index.html index 33a38478a..3cfdc5b2c 100644 --- a/mds/code/chainmail/index.html +++ b/mds/code/chainmail/index.html @@ -1,149 +1,186 @@ - - - - ChainMail - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
 ChainMail -    -    -    -
-
- -
-
-
- -
-
- -
-
All messages are signed and end to end encrypted so the sender, recipient and message are completely hidden

-
- -
- - - - - + + + + ChainMail + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
 ChainMail +    +    +    +
+
+ +
+
+
+ +
+
+ +
+
All messages are signed and end to end encrypted so the sender, recipient and message are completely hidden

+
+ +
+ + + + + \ No newline at end of file From abf5e521d08b66e0aa7d660c131519e79ea07807 Mon Sep 17 00:00:00 2001 From: monthrie <110186937+monthrie@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:05:52 +0000 Subject: [PATCH 2/2] ChainMail: Add unread message indicators and fix contact name display --- mds/code/chainmail/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mds/code/chainmail/style.css b/mds/code/chainmail/style.css index 356979914..0266e3218 100644 --- a/mds/code/chainmail/style.css +++ b/mds/code/chainmail/style.css @@ -206,3 +206,16 @@ body { font-style: italic; } +.unread { + background-color: #f0f7ff; +} + +.unread-label { + background-color: #007bff; + color: white; + padding: 2px 6px; + border-radius: 10px; + font-size: 12px; + margin-left: 8px; +} +