feat: Dodanie Panelu organizatora

Dodałem panel organizatora oraz zdjęcie do backgrounda w logowaniu. Teraz działa to tak, ze zaczynamy od index.html który jest w folderze frontend, przechodzimy po kliknięciu zaloguj do logowania, a w logowaniu po naciśnięciu zaloguj do panelu organizatora
This commit is contained in:
Arek 2022-05-19 14:19:13 +02:00
parent b620a1a2d2
commit ddbcc3cb46
7 changed files with 178 additions and 2 deletions

43
frontend/index.html Normal file
View File

@ -0,0 +1,43 @@
<!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>Strona główna</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<header>
<p> Padel</p>
<a href="#">Wiadomości</a>
<a href="#">Kalendarz turniejów</a>
<a href="#">Ranking</a>
<a href="#">Wyniki</a>
<a href="#">Kontakt</a>
<form action="logowanie/index.html">
<input class="loginn" type="submit" value="Logowanie" />
</form>
</div>
</header>
<div class="container">
<div class="event">
<div class="eventHeader">Nadchodzące turnieje</div>
<div class="eventInside">Turniej majowy 2022
<p> Propadel|Warszawa</p>
<p>13/05/2022 do 15/05/2022</p>
<button class="myButton">Open</button>
</div>
<div class="eventInside">Trójmiasto Cup 2022
<p> Padbox | Gdańsk</p>
<p> 03/06/2022 do 05/06/2022</p>
<button class="myButton">Open</button>
</div>
<div class="lastevent"></div>
</div>
</div>
</body>
</html>

View File

@ -18,7 +18,12 @@
<input placeholder="Tutaj wpisz hasło">
<br>
<center><button class="myButton">Zaloguj</button></center>
<center>
<form
action="file:///Users/arekkowalski/Desktop/testowanie_visual/Padel-Tournaments-System/frontend/zalogowany_organizator/index.html?">
<input class="myButton" type="submit" value="Zaloguj" />
</form>
</center>
<br>
<a href="#">Zapomniałeś hasła?</a>
<br>

View File

@ -4,6 +4,16 @@
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;

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 MiB

View File

@ -17,7 +17,8 @@
<a href="#">Ranking</a>
<a href="#">Wyniki</a>
<a href="#">Kontakt</a>
<button class="loginn">LOGOWANIE</button>
<button class="loginn">PANEL ORGANIZATORA</button>
<span class="dot">JM</span>
</div>
</header>
<div class="container">

View File

@ -0,0 +1,117 @@
* {
/* border: solid; */
}
a {
text-align: center;
line-height: 2;
color: white;
text-decoration: none;
}
.loginn {
background-color: skyblue;
border-radius: 31px;
border: 1px solid skyblue;
cursor: pointer;
color: #ffffff;
font-family: Arial;
text-decoration: none;
height: 30px;
}
header {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
background-color: #065FD4;
margin: auto;
padding-top: 10px;
padding-bottom: 10px;
}
header>p {
text-align: center;
line-height: 0;
}
.container {
height: 100%;
width: 100%;
display: flex;
justify-content: flex-end;
}
.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;
}
@media all and (max-width: 800px) {
header {
justify-content: space-around;
}
}
@media all and (max-width: 800px) {
header {
flex-direction: colum;
}
}