- { if e.recurrence { - html!("⭯") - } else { - html!(" ") - } } + style=( format!("border-left: 1.5rem solid {}", &config.calendars.get(&e.calendar).map(|o| &o.color[..]).unwrap_or("white")) )> +
+ { if e.recurrence { + html!("⭯") + } else { + html!(" ") + } } + title=( format!("{}", e.dtstart.format("%c")) )> { text!("{}", &e.dtstart.format("%H:%M")) }
@@ -122,7 +119,7 @@ fn render_index(app_state: &AppState) -> String { ), Some(url) => html!(