gmao/app_new/templates/works/index.html
root a65387361f
Some checks are pending
CI - Tests et Syntax / lint-and-test (push) Waiting to run
Ajouter le suivi des demandes de travaux
2026-08-20 22:25:28 +00:00

1 line
735 B
HTML

{% 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 %}