kalyax
3 years ago
4 changed files with 80 additions and 36 deletions
@ -1,5 +1,34 @@ |
|||||
|
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap'); |
||||
|
|
||||
|
|
||||
|
body{ |
||||
|
background-color: #001a35; |
||||
|
font-family: "Fredorka", sans-serif; |
||||
|
margin: 0; |
||||
|
color: white; |
||||
|
height: 100vh; |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
align-items: center; |
||||
|
} |
||||
|
|
||||
|
.container{ |
||||
|
background-color: #002d5e; |
||||
|
width: 50vw; |
||||
|
text-align: center; |
||||
|
padding: 1em; |
||||
|
border-radius: 10px; |
||||
|
margin: auto; |
||||
|
} |
||||
|
h1{ |
||||
|
margin: 0 0 0.4em 0; |
||||
|
} |
||||
input{ |
input{ |
||||
padding: 0.8em 0.6em; |
border: solid 1px #002d5e; |
||||
border-radius: 20px; |
outline: none; |
||||
background-color: red; |
padding: 0.6em; |
||||
|
border-radius: 10px; |
||||
|
} |
||||
|
.form-chunck{ |
||||
|
margin-bottom: 0.6em; |
||||
} |
} |
@ -1,35 +1,50 @@ |
|||||
<h1>Content de vous revoir !</h1> |
<!DOCTYPE html> |
||||
<form action="cible_login.php" method="post" id="form"> |
<html lang="fr"> |
||||
<div class="form-chunck"> |
<head> |
||||
<label for="username">Utilisateur</label> |
<meta charset="UTF-8"> |
||||
<input class="input" type="text" name="username"> |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<?php if (isset($_GET['error']) AND $_GET['error'] == '2') { echo <<<HTML |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<small>Nom d'utilisateur incorrecte</small> |
<link rel="stylesheet" href="login.css"> |
||||
HTML; } ?> |
<title>Connexion</title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<div class="container login"> |
||||
|
<h1>Connexion</h1> |
||||
|
<form action="cible_login.php" method="post" id="form"> |
||||
|
<div class="form-chunck"> |
||||
|
<label for="username">Utilisateur</label> |
||||
|
<input class="input" type="text" name="username"> |
||||
|
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '2') { echo <<<HTML |
||||
|
<small>Nom d'utilisateur incorrecte</small> |
||||
|
HTML; }*/ ?> |
||||
|
</div> |
||||
|
<div class="form-chunck"> |
||||
|
<label for="password">Mot de passe</label> |
||||
|
<input class="input" type="password" name="password" id=""> |
||||
|
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '3') { echo <<<HTML |
||||
|
<small>Mot de passe incorrecte</small> |
||||
|
HTML; }*/ ?> |
||||
|
</div> |
||||
|
<input class="button" type="submit" value="Se connecter"> |
||||
|
</form> |
||||
</div> |
</div> |
||||
<div class="form-chunck"> |
|
||||
<label for="password">Mot de passe</label> |
<div class="container signin"> |
||||
<input class="input" type="password" name="password" id=""> |
<h1>Toujours pas de compte chez deuzagio ?</h1> |
||||
<?php if (isset($_GET['error']) AND $_GET['error'] == '3') { echo <<<HTML |
<form action="cible_sign-up.php" method="post" id="form"> |
||||
<small>Mot de passe incorrecte</small> |
<div class="form-chunck"> |
||||
HTML; } ?> |
<label for="username">Utilisateur</label> |
||||
|
<input class="input" type="text" name="username"> |
||||
|
<?php /*if (isset($_GET['error']) AND $_GET['error'] == '1') { echo <<<HTML |
||||
|
<small>Nom d'utilisateur déjà pris</small> |
||||
|
HTML; }*/ ?> |
||||
|
</div> |
||||
|
<div class="form-chunck"> |
||||
|
<label for="password">Mot de passe</label> |
||||
|
<input class="input" type="password" name="password" id=""> |
||||
|
</div> |
||||
|
<input class="button" type="submit" value="Se connecter"> |
||||
|
</form> |
||||
</div> |
</div> |
||||
<input class="button" type="submit" value="Se connecter"> |
</body> |
||||
</form> |
</html> |
||||
<br> |
|
||||
<br> |
|
||||
<h1>Toujours pas de compte chez deuzagio ?</h1> |
|
||||
<form action="cible_sign-up.php" method="post" id="form"> |
|
||||
<div class="form-chunck"> |
|
||||
<label for="username">Utilisateur</label> |
|
||||
<input class="input" type="text" name="username"> |
|
||||
<?php if (isset($_GET['error']) AND $_GET['error'] == '1') { echo <<<HTML |
|
||||
<small>Nom d'utilisateur déjà pris</small> |
|
||||
HTML; } ?> |
|
||||
</div> |
|
||||
<div class="form-chunck"> |
|
||||
<label for="password">Mot de passe</label> |
|
||||
<input class="input" type="password" name="password" id=""> |
|
||||
</div> |
|
||||
<input class="button" type="submit" value="Se connecter"> |
|
||||
</form> |
|
Loading…
Reference in new issue