mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-16 05:57:48 +01:00
tournoi ready to get some data
This commit is contained in:
parent
1cdae5aac1
commit
5b16c95ada
@ -271,6 +271,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
//}
|
||||
//})
|
||||
|
||||
//if (menuButton) {
|
||||
//console.log("menu bouton ok")
|
||||
menuButton.addEventListener('click', toggleMenu);
|
||||
//}
|
||||
|
||||
function toggleMenu() {
|
||||
console.log('Menu toggled');
|
||||
if (dropdownMenu.style.display === "block") {
|
||||
@ -280,11 +285,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
}
|
||||
|
||||
if (menuButton) {
|
||||
//console.log("menu bouton ok")
|
||||
menuButton.addEventListener('click', toggleMenu);
|
||||
}
|
||||
|
||||
const links = document.querySelectorAll('#dropdown-menu a');
|
||||
//console.log(links);
|
||||
|
||||
|
||||
@ -261,10 +261,10 @@
|
||||
<td>{{ match.is_tournoi }}</td>
|
||||
<td>{{ match.tournoi.name }}</td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
<tr>
|
||||
<td colspan="12">No matches found.</td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
<tr>
|
||||
<td colspan="12">No matches found.</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user