aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/view/calendar.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-10 16:18:47 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-10 16:20:03 +0100
commit12d9658e95ec981239a8391e75af784efe78f47f (patch)
tree99db273a24f02fc1cc91cc2efeff98239e9be748 /module/calp/html/view/calendar.scm
parentBroke out setup of popup on event creation. (diff)
downloadcalp-12d9658e95ec981239a8391e75af784efe78f47f.tar.gz
calp-12d9658e95ec981239a8391e75af784efe78f47f.tar.xz
Add create event button!
Diffstat (limited to '')
-rw-r--r--module/calp/html/view/calendar.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/calp/html/view/calendar.scm b/module/calp/html/view/calendar.scm
index e50bcfe5..3abf4959 100644
--- a/module/calp/html/view/calendar.scm
+++ b/module/calp/html/view/calendar.scm
@@ -137,6 +137,10 @@ window.default_calendar='~a';"
next-start: next-start
prev-start: prev-start
)
+
+ ,(btn onclick: "addNewEvent()"
+ "+")
+
;; Popups used to be here, but was moved into render-calendar so each
;; sub-view can itself decide where to put them. This is important
;; since they need to be placed as children to the scrolling