aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-05-15 23:57:21 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2021-05-16 00:07:57 +0200
commit2d91f05dfda49b61f2d83b2438975abb78dc3df1 (patch)
treea0e8b66f91a4f1d623a3aa7f7c4dada31f8d843b
parentGeneral fixup of vcal stuff. (diff)
downloadcalp-2d91f05dfda49b61f2d83b2438975abb78dc3df1.tar.gz
calp-2d91f05dfda49b61f2d83b2438975abb78dc3df1.tar.xz
Change background when in debug mode.
-rw-r--r--module/calp/html/view/calendar.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/calp/html/view/calendar.scm b/module/calp/html/view/calendar.scm
index e3b0bd3d..f84d2133 100644
--- a/module/calp/html/view/calendar.scm
+++ b/module/calp/html/view/calendar.scm
@@ -117,7 +117,10 @@
(script (@ (defer) (src "/static/date_time.js")))
(script (@ (defer) (src "/static/vcal.js")))
(script (@ (defer) (src "/static/script.js")))
- ,(calendar-styles calendars))
+ ,(calendar-styles calendars)
+
+ ,@(when (debug)
+ '((style ".root { background-color: pink; }"))))
(body
(div (@ (class "root"))