From 7032fd890f228f2991c3a37041b9a42779ba0db4 Mon Sep 17 00:00:00 2001 From: Manus Date: Fri, 30 Jan 2026 08:04:36 -0500 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Interface=20modernis=C3=A9e=20de?= =?UTF-8?q?=20chargement=20d'attestations=20avec=20design=20color=C3=A9=20?= =?UTF-8?q?(d=C3=A9grad=C3=A9s=20bleu-violet),=20ic=C3=B4nes=20grandes=20e?= =?UTF-8?q?t=20expressives,=20zone=20de=20drop=20stylis=C3=A9e,=20et=20mei?= =?UTF-8?q?lleure=20hi=C3=A9rarchie=20visuelle.=20D=C3=A9ploy=C3=A9=20sur?= =?UTF-8?q?=20le=20VPS=20de=20production.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/AdminGestionAttestations.tsx | 267 ++++++++++++------ todo.md | 2 + 2 files changed, 182 insertions(+), 87 deletions(-) diff --git a/client/src/pages/AdminGestionAttestations.tsx b/client/src/pages/AdminGestionAttestations.tsx index ff1c707..e065f25 100644 --- a/client/src/pages/AdminGestionAttestations.tsx +++ b/client/src/pages/AdminGestionAttestations.tsx @@ -58,103 +58,196 @@ function UploadAttestationDialog({ return ( - - - Charger une attestation - - Sélectionnez un fichier PDF à uploader pour cet apprenant + + +
+ +
+ + Charger une attestation + + + Sélectionnez un fichier PDF pour cet apprenant
-
-
- - { - const file = e.target.files?.[0]; - if (!file) return; - - if (file.type !== 'application/pdf') { - toast.error('Seuls les fichiers PDF sont acceptés'); - return; + +
+
+