Padel-Tournaments-System/frontend/normal_user/ranking/index.html

60 lines
1.9 KiB
HTML
Raw Normal View History

2022-06-04 16:05:54 +02:00
<html>
<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="style.css" rel="stylesheet">
<script>function logout() {
localStorage.clear();
location.reload();
}
function logoutVisibility() {
if (localStorage.getItem("token") !== null) {
document.getElementById("logout").style.display = "";
}
else {
document.getElementById("logout").style.display = "none";
}
}
function loginVisibility() {
if (localStorage.getItem("token") !== null) {
document.getElementById("login").style.display = "none";
}
else {
document.getElementById("login").style.display = "";
}
}</script>
2022-06-04 16:05:54 +02:00
</head>
<body onload="logoutVisibility(); loginVisibility()">
<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="/index.html">Ranking</a>
<a class="header_link" href="../index.html">Kalendarz turniejów</a>
</div>
</header>
2022-06-04 16:05:54 +02:00
<div class="container">
<h1>Strona w budowie</h1>
</div>
2022-06-04 16:05:54 +02:00
</body>
</html>