feat(data): dodano ekran zakładania turnieju

This commit is contained in:
Lewy 2022-05-31 02:14:17 +02:00
parent ea49087683
commit 5291803aeb
9 changed files with 235 additions and 24 deletions

View File

@ -0,0 +1,104 @@
/*HEADER*/
header {
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: space-between;
background-color: #0f64f2;
margin: auto;
padding-top: 10px;
padding-bottom: 10px;
padding-right: 30px;
padding-left: 10px;
}
header>p {
text-align: center;
line-height: 0;
}
.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;
}
img {
width: 150px;
height: 30px;
}
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;
}
@media all and (max-width: 800px) {
header {
justify-content: space-around;
}
}
@media all and (max-width: 800px) {
header {
flex-direction: column;
}
}

View File

@ -0,0 +1,64 @@
<!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="style.css" rel="stylesheet">
</head>
<body>
<header>
<a href="../index.html"><img src="logo_padel.jpeg"></a>
<a href="#">Kalendarz turniejów</a>
<a href="#">Ranking</a>
<a href="#">Wyniki</a>
<form action="logowanie/index.html">
<input class="loginn" type="submit" value="Logowanie" />
</form>
</header>
<!-- TODO sztuczny padding-->
<div> .</div>
<div> .</div>
<div class="container">
<div class="form">
<h3 class="descriptor">Nazwa Turnieju</h3>
<input>
<h3 class="descriptor">Termin</h3>
<input>
<h3 class="descriptor">Miejsce</h3>
<input>
<h3 class="descriptor">Kategorie</h3>
<input>
<h3 class="descriptor">Ranga</h3>
<input>
<h3 class="descriptor">Wpisowe</h3>
<input>
<h3 class="descriptor">Dyrektor Turnieju</h3>
<input>
<h3 class="descriptor">Telefon</h3>
<input>
<h3 class="descriptor">Zapisy</h3>
<input>
<h3 class="descriptor">Dodatkowe informacje</h3>
<textarea name="Text1" cols="40" rows="5"></textarea>
</div>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,49 @@
@import "header.css";
body {
background-color: #EBEBEB;
}
.form {
width: 50%;
height: 800px;
background-color: #FFFFFF;
/*form na środku strony*/
margin: auto;
justify-content: center;
align-items: center;
padding-left: 40px;
padding-top: 15px;
}
.container {
height: 100%;
width: 100%;
display: flex;
justify-content: flex-end;
}
.descriptor {
/* Kategorie */
width: 326px;
height: 42px;
left: 254px;
top: 554px;
margin-bottom: 0px;
margin-top: 0px;
/* H3 */
/*font-family: 'Montserrat';*/
font-size: 20px;
line-height: 42px;
/* identical to box height, or 150% */
display: flex;
align-items: center;
/* DARK GREY */
color: #828282;
}

View File

@ -3,6 +3,7 @@
display: flex;
flex-direction: column;
justify-content: center;
/*szerokość całej drabinki*/
width: 250px;
list-style: none;
padding: 0;

View File

@ -3,10 +3,6 @@
@import "round.css";
/*
* Flex Layout Specifics
*/
body {
background-color: #C0C0C0;
font-family: sans-serif;
@ -88,9 +84,6 @@ header>p {
align-items: center;
}
/*
* Flex Layout Specifics
*/
main {
display: flex;
flex-direction: row;

View File

@ -16,18 +16,21 @@
<body>
<header>
<a href="../index.html"><img src="../logo_padel.jpeg" alt=""></a>
<a href="#">Wiadomości</a>
<a href="#">Kalendarz turniejów</a>
<a href="#">Ranking</a>
<a href="#">Wyniki</a>
<a href="#">Kontakt</a>
<a href="#">Turnieje</a>
<a href="#">Rozgrywki</a>
<a href="#">Ustawienia</a>
<a href="#">Panel uczestnika</a>
<span class="dot">JM</span>
</div>
</header>
<!-- TODO Sztuczny padding-->
<h1> </h1>
<div class="container">
<h1>Padel tournament</h1>
<button type="button" class="collapsible">Drabinka Główna</button>
<div class="content">
<main id="tournament">
<!-- ROUND 1-->

View File

@ -5,7 +5,7 @@
<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>
<title>Paddle tournament system</title>
<link href="style.css" rel="stylesheet">
</head>
@ -18,11 +18,11 @@
<input placeholder="Tutaj wpisz hasło">
<br>
<center>
<form action="../zalogowany_organizator/index.html">
<input class="myButton" type="submit" value="Zaloguj" />
</form>
</center>
<form action="../zalogowany_organizator/index.html">
<input class="myButton" type="submit" value="Zaloguj" />
</form>
<br>
<a href="#">Zapomniałeś hasła?</a>
<br>

View File

@ -20,10 +20,6 @@ html {
text-align: center;
}
.container {
height: 100vh;
}
.form {
width: 50%;
height: 40%;
@ -60,3 +56,4 @@ html {
padding: 5px 15px;
width: 50%;
}