{% extends "base.html" %}{% block title %}Demandes de travaux{% endblock %}{% block content %}<div class="container-fluid"><div class="d-flex justify-content-between mb-3"><h1 class="h3">Demandes de travaux</h1><a class="btn btn-primary" href="{{ url_for('works.new') }}">Nouvelle demande</a></div><table class="table table-sm"><thead><tr><th>Demande</th><th>Mode</th><th>Statut</th><th>Date</th></tr></thead><tbody>{% for item in requests %}<tr><td><a href="{{ url_for('works.detail', id=item.id) }}">{{ item.title }}</a></td><td>{{ item.execution_mode }}</td><td>{{ item.status }}</td><td>{{ item.created_at|date_fmt }}</td></tr>{% else %}<tr><td colspan="4">Aucune demande.</td></tr>{% endfor %}</tbody></table></div>{% endblock %}
