v0.1.4-pre.011

This commit is contained in:
2026-08-16 15:14:37 +02:00
parent f0f2954236
commit 00361f22f4
15 changed files with 523 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
<!-- file: crates/ksp-app-config-desk/frontend/main.html -->
<!-- version: 5 -->
<!-- version: 6 -->
<!DOCTYPE html>
<html lang="fr">
@@ -204,6 +204,42 @@
<div id="profilesStatus" class="alert alert-primary mb-0" role="status" aria-live="polite">Chargement des profils Config...</div>
</section>
<section id="environmentPanel" hidden aria-label="Environnement Config">
<div class="d-flex flex-wrap gap-2 align-items-center justify-content-between mb-3">
<div>
<h2 class="h5 mb-1">Rapport Environnement / .env</h2>
<p class="text-body-secondary small mb-0">Valeurs desired/effective sûres, provenance externe et shadowing calculés exclusivement par ksp-config-lib.</p>
</div>
<button id="refreshEnvironment" class="btn btn-outline-primary btn-sm" type="button">
<i class="fa-solid fa-rotate me-1" aria-hidden="true"></i>
Rafraîchir
</button>
</div>
<div class="alert alert-light border small" role="note">
Les valeurs Secret restent redacted. Cette tranche est en lecture seule : création, modification et suppression de valeurs `.env` arrivent en pre.012.
</div>
<div class="table-responsive mb-4">
<table id="environmentReportTable" class="table table-striped table-hover align-middle w-100">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Namespace</th>
<th scope="col">Sensibilité</th>
<th scope="col">Desired .env (safe)</th>
<th scope="col">Effective (safe)</th>
<th scope="col">Source</th>
<th scope="col">Shadowed</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div id="environmentStatus" class="alert alert-primary mb-0" role="status" aria-live="polite">Chargement du rapport environnement...</div>
</section>
<section id="placeholderPanel" hidden aria-live="polite">
<div class="alert alert-secondary mb-4" role="status">
Cette route du shell est prête ; son contenu fonctionnel sera ajouté dans la prerelease prévue par le plan 0.1.4.