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/attached_assets/{92A7DC30-B92C-4131-8CA5-22B3002020EB}_1756910007514.png b/attached_assets/{92A7DC30-B92C-4131-8CA5-22B3002020EB}_1756910007514.png new file mode 100644 index 0000000..4674ae3 Binary files /dev/null and b/attached_assets/{92A7DC30-B92C-4131-8CA5-22B3002020EB}_1756910007514.png differ diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 839e6bd..46f64ea 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -612,47 +612,130 @@ export default function Sidebar() { {/* Modal BAP */} - + - + Envoi BAP -
-
- - + {/* NOUVELLE zone de sélection de fichier */} +
+ + + {!selectedFile ? ( +
document.getElementById('hidden-file-input')?.click()} + > +
+
+ +
+
+

+ Cliquez ici pour choisir un fichier PDF +

+

+ Ou glissez-déposez votre fichier dans cette zone +

+
+ + Parcourir les fichiers +
+
+
+
+ ) : ( +
+
+
+ +
+
+

{selectedFile.name}

+

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

+
+ +
+
+ )} + + {/* Input caché */} +
-
- + {/* Sélection destinataire améliorée */} +
+
-
-