diff --git a/.replit b/.replit index e7ed764..baa3edd 100644 --- a/.replit +++ b/.replit @@ -37,4 +37,4 @@ args = "npm run dev" waitForPort = 5000 [agent] -integrations = ["javascript_log_in_with_replit==1.0.0", "javascript_database==1.0.0", "javascript_object_storage==1.0.0"] +integrations = ["javascript_object_storage==1.0.0", "javascript_log_in_with_replit==1.0.0", "javascript_database==1.0.0"] diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 839e6bd..6c8547e 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -612,23 +612,85 @@ export default function Sidebar() { {/* Modal BAP */} - + - + Envoi BAP -
-
- - +
+ {/* Zone de sélection de fichier améliorée */} +
+ + + {/* Zone de drop et bouton de sélection */} +
+ + +
+ {selectedFile ? ( +
+
+ +
+
+

{selectedFile.name}

+

{(selectedFile.size / 1024 / 1024).toFixed(2)} MB

+
+ +
+ ) : ( +
+
+ +
+
+

Cliquez pour sélectionner un fichier PDF

+

ou glissez-déposez votre fichier ici

+
+
+ +
+
+ )} +
+
+ + {selectedFile && ( +
+ + + + Fichier PDF sélectionné avec succès +
+ )}