Réalisation finale

This commit is contained in:
Logshiro
2025-10-24 16:13:37 +02:00
parent 6585fef404
commit 7e4cdedf3d
73 changed files with 6154 additions and 14 deletions

View File

@@ -0,0 +1,70 @@
{% extends 'base.html.twig' %}
{% block title %}Contributions IA{% endblock %}
{% block body %}
<div class="d-flex justify-content-between align-items-center mb-4">
<h1>Contributions IA</h1>
<a href="{{ path('app_contrib_ia_new') }}" class="btn btn-success">
<i class="fas fa-plus"></i> Nouvelle Contribution IA
</a>
</div>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Id</th>
<th>Assistant IA</th>
<th>Contribution</th>
<th>Pertinence</th>
<th>Temps</th>
<th>Moyenne</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
{% for contrib_ia in contrib_ias %}
<tr>
<td>{{ contrib_ia.id }}</td>
<td>{{ contrib_ia.assistantIa.nom }}</td>
<td>{{ contrib_ia.contribution }}</td>
<td>
{% if contrib_ia.evaluationPertinence %}
{{ contrib_ia.libellePertinence }}
{% else %}
<span class="text-muted">Non évalué</span>
{% endif %}
</td>
<td>
{% if contrib_ia.evaluationTemps %}
{{ contrib_ia.libelleTemps }}
{% else %}
<span class="text-muted">Non évalué</span>
{% endif %}
</td>
<td>
{% if contrib_ia.moyenneEvaluation %}
{{ contrib_ia.moyenneEvaluation }}/5
{% else %}
<span class="text-muted">Non évalué</span>
{% endif %}
</td>
<td>
<a href="{{ path('app_contrib_ia_show', {'id': contrib_ia.id}) }}" class="btn btn-sm btn-info">
<i class="fas fa-eye"></i> Voir
</a>
<a href="{{ path('app_contrib_ia_edit', {'id': contrib_ia.id}) }}" class="btn btn-sm btn-warning">
<i class="fas fa-edit"></i> Modifier
</a>
</td>
</tr>
{% else %}
<tr>
<td colspan="7" class="text-center">Aucune contribution IA trouvée</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}