Added charts

This commit is contained in:
2020-11-21 17:40:05 +01:00
parent 1d438bc349
commit f85346aea9
8 changed files with 596 additions and 12 deletions

View File

@ -63,8 +63,8 @@ class DeviceComponent extends Component {
if (status == "Online") {
return { color: green[600] };
} else if (status == "Offline") {
return { color: orange[900] };
} else /* if (device.status == "unknown") */ {
return { color: blueGrey[500] };
} else /* if (device.status == "Unknown" || device.status == "Error") */ {
return { color: red[800] };
}
}