diff --git a/templates/dashboard/administrateur.twig b/templates/dashboard/administrateur.twig index 24733d2..ef72272 100644 --- a/templates/dashboard/administrateur.twig +++ b/templates/dashboard/administrateur.twig @@ -21,7 +21,7 @@

Liste des Administrateurs

-

Gestion des accès et des niveaux d'accréditation système.

+

Gestion des accès et des niveaux d'accréditation système.

@@ -33,8 +33,8 @@ {# TABLE CARD #}
- - +
+ @@ -48,7 +48,7 @@ {# COLONNE 1 : IDENTITÉ #} diff --git a/templates/dashboard/audit_logs.twig b/templates/dashboard/audit_logs.twig index 2baec65..1ebd637 100644 --- a/templates/dashboard/audit_logs.twig +++ b/templates/dashboard/audit_logs.twig @@ -26,7 +26,7 @@ {# 1. SELECT COMPTE #}
- +
-
+
@@ -73,7 +73,7 @@

Historique d'activité

-

Sécurisé par signature cryptographique SHA-256

+

Sécurisé par signature cryptographique SHA-256

@@ -86,13 +86,13 @@
Identité de l'Administrateur Rôles & Habilitations
-
+
{{ admin.firstName|first|upper }}{{ admin.name|first|upper }}
@@ -68,7 +68,7 @@ {% elseif role == 'ROLE_CLIENT_MAIN' %} CLIENT PRINCIPAL {% elseif role == 'ROLE_ADMIN' %} - ADMIN + ADMIN {% else %} {{ role|replace({'ROLE_ADMIN_': ''}) }} diff --git a/templates/dashboard/administrateur/add.twig b/templates/dashboard/administrateur/add.twig index 1f72665..53f30f5 100644 --- a/templates/dashboard/administrateur/add.twig +++ b/templates/dashboard/administrateur/add.twig @@ -4,7 +4,7 @@ {% block actions %} {# Bouton de retour vers la liste #} - + @@ -38,7 +38,7 @@ {# Bloc IDENTIFIANT - Correction couleur Label dark:text-gray-200 #}
{{ form_label(form.username, 'Identifiant (Username)', { - 'label_attr': {'class': 'block text-sm font-semibold text-gray-700 dark:text-gray-200'} + 'label_attr': {'class': 'block text-sm font-semibold text-gray-200 dark:text-gray-200'} }) }} {{ form_widget(form.username, { 'attr': { @@ -52,7 +52,7 @@ {# Bloc EMAIL #}
@@ -64,7 +64,7 @@
+ class="px-6 py-3 bg-slate-100 dark:bg-slate-800 hover:bg-red-600text-slate-300 dark:text-slate-400 hover:text-white text-[10px] font-black uppercase tracking-widest transition-all active:scale-95 border-l border-slate-200 dark:border-white/5"> Désactiver
@@ -158,7 +158,7 @@

Authentification 2FA

-

+

{% if admin.googleAuthenticatorSecret %} ● Activée — Accès hautement sécurisé {% else %} @@ -253,7 +253,7 @@

Administrateur Client Principal -

Contrôle total de l'organisation

+

Contrôle total de l'organisation

@@ -269,7 +269,7 @@

Journal d'Audit Personnel

-

Historique des actions et vérification d'intégrité numérique

+

Historique des actions et vérification d'intégrité numérique

{{ auditLogs.getTotalItemCount }} ÉVÈNEMENTS @@ -305,12 +305,12 @@ 'SECURITY_CRITICAL': { 'label': 'CRITIQUE', 'style': 'bg-red-600 text-white border-red-700 animate-pulse font-black' }, '2FA_INVITE': { 'label': 'INVITATION 2FA', 'style': 'bg-indigo-500/10 text-indigo-500 border-indigo-500/20' }, '2FA_DISABLED': { 'label': '2FA DÉSACTIVÉE', 'style': 'bg-rose-500/10 text-rose-600 border-rose-500/20 font-bold' }, - 'UPDATE_STATUS': { 'label': 'STATUT COMPTE', 'style': 'bg-slate-500/10 text-slate-500 border-slate-500/20' }, + 'UPDATE_STATUS': { 'label': 'STATUT COMPTE', 'style': 'bg-slate-500/10 text-slate-300 border-slate-500/20' }, 'UPDATE_ROLES': { 'label': 'DROITS ACCÈS', 'style': 'bg-purple-500/10 text-purple-600 border-purple-500/20' } } %} {# On récupère la configuration ou on utilise une valeur par défaut #} - {% set config = typeMapping[log.type] ?? { 'label': log.type|replace({'_': ' '}), 'style': 'bg-slate-500/10 text-slate-500 border-slate-500/20' } %} + {% set config = typeMapping[log.type] ?? { 'label': log.type|replace({'_': ' '}), 'style': 'bg-slate-500/10 text-slate-300 border-slate-500/20' } %} {{ config.label }} @@ -372,7 +372,7 @@
{{ login.loginAt|date('d/m/Y H:i') }} - + {{ login.ip }}
- - - - - + + + + + {% if is_granted('ROLE_ROOT') %} - + {% endif %} @@ -102,7 +102,7 @@ {# 1. DATE #} {# 2. ADMIN & UA #} @@ -118,7 +118,7 @@ Root {% endif %} -
{{ log.userAgent|default('Agent inconnu') }}
+
{{ log.userAgent|default('Agent inconnu') }}
@@ -137,7 +137,7 @@ '2FA_INVITE': { 'label': '2FA INVITE', 'style': 'bg-indigo-500/10 text-indigo-400 border-indigo-500/20' }, '2FA_DISABLED': { 'label': '2FA OFF', 'style': 'bg-rose-500/10 text-rose-500 border-rose-500/20 font-bold' } } %} - {% set config = typeMapping[log.type] ?? { 'label': log.type, 'style': 'bg-slate-500/10 text-slate-500 border-white/10' } %} + {% set config = typeMapping[log.type] ?? { 'label': log.type, 'style': 'bg-slate-500/10 text-slate-300 border-white/10' } %} {{ config.label }} @@ -169,7 +169,7 @@ {% else %} - @@ -190,7 +190,7 @@ {# PAGINATION #}
-
+
Page {{ logs.getCurrentPageNumber }} sur {{ (logs.getTotalItemCount / 25)|round(0, 'ceil') }}
HorodatageAgent & SessionActionIntégritéDétailsHorodatageAgent & SessionActionIntégritéDétailsAdminAdmin
{{ log.actionAt|date('d/m/Y') }}
-
{{ log.actionAt|date('H:i:s') }}
+
{{ log.actionAt|date('H:i:s') }}
-
@@ -178,7 +178,7 @@
+ Aucun enregistrement trouvé dans le journal d'audit.
- - - - + + + + @@ -45,7 +45,7 @@

Sauvegarde

-

Réalisé le {{ backup.createdAt|date('d/m/Y') }} à {{ backup.createdAt|date('H:i') }}

+

Réalisé le {{ backup.createdAt|date('d/m/Y') }} à {{ backup.createdAt|date('H:i') }}

diff --git a/templates/dashboard/base.twig b/templates/dashboard/base.twig index 96e7403..09608a2 100644 --- a/templates/dashboard/base.twig +++ b/templates/dashboard/base.twig @@ -28,7 +28,7 @@
Identité de la SauvegardeÉtatTailleActionsIdentité de la SauvegardeÉtatTailleActions
- - - - + + + + @@ -146,7 +146,7 @@ @@ -155,7 +155,7 @@ {{ confirmedPaiement.contrat.customer.name }} {{ confirmedPaiement.contrat.customer.surname }} - {{ confirmedPaiement.contrat.customer.email }} + {{ confirmedPaiement.contrat.customer.email }} diff --git a/templates/dashboard/contrats/list.twig b/templates/dashboard/contrats/list.twig index 0f14cae..d952b80 100644 --- a/templates/dashboard/contrats/list.twig +++ b/templates/dashboard/contrats/list.twig @@ -79,7 +79,7 @@ {# 3. LIEU #}
- Destination + Destination

{{ contrat.townEvent }}

{{ contrat.zipCodeEvent }}

diff --git a/templates/dashboard/contrats/view.twig b/templates/dashboard/contrats/view.twig index c5e874a..1b95c15 100644 --- a/templates/dashboard/contrats/view.twig +++ b/templates/dashboard/contrats/view.twig @@ -43,7 +43,7 @@ {# --- 1. BANDEAU DE STATUT RAPIDE --- #}
- État Juridique + État Juridique {% if contrat.signed %} SIGNÉ {% else %} @@ -51,13 +51,13 @@ {% endif %}
- Reste à percevoir + Reste à percevoir {{ soldeOk ? 'CONTRAT SOLDÉ' : (solde|number_format(2, ',', ' ') ~ ' €') }}
- Référence + Référence #{{ contrat.numReservation }}
@@ -104,7 +104,7 @@
- Adresse de livraison + Adresse de livraison

{{ contrat.addressEvent }}

{{ contrat.zipCodeEvent }} {{ contrat.townEvent }}

@@ -231,11 +231,11 @@

{{ product.name }}

-

Caution : {{ product.caution }}€

+

Caution : {{ product.caution }}€

{{ product.price1DayHt }}€ - HT / Jour + HT / Jour
@@ -273,10 +273,10 @@
DateClientMontant TTCStatutDateClientMontant TTCStatut
{{ confirmedPaiement.paymentAt|date('d/m/Y') }} - Encaissé + Encaissé
- - - - + + + + diff --git a/templates/dashboard/customer.twig b/templates/dashboard/customer.twig index 7e3aea6..00122ad 100644 --- a/templates/dashboard/customer.twig +++ b/templates/dashboard/customer.twig @@ -21,7 +21,7 @@

Liste des clients

-

Base de données centralisée

+

Base de données centralisée

{{ customers.getTotalItemCount }} CONTACTS @@ -32,11 +32,11 @@
TransactionTypeMontantJustificatifTransactionTypeMontantJustificatif
- - - - - + + + + + @@ -57,7 +57,7 @@
- ID: #{{ customer.id }} + ID: #{{ customer.id }} {% if customer.customerId %}
@@ -98,11 +98,11 @@
{% else %} - @@ -155,7 +155,7 @@ {# PAGINATION #}
-
+
Page {{ customers.currentPageNumber }} sur {{ (customers.totalItemCount / customers.getItemNumberPerPage)|round(0, 'ceil') }}
IdentitéTypeCoordonnéesSIRET / IDActionsIdentitéTypeCoordonnéesSIRET / IDActions
- + {{ customer.email }}
- + {{ customer.phone }}
@@ -143,7 +143,7 @@
+ Aucun client enregistré dans la base.