You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.4 KiB
39 lines
1.4 KiB
<head>
|
|
<meta charset="utf8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Accueil</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>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>todo list</th>
|
|
<th>créateur</th>
|
|
<th>date de création</th>
|
|
<th>supprimer</th>
|
|
<th>mofifier</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php if(isset($todoLists)) : ?>
|
|
<?php foreach($todoLists as $todolist) :?>
|
|
<tr>
|
|
<td><a href="?action=seeList&list=<?=$todolist->getID()?>"><?=$todolist->getNom()?></a></td>
|
|
<td><?=$todolist->getCreateur()?></td>
|
|
<td><?=$todolist->getDateCreation()?></td>
|
|
<td><a href="?action=supprimerListe&list=<?=$todolist->getID()?>">A remplacer par un image de poubelle (^u^)'</a></td>
|
|
<td><a href="?action=veuxModifierListe&list=<?=$todolist->getID()?>">A remplacer par un image de stylo (^u^")</a></td>
|
|
</tr>
|
|
<?php endforeach;?>
|
|
<?php endif;?>
|
|
</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>
|