diff --git a/frontend/delete.svg b/frontend/delete.svg new file mode 100644 index 0000000..64e96e9 --- /dev/null +++ b/frontend/delete.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/panel_organizatora/dodawanie turnieju/app.js b/frontend/logged_organiser/panel_organizatora/dodawanie turnieju/app.js similarity index 100% rename from frontend/panel_organizatora/dodawanie turnieju/app.js rename to frontend/logged_organiser/panel_organizatora/dodawanie turnieju/app.js diff --git a/frontend/logged_organiser/panel_organizatora/dodawanie turnieju/index.html b/frontend/logged_organiser/panel_organizatora/dodawanie turnieju/index.html new file mode 100644 index 0000000..81e5b97 --- /dev/null +++ b/frontend/logged_organiser/panel_organizatora/dodawanie turnieju/index.html @@ -0,0 +1,119 @@ + + + + + + + + Padel Tournaments System + + + + + +
+
+ +
+ +
+ + +
.
+
.
+ +
+
+
Dodawanie turnieju
+ +

Nazwa Turnieju

+ + +

Termin

+ +
+ + +

Miejsce

+ + +

Kategorie

+ + +

Ranga

+ + +

Wpisowe

+ + +

Dyrektor Turnieju

+ + +

Telefon

+ + +

Zapisy

+ + +

Dodatkowe informacje

+ + + + +

Widoczność turnieju

+ + + + +

Rankingowość turnieju

