also add some default css for PLEA status set.
protected function construct_existing_status_cell($text) {
$this->close_open_cell_if_needed();
- $this->cells[] = $text;
+ $this->cells[] = html_writer::span($text, 'attendancestatus-'.$text);
}
protected function construct_hidden_status_cell($text) {
.path-mod-attendance .remarkholder:hover .remarkcontent {
display: inline-block;
}
+
+.path-mod-attendance .attendancestatus-P {
+ color: green;
+}
+
+.path-mod-attendance .attendancestatus-E {
+ color: #00AEE3;
+}
+
+.path-mod-attendance .attendancestatus-L {
+ color: #F7931E;
+}
+
+.path-mod-attendance .attendancestatus-A {
+ color: red;
+}
\ No newline at end of file