Bug fixed, Wettkampfmodus Done. TODO: Zeitstempel der Statusampel im Master verwenden
This commit is contained in:
@@ -355,18 +355,24 @@ body {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.status.ready {
|
||||
.status.finished {
|
||||
background-color: rgba(52, 152, 219, 0.3);
|
||||
border: 2px solid #3498db;
|
||||
}
|
||||
|
||||
.status.running {
|
||||
.status.ready {
|
||||
background-color: rgba(46, 204, 113, 0.3);
|
||||
border: 2px solid #2ecc71;
|
||||
animation: pulse 1s infinite;
|
||||
}
|
||||
|
||||
.status.finished {
|
||||
.status.armed {
|
||||
background-color: rgb(197, 194, 0);
|
||||
border: 2px solid #fbff00;
|
||||
animation: pulse 1s infinite;
|
||||
}
|
||||
|
||||
.status.running {
|
||||
background-color: rgba(231, 76, 60, 0.3);
|
||||
border: 2px solid #e74c3c;
|
||||
}
|
||||
|
||||
@@ -380,7 +380,7 @@
|
||||
s1.textContent = "Beendet";
|
||||
break;
|
||||
case "armed":
|
||||
s1.textContent = "Armiert"; // Neuer Status für armiert
|
||||
s1.textContent = "Armiert";
|
||||
break;
|
||||
default:
|
||||
s1.textContent = "Unbekannter Status";
|
||||
@@ -391,7 +391,7 @@
|
||||
|
||||
if (!lane2Connected) {
|
||||
s2.className = "status standby";
|
||||
s2.textContent = "Standby: Bitte beide 1x betätigen";
|
||||
s2.textContent = "Standby: Bitte beide Buttons 1x betätigen";
|
||||
} else {
|
||||
s2.className = `status ${status2}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user