diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-04-06 16:10:50 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-04-06 16:10:50 +0200 |
commit | 767a1711ff4cfafe1c81c6f1b73d10f55e2173c3 (patch) | |
tree | d6e575e88abe02db5edb51fe51a6c50c80a4014a | |
parent | 3007009fab9a3257de14cb3de70f85c836be67ae (diff) | |
download | volse-hubzilla-767a1711ff4cfafe1c81c6f1b73d10f55e2173c3.tar.gz volse-hubzilla-767a1711ff4cfafe1c81c6f1b73d10f55e2173c3.tar.bz2 volse-hubzilla-767a1711ff4cfafe1c81c6f1b73d10f55e2173c3.zip |
enable list views
-rw-r--r-- | Zotlabs/Module/Cdav.php | 2 | ||||
-rw-r--r-- | view/css/cdav_calendar.css | 4 | ||||
-rw-r--r-- | view/tpl/cdav_calendar.tpl | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/Zotlabs/Module/Cdav.php b/Zotlabs/Module/Cdav.php index dc599fb14..5dd233d28 100644 --- a/Zotlabs/Module/Cdav.php +++ b/Zotlabs/Module/Cdav.php @@ -895,12 +895,14 @@ class Cdav extends Controller { head_add_css('/library/fullcalendar/packages/core/main.min.css'); head_add_css('/library/fullcalendar/packages/daygrid/main.min.css'); head_add_css('/library/fullcalendar/packages/timegrid/main.min.css'); + head_add_css('/library/fullcalendar/packages/list/main.min.css'); head_add_css('cdav_calendar.css'); head_add_js('/library/fullcalendar/packages/core/main.min.js'); head_add_js('/library/fullcalendar/packages/interaction/main.min.js'); head_add_js('/library/fullcalendar/packages/daygrid/main.min.js'); head_add_js('/library/fullcalendar/packages/timegrid/main.min.js'); + head_add_js('/library/fullcalendar/packages/list/main.min.js'); $sources = ''; diff --git a/view/css/cdav_calendar.css b/view/css/cdav_calendar.css index 3e874a07e..2deff683c 100644 --- a/view/css/cdav_calendar.css +++ b/view/css/cdav_calendar.css @@ -25,3 +25,7 @@ main.fullscreen .fc td:last-child { .fc-unthemed .fc-popover { border-color: #ccc !important; } + +.fc-list-view { + border-width: 0px; +} diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl index 82413ab67..a577e3120 100644 --- a/view/tpl/cdav_calendar.tpl +++ b/view/tpl/cdav_calendar.tpl @@ -7,7 +7,7 @@ var views = {'dayGridMonth' : '{{$month}}', 'timeGridWeek' : '{{$week}}', 'timeG $(document).ready(function() { var calendarEl = document.getElementById('calendar'); calendar = new FullCalendar.Calendar(calendarEl, { - plugins: [ 'interaction', 'dayGrid', 'timeGrid' ], + plugins: [ 'interaction', 'dayGrid', 'timeGrid', 'list' ], eventSources: [ {{$sources}} ], timeZone: '{{$timezone}}', |