This commit is contained in:
KONE SOREL 2026-04-11 14:37:32 +00:00
parent 24a24425af
commit c95aa120c5
3 changed files with 10 additions and 7 deletions

View File

@ -1,6 +1,6 @@
<form id="formData" class="container-fluid p-0">
<div class="card border-0 shadow-sm border-start border-4 border-primary" style="border-radius: var(--radius-md);">
<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">
<i class="fas fa-plus-circle me-2"></i><?= _("Ajouter un nouvel intermédiaire") ?>
</h6>

View File

@ -1,11 +1,16 @@
<?php
$nbreTotal = count($intermediaire);
$nbreAffiche = ($nbreTotal < 10) ? '0'.$nbreTotal : format_N($nbreTotal);
?>
<div class="card border-0 shadow-sm overflow-hidden" style="border-radius: var(--radius-md);">
<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-handshake me-2"></i><?= _("Référentiel des Courtiers & Intermédiaires") ?>
</h6>
<span class="badge bg-primary-ghost text-primary ms-3 px-3 py-2 rounded-pill fw-bold" id="badge-total">
0 <?= _("Lignes") ?>
<?= $nbreAffiche ?> <?= $nbreTotal > "1" ? _("lignes") : _("ligne") ?>
</span>
</div>
<div id="table-buttons" class="d-flex gap-2"></div>
@ -61,9 +66,7 @@
<style>
/* Rappel des piliers visuels Neutral Pro */
#tableLister thead th { padding-top: 15px; padding-bottom: 15px; font-size: 0.75rem; letter-spacing: 0.5px; }
#tableLister tbody td { border-color: #f1f4f6; height: 60px; }
.shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.text-primary { color: #212e53 !important; }
</style>

View File

@ -1,8 +1,8 @@
<form id="formData" class="container-fluid p-0">
<input type="hidden" id="id" name="id" value="<?= $intermediaire['id'] ?>">
<div class="card border-0 shadow-sm border-start border-4 border-primary" style="border-radius: var(--radius-md);">
<div class="card-header bg-white py-3 border-bottom">
<div class="card border-0 shadow-sm border-start border-4 border-warning" style="border-radius: var(--radius-md);">
<div class="card-header bg-light py-3 border-bottom">
<h6 class="mb-0 fw-bold text-uppercase text-warning small">
<i class="fas fa-edit me-2"></i><?= _("Modification des données de l'intermédiaire") ?>
</h6>