|
@ -35,11 +35,11 @@ function populateBoard(){ |
|
|
for (var i = 0; i < settings.length; i++) { |
|
|
for (var i = 0; i < settings.length; i++) { |
|
|
for (var j = settings[i].rankings.length - 1; j >= 0; j--) { |
|
|
for (var j = settings[i].rankings.length - 1; j >= 0; j--) { |
|
|
if(settings[i].rankings[j].teamId == 235){ |
|
|
if(settings[i].rankings[j].teamId == 235){ |
|
|
results += "<tr><td>"+i+"</td><td>"+settings[i].rankings[j].rank+"</td></tr>" |
|
|
|
|
|
|
|
|
results += "<tr><td>"+i+"</td><td>"+settings[i].rankings[j].rank+"</td><td>"+settings[i].rankings[j].score+"</td></tr>" |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
}; |
|
|
}; |
|
|
var results = "<table><thead><th>Setting</th><th>Placement</th></thead>"+results+"</table>"; |
|
|
|
|
|
|
|
|
var results = "<table><thead><th>Setting</th><th>Placement</th><th>Score</th></thead>"+results+"</table>"; |
|
|
listBoard.innerHTML = results; |
|
|
listBoard.innerHTML = results; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|