diff --git a/cal.css b/cal.css index 4c882eb..7fd591a 100644 --- a/cal.css +++ b/cal.css @@ -53,6 +53,10 @@ a.fc-event.fc-daygrid-event[href]:visited { background: #947e00; } +.complete-page { + background: var(--fc-event-bg-color); +} + .cancelled-event { background: repeating-linear-gradient(45deg, #555, diff --git a/cal.js b/cal.js index 49f49c4..67c89f2 100644 --- a/cal.js +++ b/cal.js @@ -3,7 +3,8 @@ var events = [ title: "Auffrischung Mathematik - Teil 1", start: "2023-10-04T10:30:00", end: "2023-10-04T12:00:00", - url: "https://ia.lu-dev.de/#/page/auffrischung%20mathematik%2F23-10-04" + url: "https://ia.lu-dev.de/#/page/auffrischung%20mathematik%2F23-10-04", + classNames: ["complete-page"] }, { title: "Auffrischung Mathematik - Teil 2", @@ -28,7 +29,8 @@ var events = [ title: "Grundlagen und Diskrete Strukturen", start: "2023-10-10T09:00:00", end: "2023-10-10T10:30:00", - url: "https://ia.lu-dev.de/#/page/grundlagen%20und%20diskrete%20strukturen%2F23-10-10" + url: "https://ia.lu-dev.de/#/page/grundlagen%20und%20diskrete%20strukturen%2F23-10-10", + classNames: ["complete-page"] }, { title: "Übung: Programmierung und Algorithmen", @@ -76,7 +78,8 @@ var events = [ title: "Grundlagen und Diskrete Strukturen", start: "2023-10-13T09:00:00", end: "2023-10-13T10:30:00", - url: "https://ia.lu-dev.de/#/page/grundlagen%20und%20diskrete%20strukturen%2F23-10-13" + url: "https://ia.lu-dev.de/#/page/grundlagen%20und%20diskrete%20strukturen%2F23-10-13", + classNames: ["complete-page"] }, { title: "Übung: Mathematik für Informatiker 1", @@ -84,6 +87,12 @@ var events = [ end: "2023-10-13T12:30:00", classNames: ["missing-page"] }, + { + title: "Mathematik für Informatiker 1", + start: "2023-10-16T13:00:00", + end: "2023-10-16T14:30:00", + classNames: ["missing-page"] + }, ]; document.addEventListener("DOMContentLoaded", function () {