add all events from mockup

This commit is contained in:
2020-10-17 14:30:45 +02:00
parent 5a262a1115
commit 6964a4b787

View File

@@ -255,7 +255,7 @@
</div> <!-- .cd-schedule -->
<script>
class Appointment {
constructor(name, start, end, type = 1) {
constructor(name, start, end, type = 4) { // 1: blue, 2: dark blue, 3: green, 4: yellow
this.name = name;
this.start = start;
this.end = end;
@@ -300,20 +300,25 @@
}
document.getElementById("calendar_wrapper").innerHTML += new Schedule([
new Day("Monday", [
new Appointment("Test", "9:00", "10:00", 1),
new Appointment("Test", "17:00", "18:00", 1),
new Appointment("Lecture HCI", "9:30", "11:00", 4),
new Appointment("Lecture Analysis", "12:00", "13:30", 4),
new Appointment("Innebandy", "17:00", "18:30", 4),
]),
new Day("Tuesday", [
new Appointment("Group Meeting", "16:30", "18:30", 4),
]),
new Day("Wednesday", [
new Appointment("Lecture HCI", "12:00", "13:30", 4),
new Appointment("Dentist", "15:00", "16:00", 4),
new Appointment("Lecture Swedish", "16:30", "18:30", 4),
]),
new Day("Thursday", [
new Appointment("Lecture Analysis", "9:30", "11:00", 4),
new Appointment("Fika", "14:00", "14:45", 4),
]),
new Day("Friday", [
new Appointment("Seminar: Discrimination", "9:00", "13:00", 4),
new Appointment("Gask", "16:00", "18:30", 4)
]),
new Day("Saturday", [