This commit is contained in:
KANE LAZENI 2025-12-20 09:49:27 +00:00
parent f74c2c5502
commit 1f295ff339

View File

@ -215,22 +215,12 @@
<?= format_N($limite_adherent['consommation'])." ".substr($_SESSION['devise_C'],0,1) ?>
</div>
<div class="progress flex-grow-1" style="height: 6px;">
<!--
<div class="progress-bar bg-info border border-info" role="progressbar"
style="width: <?= $pourcentage; ?>%"
aria-valuenow="<?= $pourcentage; ?>"
aria-valuemin="0"
aria-valuemax="100">
</div>
-->
<div class="progress mb-3" >
<div class="progress-bar <?= $niveauGlobalConsoFamille >= 80 ? 'bg-danger' : ($niveauGlobalConsoFamille >= 50 ? 'bg-warning' : 'bg-success') ?>"
style="width: <?= min($niveauGlobalConsoFamille, 100) ?>%">
<?= number_format($niveauGlobalConsoFamille, 1) ?>%
</div>
</div>
</div>
</div>
</div>
@ -258,6 +248,16 @@
</div>
</div>
</div>
<!-- progress-bar -->
<div class="col-xl-3 col-6 mb-4">
<div class="progress mb-3" >
<div class="progress-bar <?= $niveauGlobalConsoFamille >= 80 ? 'bg-danger' : ($niveauGlobalConsoFamille >= 50 ? 'bg-warning' : 'bg-success') ?>"
style="width: <?= min($niveauGlobalConsoFamille, 100) ?>%">
<?= number_format($niveauGlobalConsoFamille, 1) ?>%
</div>
</div>
</div>
</div>
</div>