554 lines
14 KiB
HTML
554 lines
14 KiB
HTML
<!-- FICHIER GENERE — ne pas editer a la main.
|
|
Source : DOCS/kanban/ (un chantier = un fichier .md)
|
|
Regenerer : python3 DOCS/tools/build_kanban.py -->
|
|
<title>MyInfoMate — Tableau de chantiers</title>
|
|
|
|
<style>
|
|
:root {
|
|
--ground: #F4F6F8;
|
|
--surface: #FFFFFF;
|
|
--surface-2: #EBEEF2;
|
|
--ink: #14202B;
|
|
--ink-2: #4A5A6B;
|
|
--ink-3: #7C8B9A;
|
|
--line: #D6DDE5;
|
|
--line-soft: #E4EAF0;
|
|
--brand: #264863;
|
|
--brand-soft: #C2C9D6;
|
|
--critical: #A8322A;
|
|
--warn: #9A6608;
|
|
--good: #1F6B4D;
|
|
--info: #2B5F86;
|
|
--gate: #6B3F8C;
|
|
--shadow: 0 1px 2px rgba(20, 32, 43, .06), 0 4px 12px rgba(20, 32, 43, .04);
|
|
|
|
--sans: ui-sans-serif, -apple-system, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
|
|
--mono: ui-monospace, "Cascadia Mono", "SF Mono", "Consolas", "Liberation Mono", monospace;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--ground: #0F161D;
|
|
--surface: #18222C;
|
|
--surface-2: #212D39;
|
|
--ink: #E6ECF2;
|
|
--ink-2: #A3B2C0;
|
|
--ink-3: #74879A;
|
|
--line: #2C3A48;
|
|
--line-soft: #243140;
|
|
--brand: #7FA8C9;
|
|
--brand-soft: #35506B;
|
|
--critical: #E08078;
|
|
--warn: #D6A343;
|
|
--good: #6FBF97;
|
|
--info: #7CB2DA;
|
|
--gate: #B48BD6;
|
|
--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .22);
|
|
}
|
|
}
|
|
|
|
:root[data-theme="dark"] {
|
|
--ground: #0F161D;
|
|
--surface: #18222C;
|
|
--surface-2: #212D39;
|
|
--ink: #E6ECF2;
|
|
--ink-2: #A3B2C0;
|
|
--ink-3: #74879A;
|
|
--line: #2C3A48;
|
|
--line-soft: #243140;
|
|
--brand: #7FA8C9;
|
|
--brand-soft: #35506B;
|
|
--critical: #E08078;
|
|
--warn: #D6A343;
|
|
--good: #6FBF97;
|
|
--info: #7CB2DA;
|
|
--gate: #B48BD6;
|
|
--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .22);
|
|
}
|
|
|
|
:root[data-theme="light"] {
|
|
--ground: #F4F6F8;
|
|
--surface: #FFFFFF;
|
|
--surface-2: #EBEEF2;
|
|
--ink: #14202B;
|
|
--ink-2: #4A5A6B;
|
|
--ink-3: #7C8B9A;
|
|
--line: #D6DDE5;
|
|
--line-soft: #E4EAF0;
|
|
--brand: #264863;
|
|
--brand-soft: #C2C9D6;
|
|
--critical: #A8322A;
|
|
--warn: #9A6608;
|
|
--good: #1F6B4D;
|
|
--info: #2B5F86;
|
|
--shadow: 0 1px 2px rgba(20, 32, 43, .06), 0 4px 12px rgba(20, 32, 43, .04);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--ground);
|
|
color: var(--ink);
|
|
font-family: var(--sans);
|
|
font-size: 15px;
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.wrap {
|
|
max-width: 1500px;
|
|
margin: 0 auto;
|
|
padding: 40px 28px 72px;
|
|
}
|
|
|
|
/* ---------- header ---------- */
|
|
|
|
.masthead {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding-bottom: 22px;
|
|
border-bottom: 2px solid var(--brand);
|
|
}
|
|
|
|
.masthead h1 {
|
|
margin: 0;
|
|
font-size: clamp(26px, 3.4vw, 38px);
|
|
font-weight: 700;
|
|
letter-spacing: -0.022em;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.masthead p {
|
|
margin: 8px 0 0;
|
|
color: var(--ink-2);
|
|
max-width: 62ch;
|
|
}
|
|
|
|
.stamp {
|
|
font-family: var(--mono);
|
|
font-size: 11.5px;
|
|
letter-spacing: .06em;
|
|
text-transform: uppercase;
|
|
color: var(--ink-3);
|
|
text-align: right;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
/* ---------- summary ---------- */
|
|
|
|
.summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 1px;
|
|
background: var(--line);
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
margin: 26px 0 0;
|
|
}
|
|
|
|
.stat {
|
|
background: var(--surface);
|
|
padding: 14px 16px 15px;
|
|
}
|
|
|
|
.stat .n {
|
|
font-family: var(--mono);
|
|
font-size: 27px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: -0.02em;
|
|
display: block;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.stat .k {
|
|
display: block;
|
|
margin-top: 5px;
|
|
font-size: 11.5px;
|
|
letter-spacing: .07em;
|
|
text-transform: uppercase;
|
|
color: var(--ink-3);
|
|
}
|
|
|
|
.n-critical { color: var(--critical); }
|
|
.n-warn { color: var(--warn); }
|
|
.n-good { color: var(--good); }
|
|
.n-info { color: var(--info); }
|
|
.n-gate { color: var(--gate); }
|
|
|
|
/* ---------- filters ---------- */
|
|
|
|
.filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 26px 0 20px;
|
|
}
|
|
|
|
.filters .lead {
|
|
font-family: var(--mono);
|
|
font-size: 11.5px;
|
|
letter-spacing: .07em;
|
|
text-transform: uppercase;
|
|
color: var(--ink-3);
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.chip-btn {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
color: var(--ink-2);
|
|
background: var(--surface);
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
padding: 5px 13px;
|
|
cursor: pointer;
|
|
transition: background .13s ease, color .13s ease, border-color .13s ease;
|
|
}
|
|
|
|
.chip-btn:hover { border-color: var(--brand); color: var(--ink); }
|
|
|
|
.chip-btn:focus-visible {
|
|
outline: 2px solid var(--brand);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.chip-btn[aria-pressed="true"] {
|
|
background: var(--brand);
|
|
border-color: var(--brand);
|
|
color: var(--surface);
|
|
}
|
|
|
|
:root[data-theme="dark"] .chip-btn[aria-pressed="true"],
|
|
.chip-btn[aria-pressed="true"] { color: #fff; }
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.chip-btn[aria-pressed="true"] { color: #0F161D; }
|
|
}
|
|
:root[data-theme="dark"] .chip-btn[aria-pressed="true"] { color: #0F161D; }
|
|
:root[data-theme="light"] .chip-btn[aria-pressed="true"] { color: #fff; }
|
|
|
|
/* ---------- board ---------- */
|
|
|
|
.board {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: minmax(288px, 1fr);
|
|
gap: 18px;
|
|
overflow-x: auto;
|
|
padding-bottom: 12px;
|
|
align-items: start;
|
|
}
|
|
|
|
.col { min-width: 0; }
|
|
|
|
.col-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 0 2px 10px;
|
|
border-bottom: 2px solid var(--stripe, var(--line));
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.col-head h2 {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: .08em;
|
|
text-transform: uppercase;
|
|
color: var(--stripe, var(--ink));
|
|
}
|
|
|
|
.col-head .count {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
font-variant-numeric: tabular-nums;
|
|
color: var(--ink-3);
|
|
}
|
|
|
|
.stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--line-soft);
|
|
border-left: 3px solid var(--stripe, var(--line));
|
|
border-radius: 5px;
|
|
padding: 12px 14px 13px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.card h3 {
|
|
margin: 0 0 5px;
|
|
font-size: 14.5px;
|
|
font-weight: 650;
|
|
line-height: 1.35;
|
|
letter-spacing: -0.008em;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.card p {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.card-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.tag {
|
|
font-family: var(--mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: .04em;
|
|
color: var(--ink-3);
|
|
background: var(--surface-2);
|
|
border-radius: 3px;
|
|
padding: 2px 6px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.flag {
|
|
font-family: var(--mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: .05em;
|
|
text-transform: uppercase;
|
|
border-radius: 3px;
|
|
padding: 2px 6px;
|
|
white-space: nowrap;
|
|
border: 1px solid currentColor;
|
|
}
|
|
|
|
.f-critical { color: var(--critical); }
|
|
.f-warn { color: var(--warn); }
|
|
.f-good { color: var(--good); }
|
|
|
|
.src {
|
|
display: block;
|
|
margin-top: 9px;
|
|
font-family: var(--mono);
|
|
font-size: 11px;
|
|
color: var(--ink-3);
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* ---------- done ---------- */
|
|
|
|
.done {
|
|
margin-top: 46px;
|
|
padding-top: 26px;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.done h2 {
|
|
margin: 0 0 4px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: .08em;
|
|
text-transform: uppercase;
|
|
color: var(--good);
|
|
}
|
|
|
|
.done > p {
|
|
margin: 0 0 18px;
|
|
color: var(--ink-3);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.done-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.done-item {
|
|
background: var(--surface);
|
|
border: 1px solid var(--line-soft);
|
|
border-left: 3px solid var(--good);
|
|
border-radius: 5px;
|
|
padding: 11px 13px;
|
|
}
|
|
|
|
.done-item strong {
|
|
display: block;
|
|
font-size: 13.5px;
|
|
font-weight: 650;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.done-item span {
|
|
font-size: 12.5px;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
/* ---------- footer ---------- */
|
|
|
|
.foot {
|
|
margin-top: 44px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid var(--line);
|
|
font-size: 13px;
|
|
color: var(--ink-3);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 22px;
|
|
}
|
|
|
|
.foot code {
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.hidden { display: none !important; }
|
|
|
|
.filters-horizon { margin-top: -8px; }
|
|
|
|
.stat-muted .n { color: var(--ink-3); }
|
|
|
|
.empty-msg {
|
|
margin: 0 0 20px;
|
|
padding: 18px 20px;
|
|
background: var(--surface);
|
|
border: 1px dashed var(--line);
|
|
border-radius: 6px;
|
|
color: var(--ink-3);
|
|
font-size: 13.5px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
* { transition: none !important; }
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.wrap { padding: 28px 16px 56px; }
|
|
.stamp { text-align: left; }
|
|
}
|
|
</style>
|
|
|
|
<div class="wrap">
|
|
|
|
<header class="masthead">
|
|
<div>
|
|
<h1>MyInfoMate — tableau de chantiers</h1>
|
|
{{INTRO}}
|
|
<div class="stamp">
|
|
{{STAMP}}
|
|
</div>
|
|
</header>
|
|
|
|
{{SUMMARY}}
|
|
|
|
<div class="filters" role="group" aria-label="Filtrer par domaine">
|
|
<span class="lead">Domaine</span>
|
|
<button class="chip-btn" type="button" data-filter="all" aria-pressed="true">Tout</button>
|
|
<button class="chip-btn" type="button" data-filter="backend" aria-pressed="false">manager-service</button>
|
|
<button class="chip-btn" type="button" data-filter="manager" aria-pressed="false">manager-app</button>
|
|
<button class="chip-btn" type="button" data-filter="visitapp" aria-pressed="false">visitapp</button>
|
|
<button class="chip-btn" type="button" data-filter="infra" aria-pressed="false">infra & ops</button>
|
|
<button class="chip-btn" type="button" data-filter="doc" aria-pressed="false">doc & commercial</button>
|
|
</div>
|
|
|
|
<div class="filters filters-horizon" role="group" aria-label="Filtrer par horizon">
|
|
<span class="lead">Horizon</span>
|
|
<button class="chip-btn" type="button" data-horizon-filter="all" aria-pressed="true">Tout</button>
|
|
<button class="chip-btn" type="button" data-horizon-filter="v1" aria-pressed="false">V1 — reste à faire</button>
|
|
<button class="chip-btn" type="button" data-horizon-filter="v2" aria-pressed="false">V2 — reporté</button>
|
|
</div>
|
|
|
|
<p class="empty-msg hidden" role="status">Aucun chantier ne correspond à ces deux filtres.</p>
|
|
|
|
{{BOARD}}
|
|
|
|
{{DONE}}
|
|
|
|
|
|
<footer class="foot">
|
|
<span>Source de vérité : <code>DOCS/STATUS.md §1ter</code> · chantier Guide IA : <code>§1quater</code></span>
|
|
<span>Maquettes : <a href="https://claude.ai/code/artifact/c43fe02d-3283-48c2-992f-d687e18acdfa">Guide IA</a> · <a href="https://claude.ai/code/artifact/052fe8f3-0288-4847-b63f-4c7de06068ec">Statistiques</a></span>
|
|
<span>Règle de découpage : ce qui touche aux données écrites part avec la migration, ce qui est additif attend.</span>
|
|
<span>Rien ne part en prod avant que ce tableau soit vide.</span>
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
(function () {
|
|
var areaButtons = Array.prototype.slice.call(document.querySelectorAll('[data-filter]'));
|
|
var horizonButtons = Array.prototype.slice.call(document.querySelectorAll('[data-horizon-filter]'));
|
|
var cards = Array.prototype.slice.call(document.querySelectorAll('.card'));
|
|
var cols = Array.prototype.slice.call(document.querySelectorAll('.col'));
|
|
var stats = Array.prototype.slice.call(document.querySelectorAll('.stat'));
|
|
var done = document.querySelector('.done');
|
|
var emptyMsg = document.querySelector('.empty-msg');
|
|
|
|
var area = 'all';
|
|
var horizon = 'all';
|
|
|
|
function apply() {
|
|
cards.forEach(function (card) {
|
|
var areas = (card.getAttribute('data-area') || '').split(/\s+/);
|
|
var cardHorizon = card.getAttribute('data-horizon') || 'v1';
|
|
var matchesArea = area === 'all' || areas.indexOf(area) !== -1;
|
|
var matchesHorizon = horizon === 'all' || cardHorizon === horizon;
|
|
card.classList.toggle('hidden', !(matchesArea && matchesHorizon));
|
|
});
|
|
|
|
var total = 0;
|
|
|
|
cols.forEach(function (col, i) {
|
|
var visible = col.querySelectorAll('.card:not(.hidden)').length;
|
|
total += visible;
|
|
|
|
var count = col.querySelector('.count');
|
|
if (count) { count.textContent = visible; }
|
|
col.classList.toggle('hidden', visible === 0);
|
|
|
|
var stat = stats[i];
|
|
if (stat) {
|
|
var n = stat.querySelector('.n');
|
|
if (n) { n.textContent = visible; }
|
|
stat.classList.toggle('stat-muted', visible === 0);
|
|
}
|
|
});
|
|
|
|
// « Fait récemment » n'a pas d'horizon : c'est du passé, pas du reste-à-faire.
|
|
if (done) { done.classList.toggle('hidden', horizon !== 'all'); }
|
|
if (stats[6]) { stats[6].classList.toggle('hidden', horizon !== 'all'); }
|
|
if (emptyMsg) { emptyMsg.classList.toggle('hidden', total !== 0); }
|
|
}
|
|
|
|
function bind(buttons, set) {
|
|
buttons.forEach(function (btn) {
|
|
btn.addEventListener('click', function () {
|
|
buttons.forEach(function (b) { b.setAttribute('aria-pressed', String(b === btn)); });
|
|
set(btn);
|
|
apply();
|
|
});
|
|
});
|
|
}
|
|
|
|
bind(areaButtons, function (btn) { area = btn.getAttribute('data-filter'); });
|
|
bind(horizonButtons, function (btn) { horizon = btn.getAttribute('data-horizon-filter'); });
|
|
|
|
apply();
|
|
})();
|
|
</script>
|
|
|