<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Padel Tournaments System</title>
    <link href="_main%20page/style.css" rel="stylesheet">
    <script type="text/javascript" src="app.js"></script>
</head>

<body onload="renderTournaments();logoutVisibility(); loginVisibility(); checkRole();">
    <header>
        <div class="logoBox">
            <a class="header_link" href="./index.html"><img class="logo" src="../_global/logo.svg" alt="Logo error"></a>
        </div>
        <div class="linkBox">
            <!--            <span class="dot">JM</span>-->
            <button class="loginButton" type="submit"
                    onclick="window.location.href='logowanie/index.html'" id="login">LOGOWANIE</button>
            <button class="loginButton" id="logout" onclick="logout()">Wyloguj</button>

            <a class="header_link" href="kontakt/index.html">Kontakt</a>
            <a class="header_link" href="ranking/index.html">Ranking</a>
            <a style="font-weight: bold" class="header_link" href="./index.html">Kalendarz turniejów</a>
            <a class="header_link" href="../panel_organizatora/dodawanie%20turnieju/index.html" id="creator">Tworzenie
                turnieju</a>

        </div>
    </header>

    <!--    -->
    <!--    -->
    <!--    -->

    <div class="container">
        <!--    Filtr    -->
        <div class="searchBox">
            <img src="_main%20page/search.svg" class="search" alt="">
        </div>

        <!--        -->
        <div class="contentBox">
            <!-- <div class="filterBox">

            </div> -->

            <div class="settingsBox">
                <div class="settingsWszystkie">WSZYSTKIE</div>
                <div class="settingsMoje">MOJE</div>
                <!-- <div class="settingsLista">LISTA</div>
                <div class="settingsKafle">Kafle</div> -->
            </div>

            <div class="tournament-list">
            </div>

        </div>






    </div>
</body>

</html>