aboutsummaryrefslogtreecommitdiff
path: root/module/output/html.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-04-25 19:02:48 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-04-25 19:02:48 +0200
commit363cb4578f799831a3bafd1c62a36eac3e9b45e3 (patch)
tree4fdc8c45f7302eb9d33f1e69d5caf383bb02da63 /module/output/html.scm
parentUpdate HTML output, and CSS. (diff)
downloadcalp-363cb4578f799831a3bafd1c62a36eac3e9b45e3.tar.gz
calp-363cb4578f799831a3bafd1c62a36eac3e9b45e3.tar.xz
Change CSS date markers from id to class.
Diffstat (limited to 'module/output/html.scm')
-rw-r--r--module/output/html.scm8
1 files changed, 4 insertions, 4 deletions
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)))))))