Page Projets : copie URL dans le menu ⋯ + refonte thème barre Fusion/Spark (#44, #45)
CI / test (push) Failing after 3s

This commit is contained in:
2026-10-29 08:20:59 -04:00
parent 0faabf0078
commit 9757f3717a
+8 -8
View File
@@ -13,7 +13,7 @@
<main class="focus-main"> <main class="focus-main">
{% if project_names %} {% if project_names %}
<div class="health-switch-bar"> <div class="health-switch-bar">
<label for="health-switch">🩺 Projet :</label> <label for="health-switch">Projet :</label>
<select id="health-switch"> <select id="health-switch">
{% for name in project_names %} {% for name in project_names %}
<option value="{{ name }}"{% if name == full_name %} selected{% endif %}>{{ name }}</option> <option value="{{ name }}"{% if name == full_name %} selected{% endif %}>{{ name }}</option>
@@ -31,14 +31,14 @@
{% else %} {% else %}
<section class="briefing-card"> <section class="briefing-card">
<h1>{{ full_name }}</h1> <h1>{{ full_name }}</h1>
<h2>⏱️ Temps passé par colonne (journal)</h2> <h2>Temps passé par colonne (journal)</h2>
{% if health.dwell %} {% if health.dwell %}
<table class="health-table"> <table class="health-table">
<thead><tr><th>Colonne</th><th>Séjours mesurés</th><th>Médiane</th><th>Moyenne</th></tr></thead> <thead><tr><th>Colonne</th><th>Séjours mesurés</th><th>Médiane</th><th>Moyenne</th></tr></thead>
<tbody> <tbody>
{% for row in health.dwell %} {% for row in health.dwell %}
<tr{% if health.slowest and row.column == health.slowest.column %} class="health-slowest"{% endif %}> <tr{% if health.slowest and row.column == health.slowest.column %} class="health-slowest"{% endif %}>
<td>{{ health.column_labels[row.column] }}{% if health.slowest and row.column == health.slowest.column %} 🐌{% endif %}</td> <td>{{ health.column_labels[row.column] }}{% if health.slowest and row.column == health.slowest.column %}{% endif %}</td>
<td>{{ row.count }}</td> <td>{{ row.count }}</td>
<td>{{ row.median_days }} j</td> <td>{{ row.median_days }} j</td>
<td>{{ row.avg_days }} j</td> <td>{{ row.avg_days }} j</td>
@@ -47,7 +47,7 @@
</tbody> </tbody>
</table> </table>
{% if health.slowest %} {% if health.slowest %}
<p>🐌 <strong>Goulot : {{ health.column_labels[health.slowest.column] }}</strong> — c'est là que les cartes dorment le plus longtemps (médiane {{ health.slowest.median_days }} j).</p> <p><strong>Goulot : {{ health.column_labels[health.slowest.column] }}</strong> — c'est là que les cartes dorment le plus longtemps (médiane {{ health.slowest.median_days }} j).</p>
{% endif %} {% endif %}
{% else %} {% else %}
<p>Pas encore de séjours mesurables dans le journal de ce projet — il faut des déplacements journalisés pour calculer les temps de colonne.</p> <p>Pas encore de séjours mesurables dans le journal de ce projet — il faut des déplacements journalisés pour calculer les temps de colonne.</p>
@@ -55,16 +55,16 @@
</section> </section>
<section class="briefing-card"> <section class="briefing-card">
<h2>🧟 Cartes zombies — aucune activité depuis ≥ {{ health.zombie_days }} jours</h2> <h2>Cartes zombies — aucune activité depuis ≥ {{ health.zombie_days }} jours</h2>
{% if health.zombies %} {% if health.zombies %}
<ul class="today-list"> <ul class="today-list">
{% for z in health.zombies %} {% for z in health.zombies %}
<li> <li>
<span>#{{ z.number }} — {{ z.title }} <em>({{ z.column_label }} · inactive depuis {{ z.days_inactive }} j)</em></span> <span>#{{ z.number }} — {{ z.title }} <em>({{ z.column_label }} · inactive depuis {{ z.days_inactive }} j)</em></span>
<span class="zombie-actions"> <span class="zombie-actions">
<button type="button" class="btn-sm" data-zombie="comment" data-repo="{{ full_name }}" data-number="{{ z.number }}" data-column="{{ z.column }}">💬 Toujours pertinent ?</button> <button type="button" class="btn-sm" data-zombie="comment" data-repo="{{ full_name }}" data-number="{{ z.number }}" data-column="{{ z.column }}">Toujours pertinent ?</button>
<button type="button" class="btn-sm" data-zombie="backlog" data-repo="{{ full_name }}" data-number="{{ z.number }}" data-column="{{ z.column }}">↩️ Backlog</button> <button type="button" class="btn-sm" data-zombie="backlog" data-repo="{{ full_name }}" data-number="{{ z.number }}" data-column="{{ z.column }}">Backlog</button>
<button type="button" class="btn-sm" data-zombie="close" data-repo="{{ full_name }}" data-number="{{ z.number }}" data-column="{{ z.column }}">✅ Fermer</button> <button type="button" class="btn-sm" data-zombie="close" data-repo="{{ full_name }}" data-number="{{ z.number }}" data-column="{{ z.column }}">Fermer</button>
</span> </span>
</li> </li>
{% endfor %} {% endfor %}