tournoi ready to get some data

This commit is contained in:
Theouche 2024-08-13 15:52:50 +02:00
parent 1cdae5aac1
commit 5b16c95ada
2 changed files with 9 additions and 9 deletions

View File

@ -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);

View File

@ -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>