Spaces:
Sleeping
Sleeping
improved optics
Browse files- index.html +50 -31
index.html
CHANGED
|
@@ -1,50 +1,69 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
<title>FakeDetect</title>
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
</head>
|
| 9 |
-
<body class="bg-gray-100">
|
| 10 |
-
<div class="max-w-
|
| 11 |
-
<h1 class="text-
|
| 12 |
|
| 13 |
-
<form action="/analyze" method="POST">
|
| 14 |
-
<
|
| 15 |
-
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
<
|
| 18 |
-
|
| 19 |
-
<
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
<button type="submit" class="w-full bg-
|
| 27 |
-
Generate OSINT Report
|
| 28 |
</button>
|
| 29 |
</form>
|
| 30 |
|
| 31 |
<!-- Image Previews -->
|
| 32 |
<div class="mt-10">
|
| 33 |
-
<h2 class="text-
|
| 34 |
-
<img src="/tmp/sentiment_pie_chart.png" alt="Sentiment Chart" class="w-full border rounded shadow" />
|
| 35 |
|
| 36 |
-
<
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
| 48 |
</div>
|
| 49 |
</div>
|
| 50 |
</body>
|
|
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="dark">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
<title>FakeDetect</title>
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script>
|
| 9 |
+
tailwind.config = {
|
| 10 |
+
darkMode: 'class',
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
primary: '#4f46e5',
|
| 15 |
+
accent: '#10b981',
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
</script>
|
| 21 |
</head>
|
| 22 |
+
<body class="bg-gray-900 text-gray-100 min-h-screen font-sans">
|
| 23 |
+
<div class="max-w-4xl mx-auto mt-10 p-8 bg-gray-800 rounded-2xl shadow-xl">
|
| 24 |
+
<h1 class="text-3xl font-extrabold mb-8 text-center text-primary">🕵️ FakeDetect OSINT Analyzer</h1>
|
| 25 |
|
| 26 |
+
<form action="/analyze" method="POST" class="space-y-6">
|
| 27 |
+
<div>
|
| 28 |
+
<label class="block mb-2 font-semibold text-gray-300">Paste article, tweet, or message:</label>
|
| 29 |
+
<textarea name="input_text" rows="8" class="w-full bg-gray-700 text-gray-100 border border-gray-600 rounded-lg p-4 focus:ring-2 focus:ring-primary outline-none" required></textarea>
|
| 30 |
+
</div>
|
| 31 |
|
| 32 |
+
<div>
|
| 33 |
+
<label class="block mb-2 font-semibold text-gray-300">Select output language:</label>
|
| 34 |
+
<select name="language" class="w-full bg-gray-700 text-gray-100 border border-gray-600 rounded-lg p-3">
|
| 35 |
+
<option value="en">English</option>
|
| 36 |
+
<option value="de">German</option>
|
| 37 |
+
<option value="es">Spanish</option>
|
| 38 |
+
<option value="fr">French</option>
|
| 39 |
+
<option value="ru">Russian</option>
|
| 40 |
+
</select>
|
| 41 |
+
</div>
|
| 42 |
|
| 43 |
+
<button type="submit" class="w-full bg-primary text-white font-semibold py-3 rounded-lg hover:bg-indigo-700 transition">
|
| 44 |
+
🚀 Generate OSINT Report
|
| 45 |
</button>
|
| 46 |
</form>
|
| 47 |
|
| 48 |
<!-- Image Previews -->
|
| 49 |
<div class="mt-10">
|
| 50 |
+
<h2 class="text-xl font-bold text-accent mb-4">📊 Latest Analysis Preview</h2>
|
|
|
|
| 51 |
|
| 52 |
+
<div class="mb-6">
|
| 53 |
+
<h3 class="font-semibold text-gray-300">Sentiment Chart</h3>
|
| 54 |
+
<img src="/tmp/sentiment_pie_chart.png" alt="Sentiment Chart" class="mt-3 border border-gray-600 rounded-xl shadow-lg w-full" />
|
| 55 |
+
</div>
|
| 56 |
+
|
| 57 |
+
<div class="mb-6">
|
| 58 |
+
<h3 class="font-semibold text-gray-300">Network Graph</h3>
|
| 59 |
+
<img src="/tmp/network_graph.png" alt="Network Graph" class="mt-3 border border-gray-600 rounded-xl shadow-lg w-full" />
|
| 60 |
+
</div>
|
| 61 |
+
|
| 62 |
+
<div class="text-center mt-8">
|
| 63 |
+
<a href="/tmp/OSINT_Report.html" download class="inline-block bg-accent text-white px-6 py-3 rounded-full font-semibold shadow-lg hover:bg-emerald-600 transition">
|
| 64 |
+
⬇️ Download Full HTML Report
|
| 65 |
+
</a>
|
| 66 |
+
</div>
|
| 67 |
</div>
|
| 68 |
</div>
|
| 69 |
</body>
|