parent
c012167a72
commit
4fed04027e
Binary file not shown.
@ -1,26 +1,34 @@
|
|||||||
<?php
|
<head>
|
||||||
require("header.php");
|
<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">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<?php require("header.php"); ?>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
|
||||||
<th>todo list</th>
|
|
||||||
<th>créateur</th>
|
|
||||||
<th>date de création</th>
|
|
||||||
<th>supprimer</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php foreach($todoLists as $todolist) :?>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><?=$todolist->getNom()?></td>
|
<th>todo list</th>
|
||||||
<td><?=$todolist->getCreateur()?></td>
|
<th>créateur</th>
|
||||||
<td><?=$todolist->getDateCreation()?></td>
|
<th>date de création</th>
|
||||||
<td><a href="?supprimerListe=<?=$todolist->getID()?>">A remplacer par un image de poubelle (^u^)'</a></td>
|
<th>supprimer</th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach;?>
|
</thead>
|
||||||
</tbody>
|
<tbody>
|
||||||
<table>
|
<?php foreach($todoLists as $todolist) :?>
|
||||||
</main>
|
<tr>
|
||||||
|
<td><a href="?seeList=<?=$todolist->getNom()?>"><?=$todolist->getNom()?></a></td>
|
||||||
|
<td><?=$todolist->getCreateur()?></td>
|
||||||
|
<td><?=$todolist->getDateCreation()?></td>
|
||||||
|
<td><a href="?supprimerListe=<?=$todolist->getID()?>">A remplacer par un image de poubelle (^u^)'</a></td>
|
||||||
|
</tr>
|
||||||
|
<?php endforeach;?>
|
||||||
|
</tbody>
|
||||||
|
<table>
|
||||||
|
</main>
|
||||||
|
<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>
|
||||||
|
@ -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>
|
<head>
|
||||||
<meta charset="utf8"/>
|
<meta charset="utf8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<h1>Connexion</h1>
|
<div>
|
||||||
<form method="post" action="">
|
<h1>Se Connecter</h1>
|
||||||
<label>Pseudonyme: </label>
|
<form method="post" action="?connection">
|
||||||
<input name="username" type="text" placeholder="Pseudonyme"/>
|
<table>
|
||||||
<br>
|
<tr>
|
||||||
<label>Mot de passe: </label>
|
<td><label for="ps">Pseudo</label></td>
|
||||||
<input name="password" type="password" placeholder="Saisir votre mot de passe">
|
<td><input type="text" id="ps" name="pseudonyme"></td>
|
||||||
<br>
|
</tr>
|
||||||
<input name="Connexion" type="submit"/>
|
<tr>
|
||||||
</form>
|
<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>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
</html>
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
<?php $nomDuSite="SUPER MEGA TODO LIST";?>
|
||||||
<header>
|
<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>
|
</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