This commit is contained in:
2025-07-23 22:35:07 +02:00
parent f93b9b13fb
commit 686b614cd6
6 changed files with 326 additions and 98 deletions

View File

@ -6,31 +6,31 @@
<h1>{{title}}</h1>
<a href="{{ path(routesubmit) }}" class="btn btn-success">Ajouter</a>
<div class="dataTable_wrapper">
<table class="table table-striped table-bordered table-hover" id="dataTables" style="width:100%">
<thead>
<div class="dataTable_wrapper">
<table class="table table-striped table-bordered table-hover" id="dataTables" style="width:100%">
<thead>
<tr>
<th width="100px" class="no-sort">Action</th>
<th width="70px">Logo</th>
<th width="70px">Modifier</th>
<th>Nom</th>
</tr>
</thead>
<tbody>
{% for project in projects %}
<tr>
<th width="100px" class="no-sort">Action</th>
<th width="70px">Logo</th>
<th width="70px">Modifier</th>
<th>Nom</th>
<td>
<a href="{{ path(routeupdate,{id:project.id}) }}" class="me-2"><i class="fas fa-file fa-2x"></i></a>
<a href="{{ path('app_admin_project_reclone',{id:project.id}) }}" onclick="return confirm('Es-tu sûr de vouloir reinitialiser et reindexer le projet ?');"><i class="fas fa-rotate-right fa-2x"></i></a>
</td>
<td><img class="avatar" src="{{ asset(project.logo)}}"></td>
<td>{{project.title}}</td>
<td>{{project.redmine.updated_on}}</td>
</tr>
</thead>
<tbody>
{% for project in projects %}
<tr>
<td>
<a href="{{ path(routeupdate,{id:project.id}) }}" class="me-2"><i class="fas fa-file fa-2x"></i></a>
<a href="{{ path('app_admin_project_reclone',{id:project.id}) }}" onclick="return confirm('Es-tu sûr de vouloir reinitialiser et reindexer le projet ?');"><i class="fas fa-rotate-right fa-2x"></i></a>
</td>
<td><img class="avatar" src="{{ asset(project.logo)}}"></td>
<td>{{project.title}}</td>
<td>{{project.redmine.updated_on}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}
{% block localscript %}