60 lines
2.1 KiB
Twig
60 lines
2.1 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block head %}
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
</head>
|
|
{% endblock %}
|
|
|
|
{% block stylesheets %}
|
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/edit.css') }}"> <!-- Ajout du fichier CSS -->
|
|
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
{% endblock %}
|
|
|
|
{% block container_modal %}
|
|
|
|
<div id="container_modal">
|
|
<h1>Tendance</h1>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Id</th>
|
|
<th>Nom</th>
|
|
<th>Description</th>
|
|
<th>Prix</th>
|
|
<th>Categorie</th>
|
|
<th>Statut</th>
|
|
<th>Nb_de_commande</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% if plat %}
|
|
<tr>
|
|
<td>{{ plat.id }}</td>
|
|
<td>{{ plat.Nom }}</td>
|
|
<td>{{ plat.Description }}</td>
|
|
<td>{{ plat.Prix }}</td>
|
|
<td>{{ plat.Categorie }}</td>
|
|
<td>{{ plat.Statut ? 'Yes' : 'No' }}</td>
|
|
<td>{{ plat.NbDeCommande }}</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="8">Aucun enregistrement trouvé</td>
|
|
</tr>
|
|
{% endif %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|