From 363cb4578f799831a3bafd1c62a36eac3e9b45e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 25 Apr 2019 19:02:48 +0200 Subject: Change CSS date markers from id to class. --- module/output/html.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/output/html.scm') diff --git a/module/output/html.scm b/module/output/html.scm index d68d8bab..34363367 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -107,8 +107,8 @@ (span (@ (class "daydate")) ,(date->string date "~Y-~m-~d"))) (div (@ (class "events")) ,@(map (lambda (time) - `(div (@ (id ,(string-append "clock-" time)) - (class "clock")) " ")) + `(div (@ (class "clock " + ,(string-append "clock-" time))) " ")) (map number->string (iota 12 0 2))) ,@(stream->list (stream-map (lambda (e) (vevent->sxml date e)) events)))))) @@ -118,8 +118,8 @@ (div (@ (class "meta")) #\space) (div (@ (class "clockbar")) ,@(map (lambda (time) - `(div (@ (id ,(string-append "clock-" time)) - (class "clock")) + `(div (@ (class "clock " + ,(string-append "clock-" time))) (span (@ (class "clocktext")) ,(string-append time ":00")))) (map number->string (iota 12 0 2))))))) -- cgit v1.2.3