Skip to content

Commit

Permalink
Merge pull request #24 from 16bravo/feature/web_page_ameliorations
Browse files Browse the repository at this point in the history
amelioration tableau bootstrap + ajout drapeaux
  • Loading branch information
16bravo authored Dec 20, 2023
2 parents 972d5b5 + b6c0a78 commit 86a097e
Show file tree
Hide file tree
Showing 255 changed files with 9 additions and 2 deletions.
Binary file added img/AFG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/AIA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ALB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ALG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/AND.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ANG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ARG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ARM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ARU.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ASA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ATG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/AUS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/AUT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/AZE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BAH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BAN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BDI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BEL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BEN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BER.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BFA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BHR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BHU.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BIH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BLR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/BLZ.png
Binary file added img/BOL.png
Binary file added img/BOT.png
Binary file added img/BRA.png
Binary file added img/BRB.png
Binary file added img/BRU.png
Binary file added img/BUL.png
Binary file added img/CAM.png
Binary file added img/CAN.png
Binary file added img/CGO.png
Binary file added img/CHA.png
Binary file added img/CHI.png
Binary file added img/CIV.png
Binary file added img/CMR.png
Binary file added img/COD.png
Binary file added img/COK.png
Binary file added img/COL.png
Binary file added img/COM.png
Binary file added img/CPV.png
Binary file added img/CRC.png
Binary file added img/CRO.png
Binary file added img/CTA.png
Binary file added img/CUB.png
Binary file added img/CUR.png
Binary file added img/CYP.png
Binary file added img/CZE.png
Binary file added img/DEN.png
Binary file added img/DJI.png
Binary file added img/DMA.png
Binary file added img/DOM.png
Binary file added img/ECU.png
Binary file added img/EGY.png
Binary file added img/ENG.png
Binary file added img/EQG.png
Binary file added img/ERI.png
Binary file added img/ESP.png
Binary file added img/EST.png
Binary file added img/ETH.png
Binary file added img/FAR.png
Binary file added img/FIJ.png
Binary file added img/FIN.png
Binary file added img/FRA.png
Binary file added img/GAM.png
Binary file added img/GBN.png
Binary file added img/GEO.png
Binary file added img/GER.png
Binary file added img/GHA.png
Binary file added img/GIB.png
Binary file added img/GLP.png
Binary file added img/GNB.png
Binary file added img/GRE.png
Binary file added img/GRN.png
Binary file added img/GUA.png
Binary file added img/GUF.png
Binary file added img/GUI.png
Binary file added img/GUM.png
Binary file added img/GUY.png
Binary file added img/HAI.png
Binary file added img/HKG.png
Binary file added img/HON.png
Binary file added img/HUN.png
Binary file added img/IDN.png
Binary file added img/IND.png
Binary file added img/IRL.png
Binary file added img/IRN.png
Binary file added img/IRQ.png
Binary file added img/ISL.png
Binary file added img/ISR.png
Binary file added img/ITA.png
Binary file added img/JAM.png
Binary file added img/JOR.png
Binary file added img/JPN.png
Binary file added img/KAZ.png
Binary file added img/KEN.png
Binary file added img/KGZ.png
Binary file added img/KIR.png
Binary file added img/KOR.png
Binary file added img/KOS.png
Binary file added img/KSA.png
Binary file added img/KUW.png
Binary file added img/LAO.png
Binary file added img/LAT.png
Binary file added img/LBN.png
Binary file added img/LBR.png
Binary file added img/LBY.png
Binary file added img/LCA.png
Binary file added img/LES.png
Binary file added img/LIE.png
Binary file added img/LIT.png
Binary file added img/LUX.png
Binary file added img/MAC.png
Binary file added img/MAD.png
Binary file added img/MAR.png
Binary file added img/MAS.png
Binary file added img/MAU.png
Binary file added img/MCO.png
Binary file added img/MD.png
Binary file added img/MDA.png
Binary file added img/MDV.png
Binary file added img/MEX.png
Binary file added img/MKD.png
Binary file added img/MLI.png
Binary file added img/MLT.png
Binary file added img/MNE.png
Binary file added img/MON.png
Binary file added img/MOZ.png
Binary file added img/MSR.png
Binary file added img/MTN.png
Binary file added img/MTQ.png
Binary file added img/MWI.png
Binary file added img/MYA.png
Binary file added img/NAM.png
Binary file added img/NCL.png
Binary file added img/NED.png
Binary file added img/NEP.png
Binary file added img/NGA.png
Binary file added img/NIC.png
Binary file added img/NIG.png
Binary file added img/NIR.png
Binary file added img/NIU.png
Binary file added img/NMI.png
Binary file added img/NOR.png
Binary file added img/NZL.png
Binary file added img/OMA.png
Binary file added img/PAK.png
Binary file added img/PAL.png
Binary file added img/PAN.png
Binary file added img/PAR.png
Binary file added img/PER.png
Binary file added img/PHI.png
Binary file added img/PLE.png
Binary file added img/PNG.png
Binary file added img/POL.png
Binary file added img/POR.png
Binary file added img/PRC.png
Binary file added img/PRK.png
Binary file added img/QAT.png
Binary file added img/REU.png
Binary file added img/ROU.png
Binary file added img/RSA.png
Binary file added img/RUS.png
Binary file added img/RWA.png
Binary file added img/SAM.png
Binary file added img/SCO.png
Binary file added img/SEN.png
Binary file added img/SEY.png
Binary file added img/SGP.png
Binary file added img/SKN.png
Binary file added img/SLE.png
Binary file added img/SLV.png
Binary file added img/SMA.png
Binary file added img/SMR.png
Binary file added img/SOL.png
Binary file added img/SOM.png
Binary file added img/SRB.png
Binary file added img/SRI.png
Binary file added img/SSD.png
Binary file added img/STP.png
Binary file added img/SUD.png
Binary file added img/SUI.png
Binary file added img/SUR.png
Binary file added img/SVK.png
Binary file added img/SVN.png
Binary file added img/SWE.png
Binary file added img/SWZ.png
Binary file added img/SYR.png
Binary file added img/TAH.png
Binary file added img/TAI.png
Binary file added img/TAN.png
Binary file added img/TCA.png
Binary file added img/THA.png
Binary file added img/TJK.png
Binary file added img/TKM.png
Binary file added img/TLS.png
Binary file added img/TOG.png
Binary file added img/TON.png
Binary file added img/TRI.png
Binary file added img/TUN.png
Binary file added img/TUR.png
Binary file added img/TUV.png
Binary file added img/UAE.png
Binary file added img/UGA.png
Binary file added img/UKR.png
Binary file added img/URU.png
Binary file added img/USA.png
Binary file added img/UZB.png
Binary file added img/VAN.png
Binary file added img/VAT.png
Binary file added img/VEN.png
Binary file added img/VGB.png
Binary file added img/VIE.png
Binary file added img/VIN.png
Binary file added img/VIR.png
Binary file added img/WAL.png
Binary file added img/YEM.png
Binary file added img/ZAM.png
Binary file added img/ZIM.png
Binary file added img/aq.png
Binary file added img/ax.png
Binary file added img/bl.png
Binary file added img/bq.png
Binary file added img/bv.png
Binary file added img/cc.png
Binary file added img/cx.png
Binary file added img/eh.png
Binary file added img/fk.png
Binary file added img/fm.png
Binary file added img/gb.png
Binary file added img/gg.png
Binary file added img/gl.png
Binary file added img/gs.png
Binary file added img/hm.png
Binary file added img/im.png
Binary file added img/io.png
Binary file added img/je.png
Binary file added img/ky.png
Binary file added img/mf.png
Binary file added img/nf.png
Binary file added img/nr.png
Binary file added img/pm.png
Binary file added img/pn.png
Binary file added img/pr.png
Binary file added img/sh.png
Binary file added img/sj.png
Binary file added img/tf.png
Binary file added img/tk.png
Binary file added img/um.png
Binary file added img/wf.png
Binary file added img/yt.png
11 changes: 9 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Ajoutez la référence au thème Bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.22/css/dataTables.bootstrap4.min.css">
<script type="text/javascript" charset="utf8" src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.22/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.22/js/dataTables.bootstrap4.min.js"></script>
<title>Bravo!Ranking</title>
</head>
<body class="bg-light">
Expand Down Expand Up @@ -42,20 +46,23 @@ <h1 class="mb-4">Bravo!Ranking</h1>
// Référence vers le corps du tableau
const tableBody = document.getElementById('table-body');

// Chargement du JSON et construction du tableau
// Chargement du JSON et construction du tableau avec DataTables
loadJSON().then(jsonData => {
// Boucle à travers les données JSON et construit les lignes du tableau
jsonData.forEach(item => {
const row = document.createElement('tr');
row.innerHTML = `
<td>${item.ranking}</td>
<td><img src="${item.flag}" alt="${item.team}" width="30"></td>
<td><img src="img/${item.flag}" alt="${item.team}" width="30"></td>
<td>${item.team}</td>
<td>${item.points}</td>
<td>${item.confederation}</td>
`;
tableBody.appendChild(row);
});

// Activer DataTables sur le tableau
$('#myTable').DataTable();
});
</script>

Expand Down

0 comments on commit 86a097e

Please sign in to comment.