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{ |
|||
padding: 0.8em 0.6em; |
|||
border-radius: 20px; |
|||
background-color: red; |
|||
border: solid 1px #002d5e; |
|||
outline: none; |
|||
padding: 0.6em; |
|||
border-radius: 10px; |
|||
} |
|||
.form-chunck{ |
|||
margin-bottom: 0.6em; |
|||
} |
@ -1,35 +1,50 @@ |
|||
<h1>Content de vous revoir !</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; } ?> |
|||
<!DOCTYPE html> |
|||
<html lang="fr"> |
|||
<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"> |
|||
<link rel="stylesheet" href="login.css"> |
|||
<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 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 class="container signin"> |
|||
<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> |
|||
</div> |
|||
<input class="button" type="submit" value="Se connecter"> |
|||
</form> |
|||
<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> |
|||
</body> |
|||
</html> |
Loading…
Reference in new issue