Merge pull request #36 from netz39/34-kalender-elemente-auf-mobile-geräte-neu-anordnen

34 kalender elemente auf mobile geräte neu anordnen
This commit is contained in:
Max 2023-10-22 18:27:18 +02:00 committed by GitHub
commit f8a00a13ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,17 @@ icon: "far fa-calendar"
document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
initialView: 'dayGridMonth', height: "auto", locale: 'de', events: '/calendar-data'
initialView: 'dayGridMonth',
height: "auto",
locale: 'de',
events: '/calendar-data',
weekNumbers: true,
headerToolbar:
{
left: 'today',
center: 'title',
right: 'prev,next'
}
});
calendar.render();
});