+ + + + + +
+ + + + + + + +
+
+ + + \ No newline at end of file diff --git a/frontend/panel_organizatora/dodawanie turnieju/style.css b/frontend/logged_organiser/panel_organizatora/dodawanie turnieju/style.css similarity index 65% rename from frontend/panel_organizatora/dodawanie turnieju/style.css rename to frontend/logged_organiser/panel_organizatora/dodawanie turnieju/style.css index 559e3bb..2ae3c6c 100644 --- a/frontend/panel_organizatora/dodawanie turnieju/style.css +++ b/frontend/logged_organiser/panel_organizatora/dodawanie turnieju/style.css @@ -1,4 +1,4 @@ -@import "../../_global/header.css"; +@import "../../../_global/header.css"; /*0 layer*/ body { @@ -19,7 +19,7 @@ body { /*Alignment*/ margin: auto; width: 50%; - height: 800px; + height: 1000px; /*Inside*/ padding-left: 40px; @@ -53,13 +53,32 @@ body { font-size: 20px; line-height: 42px; color: #828282; - } .myButton { /*Button alignment*/ width: 25%; height: 5%; + margin-left: 15%; + + + /*Button visual*/ + border-radius: 25px; + cursor: pointer; + background-color: #828282; + + /*Text*/ + font-family: Arial, serif; + font-size: 12px; + color: #ffffff; +} + + +.myButton2 { + /*Button alignment*/ + width: 25%; + height: 5%; + /*Button visual*/ border-radius: 25px; @@ -70,4 +89,16 @@ body { font-family: Arial, serif; font-size: 12px; color: #ffffff; -} \ No newline at end of file +} + +.title { + text-align: center; + font-size: 28px; + font-family: 'Montserrat', serif; + font-style: normal; + color: rgba(40, 40, 40, 0.9); +} + +/*.buttonBox {*/ +/* margin: auto;*/ +/*}*/ \ No newline at end of file diff --git a/frontend/logged_organiser/panel_organizatora/edycja turnieju/app.js b/frontend/logged_organiser/panel_organizatora/edycja turnieju/app.js new file mode 100644 index 0000000..3beb17d --- /dev/null +++ b/frontend/logged_organiser/panel_organizatora/edycja turnieju/app.js @@ -0,0 +1,91 @@ +// document.getElementById("tournamentSubmit").addEventListener("click", function () { +// var xhttp = new XMLHttpRequest(); +// xhttp.onreadystatechange = function () { +// if (this.readyState == 4 && this.status == 200) { +// alert("Dodano turniej"); +// } else if (this.readyState == 4) { +// alert("something not work :( " + this.status); +// } +// } +// xhttp.open("PUT", "dragonmaster.pl/inz/tournament"); +// xhttp.setRequestHeader("Authorization", "Bearer " + token); +// xhttp.send('{"name":"' + document.getElementById("tournamentName").value + +// '","typeOfLadder":"' + document.getElementById("ladderType").value + +// '","pointsForTournament":"' + document.getElementById("tournamentPoints").value + +// '","places":"' + document.getElementById("tournamentPlace").value + +// '","roles":"' + document.getElementById("tournamentRole").value + +// '","ranked":"' + document.getElementById("isRanked").value + +// '","place":"' + document.getElementById("tournamentPlace").value + +// '","from":"' + document.getElementById("tournamentFrom").value + +// '","to":"' + document.getElementById("tournamentTo").value + +// '","rang":"' + document.getElementById("tournamentRang").value + +// '","entyFee":"' + document.getElementById("tournamentEntyFee").value + +// '","director":"' + document.getElementById("tournamentDirector").value + +// '","phone":"' + document.getElementById("directorphone").value + +// '","entriesTo":"' + document.getElementById("tournamentEntriesTo").value + +// '","additionalInformations":"' + document.getElementById("tournamentAddInfo").value + +// '","category":"' + "cat1" + +// '","}'); +// }); + +function createTournament() { + fetch('https://dragonmaster.pl/inz/tournament', { + method: "PUT", + headers: { + 'Content-type': 'application/json', + Authorization: ("Bearer " + localStorage.getItem("token")) + }, + body: JSON.stringify( + { + "name": document.getElementById("name").value, + "typeOfLadder": "string", + "pointsForTournament": "1", + "places": "1", + "roles": document.getElementById("category").value, + "ranked": document.getElementById("rank").value, + "place": document.getElementById("place").value, + "from": "2020-10-10 10:10:10", + "to": "2020-10-10 10:10:10", + "rang": "rang1", + "entryFee": document.getElementById("entry-fee").value, + "director": document.getElementById("director").value, + "phone": document.getElementById("phone").value, + "entriesTo": "2020-10-10 10:10:10", + "additionalInformations": document.getElementById("add-info").value, + "categotry": "cat1", + "visibility": "TRUE" + } + ) + } + ) + + .then(res => res.json()) + .then(data => console.log(data)) + .catch(error => console.log(error)) +} + +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 = ""; + + } +} diff --git a/frontend/panel_organizatora/dodawanie turnieju/index.html b/frontend/logged_organiser/panel_organizatora/edycja turnieju/index.html similarity index 59% rename from frontend/panel_organizatora/dodawanie turnieju/index.html rename to frontend/logged_organiser/panel_organizatora/edycja turnieju/index.html index b160b9f..401e698 100644 --- a/frontend/panel_organizatora/dodawanie turnieju/index.html +++ b/frontend/logged_organiser/panel_organizatora/edycja turnieju/index.html @@ -1,5 +1,5 @@ - + @@ -13,16 +13,16 @@
- +
@@ -33,6 +33,8 @@
+
Edycja turnieju
+

Nazwa Turnieju

+ +

Widoczność turnieju

+ + + + +

Rankingowość turnieju

+ + + + +
- + + + + + +
diff --git a/frontend/logged_organiser/panel_organizatora/edycja turnieju/style.css b/frontend/logged_organiser/panel_organizatora/edycja turnieju/style.css new file mode 100644 index 0000000..2ae3c6c --- /dev/null +++ b/frontend/logged_organiser/panel_organizatora/edycja turnieju/style.css @@ -0,0 +1,104 @@ +@import "../../../_global/header.css"; + +/*0 layer*/ +body { + background-color: #EBEBEB; + margin: 0; +} + +/*1'st layer*/ +.container { + height: 100%; + width: 100%; + display: flex; + justify-content: flex-end; +} + +/*2'nd layer*/ +.form { + /*Alignment*/ + margin: auto; + width: 50%; + height: 1000px; + + /*Inside*/ + padding-left: 40px; + padding-top: 15px; + + /*Visual*/ + background-color: #FFFFFF; + + /*Others*/ + justify-content: center; + align-items: center; +} + +/*Elements*/ +.descriptor { + /* Size */ + width: 326px; + height: 42px; + left: 254px; + top: 554px; + + /* Alignment */ + margin-bottom: 0; + margin-top: 0; + display: flex; + + align-items: center; + + /* Text */ + font-family: 'Montserrat', serif; + font-size: 20px; + line-height: 42px; + color: #828282; +} + +.myButton { + /*Button alignment*/ + width: 25%; + height: 5%; + margin-left: 15%; + + + /*Button visual*/ + border-radius: 25px; + cursor: pointer; + background-color: #828282; + + /*Text*/ + font-family: Arial, serif; + font-size: 12px; + color: #ffffff; +} + + +.myButton2 { + /*Button alignment*/ + width: 25%; + height: 5%; + + + /*Button visual*/ + border-radius: 25px; + cursor: pointer; + background-color: #007C36; + + /*Text*/ + font-family: Arial, serif; + font-size: 12px; + color: #ffffff; +} + +.title { + text-align: center; + font-size: 28px; + font-family: 'Montserrat', serif; + font-style: normal; + color: rgba(40, 40, 40, 0.9); +} + +/*.buttonBox {*/ +/* margin: auto;*/ +/*}*/ \ No newline at end of file diff --git a/frontend/panel_organizatora/index.html b/frontend/logged_organiser/panel_organizatora/index.html similarity index 91% rename from frontend/panel_organizatora/index.html rename to frontend/logged_organiser/panel_organizatora/index.html index 036a9c7..3d8565e 100644 --- a/frontend/panel_organizatora/index.html +++ b/frontend/logged_organiser/panel_organizatora/index.html @@ -9,14 +9,14 @@
- +
diff --git a/frontend/panel_organizatora/myscript.js b/frontend/logged_organiser/panel_organizatora/myscript.js similarity index 100% rename from frontend/panel_organizatora/myscript.js rename to frontend/logged_organiser/panel_organizatora/myscript.js diff --git a/frontend/panel_organizatora/zalogowany_organizator/style.css b/frontend/logged_organiser/panel_organizatora/style.css similarity index 97% rename from frontend/panel_organizatora/zalogowany_organizator/style.css rename to frontend/logged_organiser/panel_organizatora/style.css index 56184e8..9c5c1b4 100644 --- a/frontend/panel_organizatora/zalogowany_organizator/style.css +++ b/frontend/logged_organiser/panel_organizatora/style.css @@ -9,7 +9,7 @@ body { height: 100%; width: 100%; display: flex; - justify-content: flex-end; + justify-content: center; } @@ -69,4 +69,4 @@ body { display: flex; justify-content: center; align-items: center; -} \ No newline at end of file +} diff --git a/frontend/_main page/cup.svg b/frontend/logged_user/_main page/cup.svg similarity index 100% rename from frontend/_main page/cup.svg rename to frontend/logged_user/_main page/cup.svg diff --git a/frontend/_main page/pojedynczy_turniej/app.js b/frontend/logged_user/_main page/pojedynczy_turniej/app.js similarity index 100% rename from frontend/_main page/pojedynczy_turniej/app.js rename to frontend/logged_user/_main page/pojedynczy_turniej/app.js diff --git a/frontend/_main page/pojedynczy_turniej/back.jpg b/frontend/logged_user/_main page/pojedynczy_turniej/back.jpg similarity index 100% rename from frontend/_main page/pojedynczy_turniej/back.jpg rename to frontend/logged_user/_main page/pojedynczy_turniej/back.jpg diff --git a/frontend/_main page/pojedynczy_turniej/css/bookmarks.css b/frontend/logged_user/_main page/pojedynczy_turniej/css/bookmarks.css similarity index 100% rename from frontend/_main page/pojedynczy_turniej/css/bookmarks.css rename to frontend/logged_user/_main page/pojedynczy_turniej/css/bookmarks.css diff --git a/frontend/_main page/pojedynczy_turniej/css/settings.css b/frontend/logged_user/_main page/pojedynczy_turniej/css/settings.css similarity index 100% rename from frontend/_main page/pojedynczy_turniej/css/settings.css rename to frontend/logged_user/_main page/pojedynczy_turniej/css/settings.css diff --git a/frontend/_main page/pojedynczy_turniej/css/single_tournament.css b/frontend/logged_user/_main page/pojedynczy_turniej/css/single_tournament.css similarity index 100% rename from frontend/_main page/pojedynczy_turniej/css/single_tournament.css rename to frontend/logged_user/_main page/pojedynczy_turniej/css/single_tournament.css diff --git a/frontend/_main page/pojedynczy_turniej/css/tournament_detail_header.css b/frontend/logged_user/_main page/pojedynczy_turniej/css/tournament_detail_header.css similarity index 100% rename from frontend/_main page/pojedynczy_turniej/css/tournament_detail_header.css rename to frontend/logged_user/_main page/pojedynczy_turniej/css/tournament_detail_header.css diff --git a/frontend/_main page/pojedynczy_turniej/drabinka/collapsible.js b/frontend/logged_user/_main page/pojedynczy_turniej/drabinka/collapsible.js similarity index 100% rename from frontend/_main page/pojedynczy_turniej/drabinka/collapsible.js rename to frontend/logged_user/_main page/pojedynczy_turniej/drabinka/collapsible.js diff --git a/frontend/_main page/pojedynczy_turniej/drabinka/css/collapsible.css b/frontend/logged_user/_main page/pojedynczy_turniej/drabinka/css/collapsible.css similarity index 100% rename from frontend/_main page/pojedynczy_turniej/drabinka/css/collapsible.css rename to frontend/logged_user/_main page/pojedynczy_turniej/drabinka/css/collapsible.css diff --git a/frontend/_main page/pojedynczy_turniej/drabinka/css/li.css b/frontend/logged_user/_main page/pojedynczy_turniej/drabinka/css/li.css similarity index 100% rename from frontend/_main page/pojedynczy_turniej/drabinka/css/li.css rename to frontend/logged_user/_main page/pojedynczy_turniej/drabinka/css/li.css diff --git a/frontend/_main page/pojedynczy_turniej/drabinka/css/round.css b/frontend/logged_user/_main page/pojedynczy_turniej/drabinka/css/round.css similarity index 100% rename from frontend/_main page/pojedynczy_turniej/drabinka/css/round.css rename to frontend/logged_user/_main page/pojedynczy_turniej/drabinka/css/round.css diff --git a/frontend/_main page/pojedynczy_turniej/drabinka/index.html b/frontend/logged_user/_main page/pojedynczy_turniej/drabinka/index.html similarity index 99% rename from frontend/_main page/pojedynczy_turniej/drabinka/index.html rename to frontend/logged_user/_main page/pojedynczy_turniej/drabinka/index.html index 734ed41..e7c705c 100644 --- a/frontend/_main page/pojedynczy_turniej/drabinka/index.html +++ b/frontend/logged_user/_main page/pojedynczy_turniej/drabinka/index.html @@ -15,11 +15,11 @@
- +
diff --git a/frontend/panel_organizatora/rejestracja/api.js b/frontend/logged_user/logowanie/rejestracja/api.js similarity index 100% rename from frontend/panel_organizatora/rejestracja/api.js rename to frontend/logged_user/logowanie/rejestracja/api.js diff --git a/frontend/panel_organizatora/rejestracja/index.html b/frontend/logged_user/logowanie/rejestracja/index.html similarity index 94% rename from frontend/panel_organizatora/rejestracja/index.html rename to frontend/logged_user/logowanie/rejestracja/index.html index fa14834..6a5d8da 100644 --- a/frontend/panel_organizatora/rejestracja/index.html +++ b/frontend/logged_user/logowanie/rejestracja/index.html @@ -52,7 +52,7 @@ Zapomniałeś hasła?
- Masz już konto? Zaloguj się + Masz już konto? Zaloguj się diff --git a/frontend/panel_organizatora/rejestracja/myscript.js b/frontend/logged_user/logowanie/rejestracja/myscript.js similarity index 95% rename from frontend/panel_organizatora/rejestracja/myscript.js rename to frontend/logged_user/logowanie/rejestracja/myscript.js index db0cfa1..f1185e5 100644 --- a/frontend/panel_organizatora/rejestracja/myscript.js +++ b/frontend/logged_user/logowanie/rejestracja/myscript.js @@ -33,7 +33,7 @@ function register() { .then(res => { if (res.ok) { alert("Teraz mozesz się zalogować!") - window.location.href = '../logowanie/index.html' + window.location.href = '../index.html' } else { console.log("Coś poszło nie tak!") } return res diff --git a/frontend/panel_organizatora/rejestracja/src/lock.svg b/frontend/logged_user/logowanie/rejestracja/src/lock.svg similarity index 100% rename from frontend/panel_organizatora/rejestracja/src/lock.svg rename to frontend/logged_user/logowanie/rejestracja/src/lock.svg diff --git a/frontend/panel_organizatora/rejestracja/src/mail.svg b/frontend/logged_user/logowanie/rejestracja/src/mail.svg similarity index 100% rename from frontend/panel_organizatora/rejestracja/src/mail.svg rename to frontend/logged_user/logowanie/rejestracja/src/mail.svg diff --git a/frontend/panel_organizatora/rejestracja/src/mezczyzna_padel.jpg b/frontend/logged_user/logowanie/rejestracja/src/mezczyzna_padel.jpg similarity index 100% rename from frontend/panel_organizatora/rejestracja/src/mezczyzna_padel.jpg rename to frontend/logged_user/logowanie/rejestracja/src/mezczyzna_padel.jpg diff --git a/frontend/panel_organizatora/rejestracja/src/person.svg b/frontend/logged_user/logowanie/rejestracja/src/person.svg similarity index 100% rename from frontend/panel_organizatora/rejestracja/src/person.svg rename to frontend/logged_user/logowanie/rejestracja/src/person.svg diff --git a/frontend/panel_organizatora/rejestracja/src/phone.svg b/frontend/logged_user/logowanie/rejestracja/src/phone.svg similarity index 100% rename from frontend/panel_organizatora/rejestracja/src/phone.svg rename to frontend/logged_user/logowanie/rejestracja/src/phone.svg diff --git a/frontend/panel_organizatora/rejestracja/style.css b/frontend/logged_user/logowanie/rejestracja/style.css similarity index 100% rename from frontend/panel_organizatora/rejestracja/style.css rename to frontend/logged_user/logowanie/rejestracja/style.css diff --git a/frontend/panel_organizatora/logowanie/style.css b/frontend/logged_user/logowanie/style.css similarity index 100% rename from frontend/panel_organizatora/logowanie/style.css rename to frontend/logged_user/logowanie/style.css diff --git a/frontend/panel_organizatora/logowanie/tlo_logowanie.png b/frontend/logged_user/logowanie/tlo_logowanie.png similarity index 100% rename from frontend/panel_organizatora/logowanie/tlo_logowanie.png rename to frontend/logged_user/logowanie/tlo_logowanie.png diff --git a/frontend/ranking/index.html b/frontend/logged_user/ranking/index.html similarity index 73% rename from frontend/ranking/index.html rename to frontend/logged_user/ranking/index.html index c058e72..355602f 100644 --- a/frontend/ranking/index.html +++ b/frontend/logged_user/ranking/index.html @@ -5,19 +5,19 @@ Padel Tournaments System - +
- +
diff --git a/frontend/ranking/style.css b/frontend/logged_user/ranking/style.css similarity index 77% rename from frontend/ranking/style.css rename to frontend/logged_user/ranking/style.css index f48931c..f15795c 100644 --- a/frontend/ranking/style.css +++ b/frontend/logged_user/ranking/style.css @@ -1,4 +1,4 @@ -@import "../_global/header.css"; +@import "../../_global/header.css"; body { margin: 0; diff --git a/frontend/panel_organizatora/style.css b/frontend/panel_organizatora/style.css deleted file mode 100644 index 77bfe1c..0000000 --- a/frontend/panel_organizatora/style.css +++ /dev/null @@ -1,72 +0,0 @@ -@import "../_global/header.css"; - -body { - margin: 0; -} - - -.container { - height: 100%; - width: 100%; - display: flex; - justify-content: center; - -} - -.eventHeader { - text-align: center; - padding-top: 5px; - padding-bottom: 5px; -} - -.event { - background-color: #0f64f2; - color: white; - border-style: solid; - border-width: 2px; - margin-top: 25px; - margin-right: 25px; - flex-direction: column; - flex-wrap: wrap; - height: auto; - - -} - -.eventInside { - background-color: white; - color: #4C8BF5; - height: auto; - border: solid; - border-color: lightgray; - padding: 10px; - -} - -.eventInside>p { - color: lightgray; -} - -.myButton { - background-color: #4C8BF5; - border-radius: 28px; - border: 1px solid #4C8BF5; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-family: Arial; - font-size: 9px; - padding: 8px 13px; - text-decoration: none; -} - -.dot { - height: 30px; - width: 30px; - color: white; - background-color: skyblue; - border-radius: 50%; - display: flex; - justify-content: center; - align-items: center; -} diff --git a/frontend/panel_organizatora/zalogowany_organizator/index.html b/frontend/panel_organizatora/zalogowany_organizator/index.html deleted file mode 100644 index 0a67bd7..0000000 --- a/frontend/panel_organizatora/zalogowany_organizator/index.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - Padel Tournaments System - - - - -
-
- -
- -
- -
-
-
Nadchodzące turnieje
-
Turniej majowy 2022 -

Propadel|Warszawa

-

13/05/2022 do 15/05/2022

- -
-
Trójmiasto Cup 2022 -

Padbox | Gdańsk

-

03/06/2022 do 05/06/2022

- -
-
-
-
- - - \ No newline at end of file diff --git a/frontend/panel_organizatora/zalogowany_organizator/scheme.css b/frontend/panel_organizatora/zalogowany_organizator/scheme.css deleted file mode 100644 index e69de29..0000000 diff --git a/frontend/unlogged_user/_main page/cup.svg b/frontend/unlogged_user/_main page/cup.svg new file mode 100644 index 0000000..e93fe72 --- /dev/null +++ b/frontend/unlogged_user/_main page/cup.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/app.js b/frontend/unlogged_user/_main page/pojedynczy_turniej/app.js new file mode 100644 index 0000000..dd8b14d --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/app.js @@ -0,0 +1,62 @@ +let tourId = localStorage.getItem("myElement") + +async function showTournaments() { + let url = 'https://dragonmaster.pl/inz/tournaments'; + try { + let res = await fetch(url); + return await res.json(); + } catch (error) { + console.log(error); + } +} + +// async function renderTournaments() { +// let tournaments = await showTournaments(); +// let html = ''; +// tournaments[1]; (tournament => { +// let htmlSegment = `

${tournament.id}

`; +// html += htmlSegment; +// }); + +// let container = document.querySelector('.form'); +// container.innerHTML = html; +// } + +async function renderTournaments() { + let tournaments = await showTournaments(); + let html = ''; + tournaments.forEach(tournament => { + if (`${tournament.id}` == localStorage.getItem("tournamentId")) { + let htmlSegment = ` +

${tournament.name}

+

${tournament.places}

+ +

Wpisowe:

+ ${tournament.entryFee} + +

Ranga:

+ ${tournament.rang} + +

Kategorie:

+ ${tournament.categotry} + +

Zapisy do:

+ ${tournament.to} + +

Czy rankingowy:

+ ${tournament.rang} + +

Dyrektor turnieju:

+ ${tournament.director} + +

Dodatkowe informacje

+ ${tournament.additionalInformations} + + `; + html += htmlSegment; + } + }); + + let container = document.querySelector('.form'); + container.innerHTML = html; +} diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/back.jpg b/frontend/unlogged_user/_main page/pojedynczy_turniej/back.jpg new file mode 100644 index 0000000..c342651 Binary files /dev/null and b/frontend/unlogged_user/_main page/pojedynczy_turniej/back.jpg differ diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/css/bookmarks.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/css/bookmarks.css new file mode 100644 index 0000000..43d4bb6 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/css/bookmarks.css @@ -0,0 +1,37 @@ +/*##################*/ +ul { + float: left; + width: 100%; + padding: 0; + margin: 0; + list-style: none; + /*background-color: #0B4D39;*/ +} + +li a { + display: block; + float: left; + text-align: center; + font-size: 1.2em; + width: 130px; + + text-decoration: none; + color: black; + background-color: white; + padding: 10px 15px; + margin: 0px 1px 1px 0px; + + border: 1px solid black; + border-radius: 3px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + box-shadow: 0px 2px 3px gray; + -moz-box-shadow: 0px 2px 3px gray; + -webkit-box-shadow: 0px 2px 3px gray; +} + +li a:hover { + color: black; + background: #AFAFAF; + border: 1px solid black; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/css/settings.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/css/settings.css new file mode 100644 index 0000000..0f65962 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/css/settings.css @@ -0,0 +1,35 @@ +.settingsWszystkie { + height: 100%; + width: 10%; + border: 1px #AFAFAF solid; + display: flex; + align-items: center; + justify-content: center; +} + +.settingsMoje { + height: 100%; + width: 10%; + border: 1px #AFAFAF solid; + display: flex; + align-items: center; + justify-content: center; +} + +.settingsKafle { + height: 100%; + width: 10%; + float: right; + + text-align: center; + border: 1px #AFAFAF solid; +} + +.settingsLista { + height: 100%; + width: 10%; + float: right; + + text-align: center; + border: 1px #AFAFAF solid; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/css/single_tournament.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/css/single_tournament.css new file mode 100644 index 0000000..6ba692a --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/css/single_tournament.css @@ -0,0 +1,71 @@ +.tournamentBox { + /*Box align*/ + flex-direction: column; + flex-wrap: nowrap; + + /*Visual*/ + background-color: #ffffff; + color: white; + border: 1px #AFAFAF solid; + + height: 15vh; + width: 100%; +} + +/**/ +.tournamentIconBox { + width: 10%; + height: 100%; + float: left; + /*padding: 25px;*/ + top: 50%; + left: 50%; +} + +.tournamentIcon { + margin: 0; + position: relative; + top: 50%; + left: 50%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); +} + +/**/ +.tournamentDataBox { + width: 90%; + height: 100%; + float: right; +} + +.tournamentData { + margin-top: 1%; + text-align: left; + /*padding-left: 10%;*/ + color: #282828E5; +} + +.tournamentOpen { + + /* Auto layout */ + + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + padding: 6px 15px; + gap: 10px; + + /*position: absolute;*/ + width: 73px; + height: 29px; + + /* PFP GREEN */ + + background: #007C36; + border-radius: 15px; + border: 1px solid; + + font-family: Montserrat, serif; + color: white; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/css/tournament_detail_header.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/css/tournament_detail_header.css new file mode 100644 index 0000000..16c3345 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/css/tournament_detail_header.css @@ -0,0 +1,66 @@ + +/*1'st layer*/ +.tournamentIconBox { + width: 20%; + height: 100%; + float: left; + /*padding: 25px;*/ + top: 50%; + left: 50%; +} + +.tournamentDataBox { + width: 30%; + height: 100%; + float: left; +} + +.signInBox { + width: 40%; + height: 100%; + float: left; +} + +/*Element */ +.tournamentIcon { + margin: 0; + position: relative; + top: 45%; + left: 45%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + height: 50%; +} + +.tournamentData { + margin-top: 1%; + text-align: left; + /*padding-left: 10%;*/ + color: #282828E5; +} + +.signIn { + /*Alignment*/ + margin: 5%; + width: 50%; + height: 50%; + + /*Visual*/ + background: #B8BC00; + border-radius: 63px; + border: 1px solid #B8BC00; + + /*Text*/ + color: #FFFFFF; + font-family: 'Montserrat', serif; + font-size: 34px; + flex: none; + text-align: center; + +} + +.tournamentInfo { + font-family: 'Montserrat', serif; + font-style: normal; + color: white; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/collapsible.js b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/collapsible.js new file mode 100644 index 0000000..ca79021 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/collapsible.js @@ -0,0 +1,14 @@ +var coll = document.getElementsByClassName("collapsible"); +var i; + +for (i = 0; i < coll.length; i++) { + coll[i].addEventListener("click", function() { + this.classList.toggle("active"); + var content = this.nextElementSibling; + if (content.style.maxHeight){ + content.style.maxHeight = null; + } else { + content.style.maxHeight = content.scrollHeight + "px"; + } + }); +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/collapsible.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/collapsible.css new file mode 100644 index 0000000..85261df --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/collapsible.css @@ -0,0 +1,51 @@ +/*COLLAPSIBLE*/ + +/*Wersja zwinięta*/ +.collapsible { + /*Box alignment*/ + margin-left: 5%; + margin-right: 5%; + width: 80%; + + /*Content alignment*/ + padding: 1%; + text-align: left; + + /*Visual*/ + background-color: #007C36; + color: white; + cursor: pointer; + font-size: 15px; + + /*Others*/ + border: none; + outline: none; + +} + +.active, .collapsible:hover { + background-color: #555; +} + +.collapsible:after { + content: '\002B'; + color: white; + font-weight: bold; + float: right; + margin-left: 5px; +} + +.active:after { + content: "\2212"; +} + +/*Wersja rozwinięta*/ +.collapsibleContent { + padding: 0 18px; + max-height: 0; + /*szerokość drabinki*/ + width: 75%; + overflow: hidden; + transition: max-height 0.2s ease-out; + background-color: #f1f1f1; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/li.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/li.css new file mode 100644 index 0000000..7cd2bff --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/li.css @@ -0,0 +1,39 @@ +li.game { + padding-left: 200px; + margin-right: 20px; +} + +li.game.winner { + font-weight: bold; +} + +/*Tekst wewnątrz boxa*/ +li.game span { + float: right; + margin-right: 100px; +} + +/*Górna linia drabinki*/ +li.game-top { + border-bottom: 1px solid #aaa; +} + +/*Róznica wysokości między rundami*/ +li.game-spacer { + /*border-right: 1px solid #aaa;*/ + min-height: 50px; +} + +/*Dolna linia drabinki*/ +li.game-bottom { + border-top: 1px solid #aaa; +} + +/*Box drużyny*/ +li.teambox { + border-radius: 25px; + background-color: #FFFFFF; + padding: 10px; + /*text color*/ + color: #828282; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/round.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/round.css new file mode 100644 index 0000000..eace4a0 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/css/round.css @@ -0,0 +1,23 @@ + +.round { + display: flex; + flex-direction: column; + justify-content: center; + /*szerokość całej drabinki*/ + width: 250px; + list-style: none; + padding: 0; +} + +.round .spacer { + flex-grow: 1; +} + +.round .spacer:first-child, +.round .spacer:last-child { + flex-grow: .5; +} + +.round .game-spacer { + flex-grow: 1; +} diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/index.html b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/index.html new file mode 100644 index 0000000..e7c705c --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/index.html @@ -0,0 +1,621 @@ + + + + + + + + Padel Tournaments System + + + + + + + +
+
+ +
+ +
+ +
+ + + + +
+ +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • + + +
  •  
  • +
  • + Gracjan Wojciechowski
    + Maurycy Błaszczyk +
  • + +
  •  
  • + +
  • + Marcin Szewczyk
    + Martin Marciniak + +
  • +
  •  
  • +
  • + Patryk Kołodziej
    + Emil Kaczmarczyk +
  • + +
  •  
  • + +
  • + Dorian Jasiński
    + Dawid Borkowski +
  • +
  •  
  • +
  • + Emanuel Czerwiński
    + Bartłomiej Michalak +
  • + +
  •  
  • + +
  • + Anatol Piotrowski
    + Filip Pawlak +
  • +
  •  
  • + +
  • + Aleksander Pietrzak
    + Olaf Górecki +
  • + +
  •  
  • + +
  • + Kryspin Ostrowski
    + Bartłomiej Baranowski +
  • +
  •  
  • +
  • + Janusz Kwiatkowski
    + Kamil Szulc +
  • + +
  •  
  • + +
  • + Kryspin Sokołowski
    + Roman Jankowski +
  • +
  •  
  • +
  • + Oktawian Sikora
    + Marcel Borkowski +
  • + +
  •  
  • + +
  • + Jerzy Stępień
    + Alojzy Witkowski +
  • +
  •  
  • +
  • + Olaf Rutkowski
    + Klaudiusz Chmielewski +
  • + +
  •  
  • + +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • +
  •  
  • +
  • + Jarosław Cieślak
    + Kamil Piotrowski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Marcin Szewczyk
    + Martin Marciniak +
  • + +
  •  
  • + +
  • + Emanuel Czerwiński
    + Bartłomiej Michalak +
  • +
  •  
  • +
  • + Anatol Piotrowski
    + Filip Pawlak +
  • + +
  •  
  • + +
  • + Kryspin Ostrowski
    + Bartłomiej Baranowski +
  • +
  •  
  • +
  • + Kryspin Sokołowski
    + Roman Jankowski +
  • + +
  •  
  • + +
  • + Jerzy Stępień
    + Alojzy Witkowski +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Emanuel Czerwiński
    + Bartłomiej Michalak +
  • + +
  •  
  • + +
  • + Kryspin Sokołowski
    + Roman Jankowski +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
+
+
+ + + +
+
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
+
+
+ + + +
+
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Emanuel Czerwiński
    + Bartłomiej Michalak +
  • + +
  •  
  • + +
  • + Kryspin Sokołowski
    + Roman Jankowski +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
+
+
+ + + +
+
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
+
+
+ + + +
+
+ + +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Marcin Szewczyk
    + Martin Marciniak +
  • + +
  •  
  • + +
  • + Emanuel Czerwiński
    + Bartłomiej Michalak +
  • +
  •  
  • +
  • + Anatol Piotrowski
    + Filip Pawlak +
  • + +
  •  
  • + +
  • + Kryspin Ostrowski
    + Bartłomiej Baranowski +
  • +
  •  
  • +
  • + Kryspin Sokołowski
    + Roman Jankowski +
  • + +
  •  
  • + +
  • + Jerzy Stępień
    + Alojzy Witkowski +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Emanuel Czerwiński
    + Bartłomiej Michalak +
  • + +
  •  
  • + +
  • + Kryspin Sokołowski
    + Roman Jankowski +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
+
+
+ + + +
+
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
+
+
+ + + +
+
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Emanuel Czerwiński
    + Bartłomiej Michalak +
  • + +
  •  
  • + +
  • + Kryspin Sokołowski
    + Roman Jankowski +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
+
+
+ + + +
+
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
  • + Jędrzej Wróblewski
    + Oskar Kowalski +
  • + +
  •  
  • +
+ +
    +
  •  
  • + +
  • + Jędrzej Kubiak
    + Borys Kamiński +
  • +
  •  
  • +
+
+
+
+ + + + \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/style.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/style.css new file mode 100644 index 0000000..3b1177a --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/drabinka/style.css @@ -0,0 +1,37 @@ +@import "css/li.css"; +@import "css/collapsible.css"; +@import "css/round.css"; +@import "../../../../_global/header.css"; + + +body { + margin: 0; + /*padding: 10px;*/ + /*line-height: 1.4em;*/ +} + +.dot { + height: 30px; + width: 30px; + color: white; + background-color: skyblue; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; +} + +.container { + display: flex; + flex-direction: column; + align-items: center; + + height: 100%; + width: 100%; + justify-content: flex-end; +} + +main { + display: flex; + flex-direction: row; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/index.html b/frontend/unlogged_user/_main page/pojedynczy_turniej/index.html new file mode 100644 index 0000000..5be6f84 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/index.html @@ -0,0 +1,66 @@ + + + + + + + + Padel Tournaments System + + + + + +
+
+ +
+ +
+ +
+ +
+
+ +
+ +
+
+

Turniej majowy 2022

+

Propadel, Warszawa
+ 13/05/2022 do 15/05/2022

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/style.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/style.css new file mode 100644 index 0000000..72408e1 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/style.css @@ -0,0 +1,76 @@ +@import "../../../_global/header.css"; +@import "css/tournament_detail_header.css"; +@import "css/bookmarks.css"; + +/*0 layer*/ +body { + background-color: #EBEBEB; + margin: 0; +} + +/*1'st layer*/ +.container { + height: 100%; + width: 100%; + display: flex; + justify-content: flex-end; + flex-flow: row wrap; + background-image: url(back.jpg); +} + +.mainInfoBox { + height: 25vh; + width: 100%; + background-color: #0B4D39; +} + +/*2'nd layer*/ +.form { + /*Alignment*/ + margin: auto; + width: 50%; + height: 75vh; + + /*Inside*/ + padding-left: 40px; + padding-top: 15px; + + /*Visual*/ + background-color: #FFFFFF; + + /*Others*/ + justify-content: center; + align-items: center; +} + +.bookmarks { + /*Alignment*/ + margin: auto; + width: 50%; + height: 5vh; + + /*Others*/ + justify-content: center; + align-items: center; +} + +/*Elements*/ +.descriptor { + /* Size */ + left: 254px; + top: 554px; + + /* Alignment */ + margin-bottom: 0; + margin-top: 0; + display: flex; + + align-items: center; + + /* Text */ + font-family: 'Montserrat', serif; + font-size: 20px; + line-height: 42px; + color: #000000; + +} diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/bookmarks.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/bookmarks.css new file mode 100644 index 0000000..43d4bb6 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/bookmarks.css @@ -0,0 +1,37 @@ +/*##################*/ +ul { + float: left; + width: 100%; + padding: 0; + margin: 0; + list-style: none; + /*background-color: #0B4D39;*/ +} + +li a { + display: block; + float: left; + text-align: center; + font-size: 1.2em; + width: 130px; + + text-decoration: none; + color: black; + background-color: white; + padding: 10px 15px; + margin: 0px 1px 1px 0px; + + border: 1px solid black; + border-radius: 3px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + box-shadow: 0px 2px 3px gray; + -moz-box-shadow: 0px 2px 3px gray; + -webkit-box-shadow: 0px 2px 3px gray; +} + +li a:hover { + color: black; + background: #AFAFAF; + border: 1px solid black; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/collapsible.js b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/collapsible.js new file mode 100644 index 0000000..ca79021 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/collapsible.js @@ -0,0 +1,14 @@ +var coll = document.getElementsByClassName("collapsible"); +var i; + +for (i = 0; i < coll.length; i++) { + coll[i].addEventListener("click", function() { + this.classList.toggle("active"); + var content = this.nextElementSibling; + if (content.style.maxHeight){ + content.style.maxHeight = null; + } else { + content.style.maxHeight = content.scrollHeight + "px"; + } + }); +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/collapsible.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/collapsible.css new file mode 100644 index 0000000..85261df --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/collapsible.css @@ -0,0 +1,51 @@ +/*COLLAPSIBLE*/ + +/*Wersja zwinięta*/ +.collapsible { + /*Box alignment*/ + margin-left: 5%; + margin-right: 5%; + width: 80%; + + /*Content alignment*/ + padding: 1%; + text-align: left; + + /*Visual*/ + background-color: #007C36; + color: white; + cursor: pointer; + font-size: 15px; + + /*Others*/ + border: none; + outline: none; + +} + +.active, .collapsible:hover { + background-color: #555; +} + +.collapsible:after { + content: '\002B'; + color: white; + font-weight: bold; + float: right; + margin-left: 5px; +} + +.active:after { + content: "\2212"; +} + +/*Wersja rozwinięta*/ +.collapsibleContent { + padding: 0 18px; + max-height: 0; + /*szerokość drabinki*/ + width: 75%; + overflow: hidden; + transition: max-height 0.2s ease-out; + background-color: #f1f1f1; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/li.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/li.css new file mode 100644 index 0000000..7cd2bff --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/li.css @@ -0,0 +1,39 @@ +li.game { + padding-left: 200px; + margin-right: 20px; +} + +li.game.winner { + font-weight: bold; +} + +/*Tekst wewnątrz boxa*/ +li.game span { + float: right; + margin-right: 100px; +} + +/*Górna linia drabinki*/ +li.game-top { + border-bottom: 1px solid #aaa; +} + +/*Róznica wysokości między rundami*/ +li.game-spacer { + /*border-right: 1px solid #aaa;*/ + min-height: 50px; +} + +/*Dolna linia drabinki*/ +li.game-bottom { + border-top: 1px solid #aaa; +} + +/*Box drużyny*/ +li.teambox { + border-radius: 25px; + background-color: #FFFFFF; + padding: 10px; + /*text color*/ + color: #828282; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/round.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/round.css new file mode 100644 index 0000000..eace4a0 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/css/round.css @@ -0,0 +1,23 @@ + +.round { + display: flex; + flex-direction: column; + justify-content: center; + /*szerokość całej drabinki*/ + width: 250px; + list-style: none; + padding: 0; +} + +.round .spacer { + flex-grow: 1; +} + +.round .spacer:first-child, +.round .spacer:last-child { + flex-grow: .5; +} + +.round .game-spacer { + flex-grow: 1; +} diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/index.html b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/index.html new file mode 100644 index 0000000..bce9e4a --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/index.html @@ -0,0 +1,63 @@ + + + + + + + + Padel Tournaments System + + + + + + + +
+
+ +
+ +
+ +
+ +
+ +
+ + + +
+
+ Siemanko +
+
+ + + +
+
+ Hejo +
+
+ +
+ + + + + + \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/style.css b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/style.css new file mode 100644 index 0000000..ec06f54 --- /dev/null +++ b/frontend/unlogged_user/_main page/pojedynczy_turniej/zapisy/style.css @@ -0,0 +1,59 @@ +@import "css/li.css"; +@import "css/collapsible.css"; +@import "css/round.css"; +@import "../../../../_global/header.css"; +@import "bookmarks.css"; + + +body { + margin: 0; + /*padding: 10px;*/ + /*line-height: 1.4em;*/ +} + +.container { + display: flex; + flex-direction: column; + align-items: center; + flex-flow: row wrap; + + height: 100%; + width: 100%; + justify-content: flex-end; +} + +main { + display: flex; + flex-direction: row; +} + +.form { + /*Alignment*/ + margin: auto; + width: 50%; + height: 75vh; + + /*Inside*/ + padding-left: 40px; + padding-top: 15px; + + /*Visual*/ + background-color: #FFFFFF; + + /*Others*/ + justify-content: center; + align-items: center; +} + + +/*Po zalogowaniu*/ +.dot { + height: 30px; + width: 30px; + color: white; + background-color: skyblue; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; +} \ No newline at end of file diff --git a/frontend/unlogged_user/_main page/search.svg b/frontend/unlogged_user/_main page/search.svg new file mode 100644 index 0000000..6bfcbd2 --- /dev/null +++ b/frontend/unlogged_user/_main page/search.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/unlogged_user/_main page/style.css b/frontend/unlogged_user/_main page/style.css new file mode 100644 index 0000000..0b1f10c --- /dev/null +++ b/frontend/unlogged_user/_main page/style.css @@ -0,0 +1,59 @@ +@import "../../_global/header.css"; +@import "pojedynczy_turniej/css/single_tournament.css"; +@import "pojedynczy_turniej/css/settings.css"; + +/*main*/ +body { + margin: 0; +} + +header { + margin: 0; +} + + +.container { + height: 100%; + width: 100%; + display: flex; + justify-content: flex-end; +} + +/*2'nd layer*/ +.searchBox { + height: auto; + width: 5vh; + float: left; + /*margin-right: 1%;*/ + + padding: 1%; + border: 1px #AFAFAF solid; +} + +.contentBox { + height: 100%; + width: 95%; + float: right; + position: relative; +} + +/*3'rd layer*/ +.filterBox { + height: 10vh; + width: 100%; + background-color: #C0C0C0; +} + +.settingsBox { + height: 5vh; + width: 100%; + border: 1px #AFAFAF solid; + display: flex; +} + +/*items*/ +.search { + display: block; + margin-left: auto; + margin-right: auto; +} \ No newline at end of file diff --git a/frontend/unlogged_user/app.js b/frontend/unlogged_user/app.js new file mode 100644 index 0000000..2ae59b2 --- /dev/null +++ b/frontend/unlogged_user/app.js @@ -0,0 +1,102 @@ +async function showTournaments() { + let url = 'https://dragonmaster.pl/inz/tournaments'; + try { + let res = await fetch(url); + return await res.json(); + } catch (error) { + console.log(error); + } +} + +function saveIdTournament(id) { + localStorage.setItem('tournamentId', id); +} + +async function renderTournaments() { + let tournaments = await showTournaments(); + let html = ''; + tournaments.forEach(tournament => { + let htmlSegment = `
+
+ +
+
+
+

${tournament.name}

+ ${tournament.place} + ${tournament.from} do ${tournament.to} + +
+
+
+ `; + html += htmlSegment; + }); + + let container = document.querySelector('.tournament-list'); + container.innerHTML = html; +} + +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 = ""; + + } +} + + +function checkRole() { + if (localStorage.getItem("token") !== null) { + + fetch('https://dragonmaster.pl/inz/user', { + headers: { + Authorization: ("Bearer " + localStorage.getItem("token")) + } + }) + .then(res => res.json()) + .then(json => { + if (json['role'] == '1') { + document.getElementById("creator").style.display = "none"; + } + else { + document.getElementById("creator").style.display = ''; + } + }) + } + else { + document.getElementById("creator").style.display = "none"; + } + +} + +// function creatorVisibility() { +// if (localStorage.getItem("token") == null) { +// document.getElementById("creator").style.display = "none"; +// } +// else if (checkRole()) { +// document.getElementById("creator").style.display = "none"; +// } +// else { +// document.getElementById("creator").style.display = ""; +// } +// } \ No newline at end of file diff --git a/frontend/unlogged_user/index.html b/frontend/unlogged_user/index.html new file mode 100644 index 0000000..fcd8456 --- /dev/null +++ b/frontend/unlogged_user/index.html @@ -0,0 +1,67 @@ + + + + + + + + Padel Tournaments System + + + + + +
+
+ +
+ +
+ + + + + +
+ + + + +
+ + +
+
WSZYSTKIE
+
MOJE
+ +
+ +
+
+ +
+ + + + + + +
+ + + \ No newline at end of file diff --git a/frontend/unlogged_user/kontakt/index.html b/frontend/unlogged_user/kontakt/index.html new file mode 100644 index 0000000..61d9240 --- /dev/null +++ b/frontend/unlogged_user/kontakt/index.html @@ -0,0 +1,31 @@ + + + + + + + Padel Tournaments System + + + + +
+
+ +
+ +
+ + +
+Kontakt +
+ + + \ No newline at end of file diff --git a/frontend/unlogged_user/kontakt/style.css b/frontend/unlogged_user/kontakt/style.css new file mode 100644 index 0000000..f15795c --- /dev/null +++ b/frontend/unlogged_user/kontakt/style.css @@ -0,0 +1,14 @@ +@import "../../_global/header.css"; + +body { + margin: 0; +} + + +.container { + height: 100%; + width: 100%; + display: flex; + justify-content: center; + +} diff --git a/frontend/unlogged_user/logowanie/app.js b/frontend/unlogged_user/logowanie/app.js new file mode 100644 index 0000000..4ddef93 --- /dev/null +++ b/frontend/unlogged_user/logowanie/app.js @@ -0,0 +1,77 @@ + + +function checkRole() { + fetch('https://dragonmaster.pl/inz/user', { + headers: { + Authorization: ("Bearer " + localStorage.getItem("token")) + } + }) + .then(res => res.json()) + .then(json => { + if (json['role'] == '1') { + window.location.href = '../index.html' + } + else { + window.location.href = '../../logged_organiser/panel_organizatora/dodawanie turnieju/index.html' + } + }) + +} + +function login() { + localStorage.clear() + fetch('https://dragonmaster.pl/inz/user/login', { + method: "POST", + headers: { + 'Content-type': 'application/json' + }, + body: JSON.stringify( + { + "username": document.getElementById("loginusername").value, + "password": document.getElementById("loginpassword").value + } + ) + } + ) + .then(res => { + if (res.ok) { + // alert("Teraz mozesz się zalogować!") + } + else { console.log("Coś poszło nie tak!") } + return res + }) + .then(res => res.json()) + .then(data => { + console.log(data['token']?.length > 0 ? localStorage.setItem("token", data['token']) : alert("Błędne dane!")) + checkRole(); + }) + .catch(error => console.log(error)) +} + + +// function checkRole() { +// fetch('https://dragonmaster.pl/inz/user', { +// method: "GET", +// headers: { +// 'Content-type': 'application/json' +// }, +// body: JSON.stringify( +// { +// "token": document.getElementById("loginusername").value, +// "password": document.getElementById("loginpassword").value +// } +// ) +// } +// ) +// .then(res => { +// if (res.ok) { +// alert("Teraz mozesz się zalogować!") +// } +// else { console.log("Coś poszło nie tak!") } +// return res +// }) +// .then(res => res.json()) +// .then(data => console.log(data['token']?.length > 0 ? localStorage.setItem("token", data['token']) : 'niedziaua')) +// .catch(error => console.log(error)) +// .then(token1 => token = token1) +// } \ No newline at end of file diff --git a/frontend/unlogged_user/logowanie/index.html b/frontend/unlogged_user/logowanie/index.html new file mode 100644 index 0000000..12c44af --- /dev/null +++ b/frontend/unlogged_user/logowanie/index.html @@ -0,0 +1,37 @@ + + + + + + + + Paddle tournament system + + + + +
+
+ +
+ +
+ + + + \ No newline at end of file diff --git a/frontend/unlogged_user/logowanie/rejestracja/api.js b/frontend/unlogged_user/logowanie/rejestracja/api.js new file mode 100644 index 0000000..7f7f009 --- /dev/null +++ b/frontend/unlogged_user/logowanie/rejestracja/api.js @@ -0,0 +1,148 @@ +var token = ""; +document.getElementById("loginButton").addEventListener("click", function () { + document.getElementById("login").style.display = "block"; +}); + +document.getElementById("regButton").addEventListener("click", function () { + document.getElementById("reg").style.display = "block"; +}); +document.getElementById("registrationButton").addEventListener("click", function () { + document.getElementById("registration").style.display = "block"; +}); +document.getElementById("checkPaymentButton").addEventListener("click", function () { + document.getElementById("checkStatus").style.display = "block"; +}); +var registartions = []; +document.getElementById("getRegistartionsButton").addEventListener("click", function () { + document.getElementById("getRegistartions").style.display = "block"; +}); +document.getElementById("getUserDataButton").addEventListener("click", function () { + var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function () { + if (this.readyState == 4 && this.status == 200) { + var json = JSON.parse(this.response); + document.getElementById("getUserDataid").innerText = json.id; + document.getElementById("getUserDataname").innerText = json.name; + document.getElementById("getUserDatasurname").innerText = json.surname; + document.getElementById("getUserDatarole").innerText = json.role; + document.getElementById("getUserDatalogin").innerText = json.login; + document.getElementById("getUserDataphone").innerText = json.phone; + document.getElementById("getUserDatamail").innerText = json.mail; + document.getElementById("getUserData").style.display = "block"; + } else if (this.readyState == 4) { + alert("something not work :( " + this.status); + } + } + xhttp.open("GET", "/inz/user"); + xhttp.setRequestHeader("Authorization", "Bearer " + token); + xhttp.send(); +}); +document.getElementById("updateUserDataButton").addEventListener("click", function () { + document.getElementById("updateUserData").style.display = "block"; +}); +document.getElementById("regsubmit").addEventListener("click", function () { + var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function () { + if (this.readyState == 4 && this.status == 200) { + alert("200 now you can login"); + } else if (this.readyState == 4) { + alert("something not work :( " + this.status); + } + } + xhttp.open("PUT", "dragonmaster.pl/inz/user/create"); + xhttp.send('{"username":"' + document.getElementById("regusername").value + '","name":"' + document.getElementById("regname").value + '","surname":"' + document.getElementById("regsurname").value + '","password":"' + document.getElementById("regpassword").value + '","mail":"' + document.getElementById("regmail").value + '","phone":"' + document.getElementById("regphone").value + '"}'); +}); + +document.getElementById("loginsubmit").addEventListener("click", function () { + var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function () { + if (this.readyState == 4 && this.status == 200) { + alert("logged in"); + token = JSON.parse(this.response).token; + document.getElementById("loginarea").style.display = "none"; + document.getElementById("other").style.display = "block"; + } else if (this.readyState == 4) { + alert("something not work :( " + this.status); + } + } + xhttp.open("POST", "/inz/user/login"); + xhttp.send('{"username":"' + document.getElementById("loginusername").value + '","password":"' + document.getElementById("loginpassword").value + '"}'); +}); +document.getElementById("registrationsubmit").addEventListener("click", function () { + var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function () { + if (this.readyState == 4 && this.status == 200) { + document.getElementById("registrationretu").innerText = JSON.parse(this.response).id; + if (document.getElementById("registrationpaymentmethod").value == "btc") { + var splited = JSON.parse(this.response).url.split("/"); + window.btcpay.showInvoice(splited[splited.length - 1]); + + } + } else if (this.readyState == 4) { + alert("something not work :( " + this.status); + } + } + xhttp.open("PUT", "/inz/registration"); + xhttp.setRequestHeader("Authorization", "Bearer " + token); + xhttp.send('{"paymentmethod":"' + document.getElementById("registrationpaymentmethod").value + '","tournament":"' + document.getElementById("registrationtournament").value + '","partner":"' + document.getElementById("registrationpartner").value + '"}'); +}); + +document.getElementById("checkStatussubmit").addEventListener("click", function () { + var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function () { + if (this.readyState == 4 && this.status == 200) { + document.getElementById("checkStatusretu").innerText = JSON.parse(this.response).status; + } else if (this.readyState == 4) { + alert("something not work :( " + this.status); + } + } + xhttp.open("GET", "/inz/registration/paymentstatus?id=" + document.getElementById("checkStatusid").value); + xhttp.setRequestHeader("Authorization", "Bearer " + token); + xhttp.send(); +}); + +document.getElementById("getRegistartionsSubmit").addEventListener("click", function () { + var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function () { + if (this.readyState == 4 && this.status == 200) { + registartions = JSON.parse(this.response); + document.getElementById("getRegistartionsid").innerText = registartions[0].id; + document.getElementById("getRegistartionsuserid").innerText = registartions[0].userid; + document.getElementById("getRegistartionstournamentid").innerText = registartions[0].tournamentid; + document.getElementById("getRegistartionspaymenttype").innerText = registartions[0].paymenttype; + document.getElementById("getRegistartionspaymentstatus").innerText = registartions[0].paymentstatus; + document.getElementById("getRegistartionsapprovals").innerText = registartions[0].approval; + } else if (this.readyState == 4) { + alert("something not work :( " + this.status); + } + } + xhttp.open("GET", "/inz/registrations?id=" + document.getElementById("getRegistartionsiid").value); + xhttp.setRequestHeader("Authorization", "Bearer " + token); + xhttp.send(); + cur = 0; +}); +var cur = 0; +document.getElementById("getRegistartionsNext").addEventListener("click", function () { + cur = cur + 1; + document.getElementById("getRegistartionsid").innerText = registartions[cur].id; + document.getElementById("getRegistartionsuserid").innerText = registartions[cur].userid; + document.getElementById("getRegistartionstournamentid").innerText = registartions[cur].tournamentid; + document.getElementById("getRegistartionspaymenttype").innerText = registartions[cur].paymenttype; + document.getElementById("getRegistartionspaymentstatus").innerText = registartions[cur].paymentstatus; + document.getElementById("getRegistartionsapprovals").innerText = registartions[cur].approval; +}); + +document.getElementById("updatesubmit").addEventListener("click", function () { + var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function () { + if (this.readyState == 4 && this.status == 200) { + alert("200 updated"); + } else if (this.readyState == 4) { + alert("something not work :( " + this.status); + } + } + xhttp.open("POST", "/inz/user"); + xhttp.setRequestHeader("Authorization", "Bearer " + token); + + xhttp.send('{"name":"' + document.getElementById("updatename").value + '","surname":"' + document.getElementById("updatesurname").value + '","password":"' + document.getElementById("updatepassword").value + '","mail":"' + document.getElementById("updatemail").value + '","phone":"' + document.getElementById("updatephone").value + '"}'); +}); \ No newline at end of file diff --git a/frontend/unlogged_user/logowanie/rejestracja/index.html b/frontend/unlogged_user/logowanie/rejestracja/index.html new file mode 100644 index 0000000..6a5d8da --- /dev/null +++ b/frontend/unlogged_user/logowanie/rejestracja/index.html @@ -0,0 +1,64 @@ + + + + + + + + Padel Tournaments System + + + + + + +
+
+
+

Rejestracja

+ + + + +
+ + + +
+ + + +
+ + + +
+ + + + +
+ + + + + + + + +
+ Zapomniałeś hasła? +
+ + Masz już konto? Zaloguj się +
+
+ +
+ + + + + \ No newline at end of file diff --git a/frontend/unlogged_user/logowanie/rejestracja/myscript.js b/frontend/unlogged_user/logowanie/rejestracja/myscript.js new file mode 100644 index 0000000..f1185e5 --- /dev/null +++ b/frontend/unlogged_user/logowanie/rejestracja/myscript.js @@ -0,0 +1,44 @@ +//Password toggle +const togglePassword = document.querySelector("#togglePassword"); +const password = document.querySelector("#regpassword"); + +togglePassword.addEventListener("click", function () { + // toggle the type attribute + const type = password.getAttribute("type") === "password" ? "text" : "password"; + password.setAttribute("type", type); + + // toggle the icon + this.classList.toggle("bi-eye"); +}); + + +function register() { + fetch('https://dragonmaster.pl/inz/user/create', { + method: "PUT", + headers: { + 'Content-type': 'application/json' + }, + body: JSON.stringify( + { + "username": document.getElementById("regusername").value, + "name": document.getElementById("regname").value, + "surname": document.getElementById("regsurname").value, + "password": document.getElementById("regpassword").value, + "mail": document.getElementById("regmail").value, + "phone": document.getElementById("regphone").value + } + ) + } + ) + .then(res => { + if (res.ok) { + alert("Teraz mozesz się zalogować!") + window.location.href = '../index.html' + } + else { console.log("Coś poszło nie tak!") } + return res + }) + .then(res => res.json()) + .then(data => console.log(data)) + .catch(error => console.log(error)) +} \ No newline at end of file diff --git a/frontend/unlogged_user/logowanie/rejestracja/src/lock.svg b/frontend/unlogged_user/logowanie/rejestracja/src/lock.svg new file mode 100644 index 0000000..f28ee78 --- /dev/null +++ b/frontend/unlogged_user/logowanie/rejestracja/src/lock.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/unlogged_user/logowanie/rejestracja/src/mail.svg b/frontend/unlogged_user/logowanie/rejestracja/src/mail.svg new file mode 100644 index 0000000..10ef01f --- /dev/null +++ b/frontend/unlogged_user/logowanie/rejestracja/src/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/unlogged_user/logowanie/rejestracja/src/mezczyzna_padel.jpg b/frontend/unlogged_user/logowanie/rejestracja/src/mezczyzna_padel.jpg new file mode 100644 index 0000000..34297f1 Binary files /dev/null and b/frontend/unlogged_user/logowanie/rejestracja/src/mezczyzna_padel.jpg differ diff --git a/frontend/unlogged_user/logowanie/rejestracja/src/person.svg b/frontend/unlogged_user/logowanie/rejestracja/src/person.svg new file mode 100644 index 0000000..453c366 --- /dev/null +++ b/frontend/unlogged_user/logowanie/rejestracja/src/person.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/unlogged_user/logowanie/rejestracja/src/phone.svg b/frontend/unlogged_user/logowanie/rejestracja/src/phone.svg new file mode 100644 index 0000000..6ac818d --- /dev/null +++ b/frontend/unlogged_user/logowanie/rejestracja/src/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/unlogged_user/logowanie/rejestracja/style.css b/frontend/unlogged_user/logowanie/rejestracja/style.css new file mode 100644 index 0000000..78922f1 --- /dev/null +++ b/frontend/unlogged_user/logowanie/rejestracja/style.css @@ -0,0 +1,61 @@ +html { + background-image: url(src/mezczyzna_padel.jpg); + background-attachment: fixed; + background-size: cover; +} + +.container { + display: flex; + height: 100vh; + justify-content: center; + align-items: center; +} + +.form { + width: 50%; + height: 40%; + background-color: #EBEBEB; + display: flex; + ; + justify-content: center; + align-items: center; +} + +.myButton { + background-color: #14A6F9; + border-radius: 28px; + display: inline-block; + cursor: pointer; + color: #ffffff; + font-family: Arial; + font-size: 12px; + padding: 5px 15px; + width: 50%; + align-content: center; +} + +/* ----- +SVG Icons - svgicons.sparkk.fr +----- */ + +.svg-icon { + width: 1em; + height: 1em; + /*background-color: #EBEBEB;*/ +} + +.svg-icon path, +.svg-icon polygon, +.svg-icon rect { + fill: #4691f6; +} + +.svg-icon circle { + stroke: #4691f6; + stroke-width: 1; +} + +form i { + margin-left: -30px; + cursor: pointer; +} \ No newline at end of file diff --git a/frontend/unlogged_user/logowanie/style.css b/frontend/unlogged_user/logowanie/style.css new file mode 100644 index 0000000..b6189b5 --- /dev/null +++ b/frontend/unlogged_user/logowanie/style.css @@ -0,0 +1,58 @@ +/* * { + border: 2px solid red; + padding: 0; + margin: 0; +} */ + +input { + text-align: left; +} + +html { + background-image: url(tlo_logowanie.png); + background-attachment: fixed; + background-size: cover; +} + +* { + /* border: 2px solid red; */ + box-sizing: border-box; + text-align: center; +} + +.form { + width: 50%; + height: 40%; + background-color: #EBEBEB; + display: flex; + ; + justify-content: center; + align-items: center; +} + +.login { + width: 40%; + display: flex; + flex-direction: column; +} + +.container { + display: flex; + height: 100vh; + justify-content: center; + align-items: center; +} + + + +.myButton { + background-color: #14A6F9; + border-radius: 28px; + display: inline-block; + cursor: pointer; + color: #ffffff; + font-family: Arial; + font-size: 12px; + padding: 5px 15px; + width: 50%; +} \ No newline at end of file diff --git a/frontend/unlogged_user/logowanie/tlo_logowanie.png b/frontend/unlogged_user/logowanie/tlo_logowanie.png new file mode 100644 index 0000000..92ea391 Binary files /dev/null and b/frontend/unlogged_user/logowanie/tlo_logowanie.png differ diff --git a/frontend/unlogged_user/ranking/index.html b/frontend/unlogged_user/ranking/index.html new file mode 100644 index 0000000..355602f --- /dev/null +++ b/frontend/unlogged_user/ranking/index.html @@ -0,0 +1,31 @@ + + + + + + + Padel Tournaments System + + + + +
+
+ +
+ +
+ + +
+Ranking +
+ + + \ No newline at end of file diff --git a/frontend/unlogged_user/ranking/style.css b/frontend/unlogged_user/ranking/style.css new file mode 100644 index 0000000..f15795c --- /dev/null +++ b/frontend/unlogged_user/ranking/style.css @@ -0,0 +1,14 @@ +@import "../../_global/header.css"; + +body { + margin: 0; +} + + +.container { + height: 100%; + width: 100%; + display: flex; + justify-content: center; + +}