Initial commit

This commit is contained in:
Crizomb 2025-06-28 12:17:52 +02:00
commit 3bc898dd10
130 changed files with 25918 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{% extends 'base.html.twig' %}
{% block title %}Hello CarteFractalController!{% endblock %}
{% block main %}
<div class="text-center">
{% if 'ROLE_ADMIN' in app.user.roles %}
<h1>Liste des Cartes</h1>
{% else %}
<h1 class="mb-3">Mes Cartes</h1>
{% endif %}
{% for carte in cartesfractal %}
<a href="{{ path('app_carte_fractal_show',{'id': carte.id}) }}" class="btn bg-success text-light">
<img src={{ vich_uploader_asset(carte,'imageFile') }} class="mx-auto p-2 img-fluid" alt="carte" />
<div class="card-body mx-auto p-2">
<h5 class="card-title text-center">{{ carte.description }}</h5>
</div>
</a>
{% endfor %}
</div>
{% endblock %}