This commit is contained in:
KONE SOREL 2026-04-11 15:24:18 +00:00
parent 4e1d397457
commit d876a792a3
3 changed files with 6 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<div class="card border-0 shadow-sm border-start border-4 border-primary">
<div class="card-header bg-white py-3 border-bottom">
<div class="card-header bg-light py-3 border-bottom">
<h6 class="mb-0 fw-bold text-uppercase text-primary small" id="titre_formData">
<i class="fas fa-hand-holding-medical me-2"></i><?= _("Ajouter une nouvelle affection") ?>
</h6>
@ -64,7 +64,6 @@
<style>
/* Identité Visuelle Neutral Pro */
.border-primary { border-color: #212e53 !important; }
.shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.form-control.border-2, .input-group-text.border-2 { border-width: 2px !important; }
.majuscule { text-transform: uppercase; }

View File

@ -1,16 +1,16 @@
<?php
// Préparation simplifiée du compteur conforme au standard Neutral Pro
$nbreTotal = count($affection);
$nbreAffiche = ($nbreTotal < 10) ? '0'.$nbreTotal : format_N($nbreTotal);
?>
<div class="card border-0 shadow-sm overflow-hidden">
<div class="card-header bg-white py-3 border-bottom d-flex justify-content-between align-items-center">
<div class="card-header bg-light py-3 border-bottom d-flex justify-content-between align-items-center">
<div class="d-flex align-items-center">
<h6 class="mb-0 fw-bold text-uppercase text-primary small">
<i class="fas fa-hand-holding-medical me-2"></i><?= _("Référentiel des Affections") ?>
</h6>
<span class="badge bg-primary-ghost text-primary ms-3 px-3 py-2 rounded-pill fw-bold" id="badge-total">
<?= $nbreTotal ?> <?= _("Lignes") ?>
<?= $nbreAffiche ?> <?= $nbreTotal > "1" ? _("lignes") : _("ligne") ?>
</span>
</div>
<div id="table-buttons" class="d-flex gap-2"></div>

View File

@ -1,5 +1,5 @@
<div class="card border-0 shadow-sm border-start border-4 border-primary">
<div class="card-header bg-white py-3 border-bottom">
<div class="card border-0 shadow-sm border-start border-4 border-warning">
<div class="card-header bg-light py-3 border-bottom">
<h6 class="mb-0 fw-bold text-uppercase text-warning small" id="titre_formData">
<i class="fas fa-edit me-2"></i><?= _("Modification des données de l'affection") ?>
</h6>