generated from Templates_CodeFirst/templateHtmlCss
parent
d89303c348
commit
d7477bf8a9
@ -0,0 +1,32 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Ajouter une Liste</title>
|
||||||
|
<link rel="stylesheet" href="Style/bootstrap.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$dataView[]=new Liste(12, "test", false, null, array());
|
||||||
|
$dataView[]=new Liste(12, "belle bite", false, null, array());
|
||||||
|
|
||||||
|
if (isset($dataView)):
|
||||||
|
foreach ($dataView as $list){
|
||||||
|
?>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
|
<?php echo $list->getName(); ?>
|
||||||
|
</div>
|
||||||
|
<button class="col">
|
||||||
|
Modifer la liste
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
|
||||||
|
endif;
|
||||||
|
|
||||||
|
?>
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('./metier/liste.php');
|
|
||||||
|
|
||||||
class ListeGateway
|
class ListeGateway
|
||||||
{
|
{
|
||||||
|
|
@ -1,7 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('./metier/tache.php');
|
|
||||||
|
|
||||||
class TacheGateway
|
class TacheGateway
|
||||||
{
|
{
|
||||||
|
|
@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('./metier/user.php');
|
|
||||||
|
|
||||||
class UserGateway
|
class UserGateway
|
||||||
{
|
{
|
@ -1,8 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('user.php');
|
|
||||||
require_once('tache.php');
|
|
||||||
|
|
||||||
|
|
||||||
class Liste
|
class Liste
|
||||||
{
|
{
|
@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('user.php');
|
|
||||||
|
|
||||||
class Tache
|
class Tache
|
||||||
{
|
{
|
Loading…
Reference in new issue