parent
c012167a72
commit
4fed04027e
Binary file not shown.
@ -0,0 +1,28 @@
|
||||
<head>
|
||||
<meta charset="utf8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title><?=$nomDuSite?></title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="styles/ajouterListe.css">
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body class="container-fluid">
|
||||
<?php require("header.php"); ?>
|
||||
<div class=container>
|
||||
<div class="row">
|
||||
<div class="col"></div>
|
||||
<main class="col">
|
||||
<form method="POST" action="?action=addList">
|
||||
<label for="nom">Nom </label><input name="nomNouvelleListe" type="input" id="nom"/>
|
||||
<label for="ok"/>
|
||||
<input name="valider" type="submit" value="Créer la liste" id="ok"/>
|
||||
</form>
|
||||
</main>
|
||||
<div class="col"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
|
||||
|
||||
</body>
|
@ -1,20 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title><?=$nomDuSite?> - connexion</title>
|
||||
<link rel="stylesheet" href="styles/connection.css">
|
||||
<title>Se connecter</title>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>Connexion</h1>
|
||||
<form method="post" action="">
|
||||
<label>Pseudonyme: </label>
|
||||
<input name="username" type="text" placeholder="Pseudonyme"/>
|
||||
<br>
|
||||
<label>Mot de passe: </label>
|
||||
<input name="password" type="password" placeholder="Saisir votre mot de passe">
|
||||
<br>
|
||||
<input name="Connexion" type="submit"/>
|
||||
<div>
|
||||
<h1>Se Connecter</h1>
|
||||
<form method="post" action="?connection">
|
||||
<table>
|
||||
<tr>
|
||||
<td><label for="ps">Pseudo</label></td>
|
||||
<td><input type="text" id="ps" name="pseudonyme"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="pw">Mot de passe</label></td>
|
||||
<td><input type="password" id="pw" name="motDePasse"><br></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="cls"></label><input type="reset" id="cls" value="Effacer"></td>
|
||||
<td><label for="submit"></label><input type="submit" id="submit" name="veutSeConnecter" value="Valider"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,3 +1,18 @@
|
||||
<?php $nomDuSite="SUPER MEGA TODO LIST";?>
|
||||
<header>
|
||||
<?=$nomDuSite?>
|
||||
<nav class="navbar navbar-exand-lg navbar-dark bg-dark">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="?"><?=$nomDuSite?></a>
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link dropdown-toggle" href="#" role="button" id="navbarDropdown" data-bs-toggle="dropdown" aria-expanded="false">Liste</a>
|
||||
<ul class="dropdown-menu" aria-labellledby="navbarDropdown">
|
||||
<li><a class="dropdown-item" href="?acction=addList">Ajouter une liste</a></li>
|
||||
<li><a class="dropdown-item" href="?acction=modifyList">Modifier des listes</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
@ -1,5 +0,0 @@
|
||||
<div>
|
||||
<a href="?acction=addLine">Ajouter une tâche</a>
|
||||
<a href="?acction=delLine">Supprimer des tâches</a>
|
||||
<a href="?acction=modifyLine">Modifier des tâches</a>
|
||||
</div>
|
Loading…
Reference in new issue