Nouveaus modules
This commit is contained in:
48
views/index.hbs
Normal file
48
views/index.hbs
Normal file
@@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Cadeaux de Noël pour Louisa</title>
|
||||
<link rel="stylesheet" href="/styles.css">
|
||||
<link href="/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container mt-4">
|
||||
<div class="mt-4 p-5 bg-primary text-white rounded">
|
||||
<h1>Liste des cadeaux de Noël pour Louisa</h1>
|
||||
<p>{{ message }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<div class="tableau">
|
||||
<ul>
|
||||
<li> </li>
|
||||
<li> </li>
|
||||
<li> </li>
|
||||
<li> </li>
|
||||
<li>Qui l'achète ?</li>
|
||||
</ul>
|
||||
{{#each cadeaux}}
|
||||
<ul>
|
||||
<li>
|
||||
<figure class="figure">
|
||||
<img src="{{this.photo}}" class="figure-img img-fluid rounded" alt="Pas d'image" ob>
|
||||
<figcaption class="figure-caption text-center">{{this.libelle}}</figcaption>
|
||||
</figure>
|
||||
</li>
|
||||
<li>{{this.prix}} €</li>
|
||||
<li><a href="{{this.lien}}" target="_blank">Voir le produit</a></li>
|
||||
<li>{{#if this.acheteur}}Réservé par {{this.acheteur}}
|
||||
{{else}}<a href="/reserve?id={{this.id}}" class="btn btn-primary">Le réserver</a>{{/if}}
|
||||
</li>
|
||||
<li>{{#if this.responsable}}{{this.responsable}}{{/if}}</li>
|
||||
</ul>
|
||||
{{/each}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user