From cbe3c46a898822b6ee0f10366e561c6a8055a1b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 2 Mar 2021 23:34:14 +0100 Subject: Start moving vcal stuff to own class. --- module/calp/html/view/calendar.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'module/calp/html/view') diff --git a/module/calp/html/view/calendar.scm b/module/calp/html/view/calendar.scm index 3f607bb7..e3b0bd3d 100644 --- a/module/calp/html/view/calendar.scm +++ b/module/calp/html/view/calendar.scm @@ -115,6 +115,7 @@ (script (@ (defer) (src "/static/server_connect.js"))) (script (@ (defer) (src "/static/input_list.js"))) (script (@ (defer) (src "/static/date_time.js"))) + (script (@ (defer) (src "/static/vcal.js"))) (script (@ (defer) (src "/static/script.js"))) ,(calendar-styles calendars)) -- cgit v1.2.3 From 2d91f05dfda49b61f2d83b2438975abb78dc3df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 15 May 2021 23:57:21 +0200 Subject: Change background when in debug mode. --- module/calp/html/view/calendar.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/calp/html/view') 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")) -- cgit v1.2.3