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.

66 lines
1.4 KiB

<!DOCTYPE html>
<html>
<head>
<title>Ajouter une Liste</title>
<link rel="stylesheet" href="Style/bootstrap.css">
<link rel="stylesheet" href="Style/listStyle.css">
</head>
<body>
<div class="sidenav">
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Clients</a>
<a href="#">Contact</a>
</div>
<div class="main">
<div class="topnav">
<a href="#home">Se connecter</a>
</div>
<h2>Liste Publique</h2>
<div class="container">
<?php
$dataView[]=new Liste(12, "test", false, null, array());
$dataView[]=new Liste(12, "belle bite", false, null, array());
if (isset($dataView)):
?>
<ul>
<li class="table-header">
<div class="col col-1">List Name</div>
<div class="col col-2">See Details</div>
</li>
<?php
foreach ($dataView as $list){
?>
<li class="table-row">
<div class="col col-1" data-label="Customer Name"><?php echo $list->getName(); ?></div>
<button class="col col-2">Modify</button>
</li>
<?php
}
?>
</ul>
<?php
endif;
?>
</div>
</div>
</body>