Bug fixed, Wettkampfmodus Done. TODO: Zeitstempel der Statusampel im Master verwenden

This commit is contained in:
Carsten Graf
2025-08-06 22:47:31 +02:00
parent 4a04565878
commit ba1b86a053
7 changed files with 102 additions and 87 deletions

View File

@@ -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;
}

View File

@@ -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}`;