mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-16 14:07:49 +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() {
|
function toggleMenu() {
|
||||||
console.log('Menu toggled');
|
console.log('Menu toggled');
|
||||||
if (dropdownMenu.style.display === "block") {
|
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');
|
const links = document.querySelectorAll('#dropdown-menu a');
|
||||||
//console.log(links);
|
//console.log(links);
|
||||||
|
|
||||||
|
|||||||
@ -261,10 +261,10 @@
|
|||||||
<td>{{ match.is_tournoi }}</td>
|
<td>{{ match.is_tournoi }}</td>
|
||||||
<td>{{ match.tournoi.name }}</td>
|
<td>{{ match.tournoi.name }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="12">No matches found.</td>
|
<td colspan="12">No matches found.</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user