From f197db0455b9009fd2c6387c455259be66efb4b0 Mon Sep 17 00:00:00 2001 From: marvin Date: Wed, 20 Nov 2024 16:03:55 +0100 Subject: [PATCH] home --- templates/main/index.html.twig | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/templates/main/index.html.twig b/templates/main/index.html.twig index 7e41c3c..33729f3 100644 --- a/templates/main/index.html.twig +++ b/templates/main/index.html.twig @@ -2,6 +2,7 @@ {% block head %} + Liste des sorties {% block stylesheets %} {{ encore_entry_link_tags('app') }} {% endblock %} @@ -9,24 +10,24 @@ {% endblock %} {% block content %} -
-
+
+

Liste des sorties

+ +
{% for sortie in sorties %} -
-
-
-
{{ sortie.nom }}
-

- Date de début : {{ sortie.dateHeureDebut|date('d/m/Y H:i') }}
- Durée : {{ sortie.duree }} minutes
- Inscriptions max : {{ sortie.nbInscriptionsMax }}
- Infos : {{ sortie.infosSortie }} -

- Voir plus -
+
+

{{ sortie.nom }}

+

+ Date de début : {{ sortie.dateHeureDebut|date('d/m/Y H:i') }}
+ Durée : {{ sortie.duree }} minutes
+ Inscriptions max : {{ sortie.nbInscriptionsMax }}
+ Infos : {{ sortie.infosSortie }} +

+
{% endfor %}
-{% endblock %} \ No newline at end of file +{% endblock %}