This commit is contained in:
KONE SOREL 2026-04-11 14:31:14 +00:00
parent bef69df454
commit 24a24425af
3 changed files with 6 additions and 9 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-user-plus me-2"></i><?= _("Ajouter un nouveau Commercial") ?>
</h6>
@ -8,7 +8,6 @@
<div class="card-body p-4">
<form id="formData" class="container-fluid p-0">
<div class="row g-3">
<div class="col-md-5">
<label class="form-label fw-bold text-muted small required"><?= _("Nom et Prénoms") ?></label>
<div class="input-group shadow-xs">
@ -112,7 +111,6 @@
</script>
<style>
.border-primary { border-color: #212e53 !important; }
.shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.form-control.border-2 { border-width: 2px !important; }
.input-group-text.border-2 { border-width: 2px !important; }

View File

@ -1,16 +1,16 @@
<?php
// Préparation simplifiée du compteur conforme au standard
$nbreTotal = count($commerciaux);
$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-users me-2"></i><?= _("Référentiel des Commerciaux") ?>
</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>
@ -84,5 +84,4 @@
border-bottom: 1px solid #f1f4f6;
}
.shadow-xs { box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.text-primary { color: #212e53 !important; }
</style>

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-user-edit me-2"></i><?= _("Modification des données du commercial") ?>
</h6>