Add dashboard widgets
This commit is contained in:
18
public/js/dashboard.js
vendored
Normal file
18
public/js/dashboard.js
vendored
Normal 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();
|
||||
});
|
Reference in New Issue
Block a user