web / r.html
imenebenzerga99's picture
Upload r.html
2a5fcc0 verified
Raw History Blame Contribute Delete
2.32 kB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Analyse IA Document & Images</title>
<link rel="stylesheet" href="r.css">
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
</head>
<body>
<header>
<div class="logo">
<img src="er (1).jpg" alt="Logo de l'application">
<h1>Analyse IA Document & Images</h1>
</div>
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox">
<div class="slider round"> </div>
</label>
</div>
</div>
</header>
<br>
<main>
<section class="upload-section">
<h2>Téléchargez votre fichier</h2>
<div class="file-upload-container">
<input type="file" id="fileInput" accept=".pdf,.docx,.xlsx,.pptx,.jpg,.png" hidden>
<input type="text" id="fileName" placeholder="Aucun fichier sélectionné" readonly>
<label for="fileInput" class="upload-button">Choisir un fichier</label>
</div>
</section>
<section class="options-section">
<h2>Options d'analyse</h2>
<select id="serviceType">
<option value="summarization">Résumé / Légende d'image</option>
<option value="translation">Traduction de document</option>
</select>
<h2>Langage cible</h2>
<select id="targetLanguage">
<option>Anglais</option>
<option>Français</option>
<option>Espagnol</option>
</select>
<br>
<button onclick="processFile()">Analyser</button>
<div id="loading" class="hidden">Traitement en cours...</div>
</section>
<section class="result-section">
<h2>Résultat</h2>
<pre id="result"></pre>
</section>
</main>
<footer>
<p>© 2025 Analyse IA</p>
</footer>
<script src="r.js"></script>
</body>
</html>