a
This commit is contained in:
parent
1210e8c3c4
commit
f74c2c5502
|
|
@ -215,12 +215,22 @@
|
|||
<?= 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>
|
||||
|
|
@ -248,41 +258,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Plafond annuel -->
|
||||
<div class="col-xl-3 col-6 mb-4">
|
||||
<div class="card shadow h-100 border border-primary">
|
||||
<div class="card-body p-3">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="flex-grow-1">
|
||||
<div class="h4 text-primary text-uppercase mb-1" >
|
||||
<?= _("Evolution") ?>
|
||||
</div>
|
||||
<div class="h4 mb-0" style="font-weight:bold">
|
||||
<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 class="ml-2">
|
||||
<i class="fas fa-minus-circle fa-2x text-primary"></i>
|
||||
</div>
|
||||
</div>
|
||||
</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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user