New design.
This commit is contained in:
@@ -9,4 +9,13 @@
|
||||
case 4: return 'Major Outage';
|
||||
}
|
||||
}
|
||||
|
||||
public function getColorAttribute() {
|
||||
switch ($this->status) {
|
||||
case 1: return 'text-success';
|
||||
case 2: return 'text-info';
|
||||
case 3: return 'text-alert';
|
||||
case 4: return 'text-danger';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
case 1:
|
||||
return 'warning';
|
||||
case 2:
|
||||
return 'alert';
|
||||
case 3:
|
||||
return 'info';
|
||||
case 4:
|
||||
@@ -27,7 +28,7 @@
|
||||
case 1:
|
||||
return 'glyphicon-flag';
|
||||
case 2:
|
||||
return 'glyphicon-certificate';
|
||||
return 'glyphicon-warning-sign';
|
||||
case 3:
|
||||
return 'glyphicon-eye-open';
|
||||
case 4:
|
||||
|
||||
Reference in New Issue
Block a user