Add colors to each event in hendelse
This commit is contained in:
@@ -49,4 +49,5 @@ abstract class Event {
|
||||
|
||||
public abstract function getDescription(); /* : string */
|
||||
|
||||
public abstract function getColor(); /* : string */
|
||||
}
|
||||
|
@@ -56,4 +56,8 @@ class SimpleEvent extends Event {
|
||||
return $this->isDBEvent;
|
||||
}
|
||||
|
||||
public function getColor() {
|
||||
return "#3b7";
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -41,4 +41,8 @@ class AnimekveldEvent extends Event {
|
||||
];
|
||||
}
|
||||
|
||||
public function getColor() {
|
||||
return "#35a";
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -60,4 +60,8 @@ class BrettspillEvent extends Event {
|
||||
];
|
||||
}
|
||||
|
||||
public function getColor() {
|
||||
return "#000";
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -43,4 +43,8 @@ class NerdepitsaEvent extends Event {
|
||||
];
|
||||
}
|
||||
|
||||
public function getColor() {
|
||||
return "#c35";
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user