Add dashboard widgets

This commit is contained in:
2020-06-27 04:49:55 +01:00
parent 5a8c080a31
commit 71efdf93d8
4 changed files with 258 additions and 26 deletions

18
public/js/dashboard.js vendored Normal file
View File

@@ -0,0 +1,18 @@
document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('upcomingCalendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth',
themeSystem: 'bootstrap',
headerToolbar: {
left: 'dayGridMonth,timeGridWeek,timeGridDay',
center: 'title',
right: 'prevYear,prev,next,nextYear'
},
footerToolbar: {
center: '',
right: 'prev,next'
}
});
calendar.render();
});