mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-18 20:10:12 +01:00
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:
commit
f8a00a13ac
1 changed files with 11 additions and 1 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue