red for eliminated teams

This commit is contained in:
Allan Cueff
2023-11-07 19:40:55 +01:00
parent cb223c139a
commit 1a5d95ede2

View File

@@ -29,7 +29,7 @@ function getOrderedTableTeams(sport){
if(teams[i].classement <= sport.qualified){
color = "bg-success"
} else {
color = "bg-primary"
color = "bg-danger"
}
result += `<div class="d-flex justify-content-between align-items-start">${teams[i].classement}e : ${teams[i].name}<span class="badge ${color} rounded-pill">${teams[i].points} pts</span></div>`
}