Author: Manos Pitsidianakis [manos@pitsidianak.is]
Hash: 11e3d893c323751a39f93a2b940a235f0c8bb69b
Timestamp: Sun, 05 Nov 2023 15:47:11 +0000 (10 months ago)

+2 -3 +/-2 browse
web: fix invalid html markup
web: fix invalid html markup

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
1diff --git a/web/src/main.rs b/web/src/main.rs
2index 125742a..0882abc 100644
3--- a/web/src/main.rs
4+++ b/web/src/main.rs
5 @@ -197,7 +197,7 @@ async fn root(
6 chrono::Utc
7 .timestamp_opt(p.timestamp as i64, 0)
8 .earliest()
9- .map(|d| d.to_string())
10+ .map(|d| d.to_rfc3339())
11 });
12 let list_owners = db.list_owners(list.pk)?;
13 let mut list_obj = MailingList::from(list.clone());
14 diff --git a/web/src/templates/css.html b/web/src/templates/css.html
15index 5192df5..2e95831 100644
16--- a/web/src/templates/css.html
17+++ b/web/src/templates/css.html
18 @@ -1015,7 +1015,6 @@
19 overflow:hidden;
20 }
21
22- <
23 ul.tags.inline {
24 display: contents;
25 }
26 @@ -1032,7 +1031,7 @@
27 }
28
29 .tag {
30- --aa-brightness: ((var(--red) * 299) + (var(--green) * 587) + (var(--blue) * 114)) / 1000;
31+ --aa-brightness: calc(((var(--red) * 299) + (var(--green) * 587) + (var(--blue) * 114)) / 1000);
32 --aa-color: calc((var(--aa-brightness) - 128) * -1000);
33
34 --padding-top-bottom: 0.2rem;