mirror of
https://github.com/13hannes11/UU_hci_prototype.git
synced 2024-09-04 01:11:00 +02:00
add all events from mockup
This commit is contained in:
19
index.html
19
index.html
@@ -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", [
|
||||
|
||||
|
||||
Reference in New Issue
Block a user