{% extends 'layout.html' %} {% from 'macros.html' import common_styles, badge_urgence, badge_etat, badge_panne, action_btns %} {% block title %}Interventions{% endblock %} {% block page_title %}Interventions{% endblock %} {% block styles %} {{ common_styles() }} {% endblock %} {% block content %}
| N° | Date | Équipement | Description | Panne | Urgence | État | Actions |
|---|---|---|---|---|---|---|---|
| {{ i.numero }} | {{ i.date }} | {{ i.designation }} | {{ i.description[:50] }}{% if i.description|length>50 %}…{% endif %} | {{ badge_panne(i.panne) }} | {% if i.degre == 'Trés urgent' %} 🔴 Très urgent {% elif i.degre == 'Urgent' %} 🟡 Urgent {% else %} 🔵 Normal {% endif %} | {% if i.annuler == 'oui' %} ✕ Annulée {% elif i.est_traiter == 'oui' %} ✓ Traitée {% else %} ⏳ En cours {% endif %} |