Mise à jour : dernières modifs

This commit is contained in:
karim hassan
2025-08-24 14:49:43 +00:00
parent e3620c7f42
commit c5f16fe27b
45 changed files with 2426 additions and 552 deletions

View File

@@ -0,0 +1,11 @@
(async function(){
const items = await SSAPI.get('/tournaments/upcoming').catch(()=>[]);
const el = document.getElementById('list');
el.innerHTML = items.map(t=>`
<a class="card" href="/tournament/?id=${t.id}" style="display:block;text-decoration:none;color:inherit">
<strong>${t.name}</strong><br>
${t.location || ''}<br>
${t.start_date}${t.end_date}
</a>
`).join('') || '<p class="muted">Aucun événement à venir</p>';
})();