let apiUrlRoot = ""; const rootDiv = document.getElementById("safca_api_data"); const header = `
| Rouge | Scores | Bleu | Date | ||
|---|---|---|---|---|---|
| ${match.red} | ${match.red_w ? cupImg : ""} | ${scoreToString(match.score)} | ${match.blue_w ? cupImg : ""} | ${match.blue} | ${dateToString((match.red_w || match.blue_w) ? match.date : null)} |
| Place | Nom | Victoire | Ratio | Points marqués | Points reçus |
|---|---|---|---|---|---|
| ${row.rank} | ${row.name} | ${row.win} | ${row.pointRate.toFixed(3)} | ${row.pointMake} | ${row.pointTake} |
| Date | Poule | Adversaire | Scores | Ratio | |
|---|---|---|---|---|---|
| ${dateToString(match.date)} | ${match.poule} | ${match.adv} | ${scoreToString(match.score)} | ${match.ratio.toFixed(3)} | ${match.win ? cupImg : ""} |
| Catégorie | Nom | Victoires | Défaites | Ratio victoires | Points marqués | Points reçus | Ratio points |
|---|---|---|---|---|---|---|---|
| ${comb.cat} | ${comb.name} | ${comb.w} | ${comb.l} | ${comb.ratioVictoire.toFixed(3)} | ${comb.pointMake} | ${comb.pointTake} | ${comb.ratioPoint.toFixed(3)} |
| Catégorie | Club | Nom | Victoires | Défaites | Ratio victoires | Points marqués | Points reçus | Ratios points |
|---|---|---|---|---|---|---|---|---|
| ${comb.cat} | ${comb.club} | ${comb.name} | ${comb.w} | ${comb.l} | ${comb.ratioVictoire.toFixed(3)} | ${comb.pointMake} | ${comb.pointTake} | ${comb.ratioPoint.toFixed(3)} |