Spaces:
Runtime error
Runtime error
Create prj.html
Browse files
prj.html
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Traduction IA</title>
|
| 7 |
+
<link rel="stylesheet" href="prj.css">
|
| 8 |
+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
|
| 9 |
+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 10 |
+
</head>
|
| 11 |
+
<body>
|
| 12 |
+
<div class="container">
|
| 13 |
+
<h2>📂 Uploader un document </h2>
|
| 14 |
+
|
| 15 |
+
<!-- Nouveau bouton stylisé pour choisir un fichier -->
|
| 16 |
+
<label class="btn file-label">
|
| 17 |
+
📁 Choisir un fichier
|
| 18 |
+
<input type="file" id="fileInput" class="file-input-hidden">
|
| 19 |
+
</label>
|
| 20 |
+
<div id="file-name-display"></div>
|
| 21 |
+
|
| 22 |
+
<button id="choix-langue" class="btn">🌍 Choix de langue</button>
|
| 23 |
+
|
| 24 |
+
<div id="lang-options" class="lang-options">
|
| 25 |
+
<button class="lang-btn" data-lang="en">🇬🇧 Anglais</button>
|
| 26 |
+
<button class="lang-btn" data-lang="es">🇪🇸 Espagnol</button>
|
| 27 |
+
<button class="lang-btn" data-lang="de">🇩🇪 Allemand</button>
|
| 28 |
+
<button class="lang-btn" data-lang="it">🇮🇹 Italien</button>
|
| 29 |
+
<button class="lang-btn" data-lang="zh">🇨🇳 Chinois</button>
|
| 30 |
+
<button class="lang-btn" data-lang="fr">🇫🇷 Français</button>
|
| 31 |
+
<button class="lang-btn" data-lang="ar">🇸🇦 Arabe</button>
|
| 32 |
+
</div>
|
| 33 |
+
|
| 34 |
+
<button class="btn" id="traduction">🌍 Traduction</button>
|
| 35 |
+
|
| 36 |
+
<h3 class="result-title">📄 Résultat</h3>
|
| 37 |
+
<div id="resultat" class="resultat-box"></div>
|
| 38 |
+
</div>
|
| 39 |
+
|
| 40 |
+
<script src="prj.js"></script>
|
| 41 |
+
|
| 42 |
+
</body>
|
| 43 |
+
</html>
|