Browse Source

U_u + delete file

master
SERNY Sacha 3 years ago
parent
commit
5abdd2b3ec
  1. 12
      index.html
  2. 6
      index.php
  3. 6
      stylepagecss/style.css

12
index.html

@ -1,12 +0,0 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<title>M A C H I N E</title>
<meta charset="utf-8">
<link href="stylepagecss/style.css" rel="stylesheet">
<link rel="icon" type="image/jpg" sizes="16x16" href="icon.jpg">
</head>
<body>
</body>
</html>

6
index.php

@ -12,7 +12,7 @@ if (isset($_POST['submit'])) {
$message ="accès refusé"; $message ="accès refusé";
} }
} }
} }
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="fr"> <html lang="fr">
@ -26,8 +26,8 @@ if (isset($_POST['submit'])) {
<body> <body>
<div> <div>
<form method="post" action=""> <form method="post" action="">
<input type="text" name="username"> <input type="text" name="username" placeholder="Nom d'utilisateur">
<input type="text" name="password"> <input type="text" name="password" placeholder="Mot de passe">
<input type="submit" value="Valider" name="submit"> <input type="submit" value="Valider" name="submit">
</form> </form>
<?php if (isset($message)) {echo $message;} ?> <?php if (isset($message)) {echo $message;} ?>

6
stylepagecss/style.css

@ -162,3 +162,9 @@ button:hover {
font-size: 4vh; font-size: 4vh;
cursor: pointer; cursor: pointer;
} }
/* index.php */
form {
display: flex;
flex-direction: column;
}

Loading…
Cancel
Save