Added fuchsia to team backround options to indicate robot radio linked with out rio.

This commit is contained in:
Ed Jordan
2018-10-07 15:51:03 -07:00
parent 7a5a038a11
commit 3e796ce145
2 changed files with 5 additions and 0 deletions

View File

@@ -56,6 +56,9 @@ body {
.team-id[data-status=robot-linked] {
background-color: #0a3;
}
.team-id[data-status=radio-linked] {
background-color: #ff00ff;
}
.team-box-row {
display: flex;
height: 20%;

View File

@@ -33,6 +33,8 @@ var handleArenaStatus = function(data) {
} else if (stationStatus.DsConn) {
if (stationStatus.DsConn.RobotLinked) {
status = "robot-linked";
} else if (stationStatus.DsConn.RadioLinked) {
status = "radio-linked";
} else if (stationStatus.DsConn.DsLinked) {
status = "ds-linked";
}