Spaces:
Build error
Build error
Delete templates
Browse files- templates/a_propos.html +0 -235
- templates/api_key.html +0 -356
- templates/api_logs.html +0 -282
- templates/checkout.html +0 -246
- templates/conditions_utilisation.html +0 -327
- templates/connexion.html +0 -222
- templates/dashboard.html +0 -330
- templates/documentation.html +0 -287
- templates/index.html +0 -992
- templates/inscription.html +0 -231
- templates/mentions_legales.html +0 -258
- templates/mot_de_passe_oublie.html +0 -199
- templates/politique_confidentialite.html +0 -367
- templates/profile.html +0 -258
- templates/security_config.html +0 -277
- templates/support.html +0 -303
- templates/tarifs.html +0 -337
templates/a_propos.html
DELETED
|
@@ -1,235 +0,0 @@
|
|
| 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>À Propos de Nexus</title>
|
| 7 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<style>
|
| 11 |
-
body {
|
| 12 |
-
font-family: 'Inter', sans-serif;
|
| 13 |
-
/* Transition pour un effet doux lors du changement de thème */
|
| 14 |
-
transition: background-color 0.3s, color 0.3s;
|
| 15 |
-
}
|
| 16 |
-
|
| 17 |
-
/* Styles pour la barre de navigation fixe */
|
| 18 |
-
.fixed-header {
|
| 19 |
-
position: fixed;
|
| 20 |
-
top: 0;
|
| 21 |
-
left: 0;
|
| 22 |
-
right: 0;
|
| 23 |
-
z-index: 50; /* Pour s'assurer qu'il est au-dessus du contenu */
|
| 24 |
-
/* Tailwind classes already applied: bg-gray-900, border-b border-blue-500/50, py-4 */
|
| 25 |
-
}
|
| 26 |
-
|
| 27 |
-
/* Étape 2 : Définir les Styles pour le Mode Clair */
|
| 28 |
-
/* Surcharge des classes Tailwind spécifiques pour simuler le mode clair */
|
| 29 |
-
html.light .bg-gray-900 { background-color: #F3F4F6 !important; /* gray-100 */ }
|
| 30 |
-
html.light .text-white { color: #1F2937 !important; /* gray-900 */ }
|
| 31 |
-
html.light .text-gray-300 { color: #4B5563 !important; /* gray-600 */ }
|
| 32 |
-
html.light .bg-gray-800\/50 { background-color: rgba(209, 213, 219, 0.5) !important; /* gray-300/50 */ }
|
| 33 |
-
html.light .bg-gray-800 { background-color: #E5E7EB !important; /* gray-200 */ }
|
| 34 |
-
html.light .border-gray-700 { border-color: #D1D5DB !important; /* gray-300 */ }
|
| 35 |
-
html.light .text-gray-400 { color: #6B7280 !important; /* gray-500 */ }
|
| 36 |
-
html.light .border-gray-800 { border-color: #D1D5DB !important; /* gray-300 */ }
|
| 37 |
-
html.light .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
|
| 38 |
-
|
| 39 |
-
/* Style du bouton theme-switch (comme dans le plan) */
|
| 40 |
-
.theme-switch {
|
| 41 |
-
background: none;
|
| 42 |
-
border: none;
|
| 43 |
-
cursor: pointer;
|
| 44 |
-
color: inherit; /* Utilise la couleur du texte parent (text-white ou text-gray-900 en light mode) */
|
| 45 |
-
font-size: 24px;
|
| 46 |
-
padding: 0;
|
| 47 |
-
line-height: 1;
|
| 48 |
-
}
|
| 49 |
-
.theme-switch:hover {
|
| 50 |
-
color: #60A5FA; /* blue-400 */
|
| 51 |
-
}
|
| 52 |
-
</style>
|
| 53 |
-
</head>
|
| 54 |
-
<body class="bg-gray-900 text-white min-h-screen">
|
| 55 |
-
|
| 56 |
-
<div class="relative min-h-screen">
|
| 57 |
-
|
| 58 |
-
<header class="fixed-header w-full bg-gray-900 border-b border-blue-500/50">
|
| 59 |
-
<div class="container mx-auto p-4 sm:p-6 lg:p-8 flex flex-col sm:flex-row justify-between items-center">
|
| 60 |
-
<a href="/" class="text-4xl font-extrabold text-blue-500 tracking-wider mb-4 sm:mb-0">
|
| 61 |
-
NEXUS
|
| 62 |
-
</a>
|
| 63 |
-
<nav class="flex items-center space-x-4">
|
| 64 |
-
<a href="/documentation" class="px-4 py-2 text-white hover:text-blue-300 transition duration-200 font-medium">
|
| 65 |
-
Documentation
|
| 66 |
-
</a>
|
| 67 |
-
<a href="/tarifs" class="px-4 py-2 text-white hover:text-blue-300 transition duration-200 font-medium">
|
| 68 |
-
Tarifs
|
| 69 |
-
</a>
|
| 70 |
-
|
| 71 |
-
<button id="theme-toggle" class="theme-switch ml-4" aria-label="Basculer le thème">
|
| 72 |
-
<span class="material-symbols-rounded">light_mode</span>
|
| 73 |
-
</button>
|
| 74 |
-
|
| 75 |
-
{% if is_logged_in %}
|
| 76 |
-
<a href="/dashboard" class="px-4 py-2 bg-blue-600 rounded-lg hover:bg-blue-700 font-medium transition duration-200">
|
| 77 |
-
Dashboard
|
| 78 |
-
</a>
|
| 79 |
-
{% else %}
|
| 80 |
-
<a href="/connexion" class="px-4 py-2 bg-blue-600 rounded-lg hover:bg-blue-700 font-medium transition duration-200">
|
| 81 |
-
Connexion
|
| 82 |
-
</a>
|
| 83 |
-
{% endif %}
|
| 84 |
-
</nav>
|
| 85 |
-
</div>
|
| 86 |
-
</header>
|
| 87 |
-
|
| 88 |
-
<main class="space-y-12 max-w-4xl mx-auto pt-24 pb-16 px-4 sm:px-6 lg:px-8">
|
| 89 |
-
|
| 90 |
-
<section class="text-center p-8 bg-gray-800/50 rounded-xl shadow-lg">
|
| 91 |
-
<h1 class="text-5xl font-extrabold text-white mb-4 leading-tight">
|
| 92 |
-
Nexus : Notre Mission
|
| 93 |
-
</h1>
|
| 94 |
-
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
|
| 95 |
-
Simplifier la gestion utilisateur pour permettre aux développeurs de se concentrer sur l'innovation.
|
| 96 |
-
</p>
|
| 97 |
-
</section>
|
| 98 |
-
|
| 99 |
-
<section class="space-y-6">
|
| 100 |
-
<h2 class="text-3xl font-bold text-blue-500 border-b border-gray-700 pb-2">
|
| 101 |
-
Qui Sommes-Nous ?
|
| 102 |
-
</h2>
|
| 103 |
-
<p class="text-gray-300">
|
| 104 |
-
Fondée en 2024, Nexus est née de la conviction que l'authentification avancée ne devrait pas être un obstacle pour le développement. Notre plateforme est conçue pour être la couche de gestion d'utilisateur la plus simple et la plus robuste pour toute application web, mobile ou professionnelle.
|
| 105 |
-
</p>
|
| 106 |
-
<p class="text-gray-300 font-medium">
|
| 107 |
-
Nous fournissons une API unique et une URL d'endpoint pour que vous n'ayez aucune configuration complexe à gérer. La sécurité et l'évolutivité sont intégrées.
|
| 108 |
-
</p>
|
| 109 |
-
</section>
|
| 110 |
-
|
| 111 |
-
<section class="space-y-6">
|
| 112 |
-
<h2 class="text-3xl font-bold text-blue-500 border-b border-gray-700 pb-2">
|
| 113 |
-
Notre Vision de l'Avenir
|
| 114 |
-
</h2>
|
| 115 |
-
<div class="grid md:grid-cols-2 gap-6">
|
| 116 |
-
<div class="bg-gray-800 p-6 rounded-xl border-t-4 border-yellow-500">
|
| 117 |
-
<h3 class="text-xl font-semibold text-yellow-400 mb-2">Innovation Continue</h3>
|
| 118 |
-
<p class="text-gray-300">Intégrer l'IA pour l'analyse des logs et le support prédictif pour les développeurs.</p>
|
| 119 |
-
</div>
|
| 120 |
-
<div class="bg-gray-800 p-6 rounded-xl border-t-4 border-purple-500">
|
| 121 |
-
<h3 class="text-xl font-semibold text-purple-400 mb-2">Sécurité Unifiée</h3>
|
| 122 |
-
<p class="text-gray-300">Établir la norme en matière de cybersécurité pour les petits et grands comptes utilisateurs.</p>
|
| 123 |
-
</div>
|
| 124 |
-
</div>
|
| 125 |
-
</section>
|
| 126 |
-
|
| 127 |
-
<section class="text-center pt-8">
|
| 128 |
-
<h2 class="text-3xl font-bold text-white mb-4">Prêt à nous rejoindre ?</h2>
|
| 129 |
-
<a href="/inscription" class="px-6 py-3 bg-blue-600 text-white text-lg font-bold rounded-xl shadow-md hover:bg-blue-700 transition duration-300">
|
| 130 |
-
Créer un Compte Gratuit
|
| 131 |
-
</a>
|
| 132 |
-
</section>
|
| 133 |
-
|
| 134 |
-
</main>
|
| 135 |
-
|
| 136 |
-
<footer class="mt-16 border-t border-gray-700 bg-gray-900">
|
| 137 |
-
<div class="container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 138 |
-
<div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8 text-sm">
|
| 139 |
-
|
| 140 |
-
<div class="col-span-2 lg:col-span-1">
|
| 141 |
-
<a href="/" class="text-3xl font-extrabold text-blue-500 tracking-wider">NEXUS</a>
|
| 142 |
-
<p class="mt-3 text-gray-400">
|
| 143 |
-
L'infrastructure API qui propulse votre avenir technologique.
|
| 144 |
-
</p>
|
| 145 |
-
<div class="mt-4 flex space-x-4">
|
| 146 |
-
<a href="#" class="text-gray-400 hover:text-blue-500 transition duration-200">
|
| 147 |
-
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.014 4.85.07c3.275.146 4.47 1.583 4.61 4.85.056 1.266.07 1.646.07 4.85s-.014 3.584-.07 4.85c-.14 3.267-1.335 4.704-4.61 4.85-1.266.056-1.646.07-4.85.07s-3.584-.014-4.85-.07c-3.275-.146-4.47-1.583-4.61-4.85-.056-1.266-.07-1.646-.07-4.85s.014-3.584.07-4.85c.14-3.267 1.335-4.704 4.61-4.85 1.266-.056 1.646-.07 4.85-.07zM12 0c-3.784 0-4.285.016-5.773.083-4.722.211-6.755 2.24-6.965 6.965C.016 7.715 0 8.216 0 12s.016 4.285.083 5.773c.21 4.721 2.239 6.755 6.965 6.965 1.488.067 1.99.083 5.773.083s4.285-.016 5.773-.083c4.721-.21 6.755-2.239 6.965-6.965.067-1.488.083-1.99.083-5.773s-.016-4.285-.083-5.773c-.21-4.722-2.239-6.755-6.965-6.965C16.285.016 15.784 0 12 0zm0 14.5c-1.381 0-2.5-1.119-2.5-2.5s1.119-2.5 2.5-2.5 2.5 1.119 2.5 2.5-1.119 2.5-2.5 2.5z"/></svg>
|
| 148 |
-
</a>
|
| 149 |
-
</div>
|
| 150 |
-
</div>
|
| 151 |
-
|
| 152 |
-
<div>
|
| 153 |
-
<h3 class="text-lg font-semibold text-white mb-4">Plateforme</h3>
|
| 154 |
-
<ul class="space-y-3 text-gray-400">
|
| 155 |
-
<li><a href="/tarifs" class="hover:text-blue-500 transition duration-200">Tarifs</a></li>
|
| 156 |
-
<li><a href="/documentation" class="hover:text-blue-500 transition duration-200">Documentation</a></li>
|
| 157 |
-
<li><a href="/connexion" class="hover:text-blue-500 transition duration-200">Connexion</a></li>
|
| 158 |
-
<li><a href="/support" class="hover:text-blue-500 transition duration-200">Support</a></li>
|
| 159 |
-
</ul>
|
| 160 |
-
</div>
|
| 161 |
-
|
| 162 |
-
<div>
|
| 163 |
-
<h3 class="text-lg font-semibold text-white mb-4">Légal</h3>
|
| 164 |
-
<ul class="space-y-3 text-gray-400">
|
| 165 |
-
<li><a href="/politique-confidentialite" class="hover:text-blue-500 transition duration-200">Politique de Confidentialité</a></li>
|
| 166 |
-
<li><a href="/mentions-legales" class="hover:text-blue-500 transition duration-200">Mentions Légales</a></li>
|
| 167 |
-
<li><a href="/conditions-utilisation" class="hover:text-blue-500 transition duration-200">Conditions d'Utilisation</a></li>
|
| 168 |
-
<li><a href="/a-propos" class="hover:text-blue-500 transition duration-200">À Propos</a></li>
|
| 169 |
-
</ul>
|
| 170 |
-
</div>
|
| 171 |
-
|
| 172 |
-
<div class="col-span-2 md:col-span-1">
|
| 173 |
-
<h3 class="text-lg font-semibold text-white mb-4">Ressources</h3>
|
| 174 |
-
<ul class="space-y-3 text-gray-400">
|
| 175 |
-
<li><a href="mailto:support@nexus.com" class="hover:text-blue-500 transition duration-200">Contact Email</a></li>
|
| 176 |
-
<li><a href="/dashboard" class="hover:text-blue-500 transition duration-200">Espace Client</a></li>
|
| 177 |
-
<li><a href="/api-logs" class="hover:text-blue-500 transition duration-200">Statut API</a></li>
|
| 178 |
-
</ul>
|
| 179 |
-
</div>
|
| 180 |
-
|
| 181 |
-
</div>
|
| 182 |
-
|
| 183 |
-
<div class="mt-10 pt-6 border-t border-gray-800 text-center text-gray-500 text-sm">
|
| 184 |
-
© 2024 Nexus. Tous droits réservés. Construit pour l'ère des microservices.
|
| 185 |
-
</div>
|
| 186 |
-
</div>
|
| 187 |
-
</footer>
|
| 188 |
-
|
| 189 |
-
</div>
|
| 190 |
-
|
| 191 |
-
<script>
|
| 192 |
-
// Logique de bascule du mode sombre/clair
|
| 193 |
-
const themeToggle = document.getElementById('theme-toggle');
|
| 194 |
-
const htmlElement = document.documentElement;
|
| 195 |
-
const iconElement = themeToggle.querySelector('.material-symbols-rounded');
|
| 196 |
-
|
| 197 |
-
// Charger le thème depuis le localStorage
|
| 198 |
-
const savedTheme = localStorage.getItem('theme');
|
| 199 |
-
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
| 200 |
-
|
| 201 |
-
// Déterminer le thème initial
|
| 202 |
-
let initialTheme = 'dark';
|
| 203 |
-
if (savedTheme) {
|
| 204 |
-
initialTheme = savedTheme;
|
| 205 |
-
} else if (!prefersDark) {
|
| 206 |
-
// Si pas de localStorage, utiliser le thème du système (par défaut sombre ici, sauf si système clair)
|
| 207 |
-
initialTheme = 'light';
|
| 208 |
-
}
|
| 209 |
-
|
| 210 |
-
// Appliquer le thème initial
|
| 211 |
-
if (initialTheme === 'light') {
|
| 212 |
-
htmlElement.classList.add('light');
|
| 213 |
-
iconElement.textContent = 'dark_mode';
|
| 214 |
-
} else {
|
| 215 |
-
// Thème sombre (par défaut)
|
| 216 |
-
iconElement.textContent = 'light_mode';
|
| 217 |
-
}
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
themeToggle.addEventListener('click', () => {
|
| 221 |
-
if (htmlElement.classList.contains('light')) {
|
| 222 |
-
// Passage de Clair à Sombre
|
| 223 |
-
htmlElement.classList.remove('light');
|
| 224 |
-
localStorage.setItem('theme', 'dark');
|
| 225 |
-
iconElement.textContent = 'light_mode';
|
| 226 |
-
} else {
|
| 227 |
-
// Passage de Sombre à Clair
|
| 228 |
-
htmlElement.classList.add('light');
|
| 229 |
-
localStorage.setItem('theme', 'light');
|
| 230 |
-
iconElement.textContent = 'dark_mode';
|
| 231 |
-
}
|
| 232 |
-
});
|
| 233 |
-
</script>
|
| 234 |
-
</body>
|
| 235 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/api_key.html
DELETED
|
@@ -1,356 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="fr" class="dark">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Nexus| Clés API - Pro</title>
|
| 7 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 8 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
-
<link rel="stylesheet"
|
| 10 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 11 |
-
<style>
|
| 12 |
-
/* Configuration de la police Inter */
|
| 13 |
-
body { font-family: 'Inter', sans-serif; }
|
| 14 |
-
|
| 15 |
-
/* Transition pour un effet doux des couleurs */
|
| 16 |
-
.transition-colors-theme { transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
|
| 17 |
-
|
| 18 |
-
/* Style et positionnement du bouton de Thème */
|
| 19 |
-
.theme-switch {
|
| 20 |
-
background: none;
|
| 21 |
-
border: none;
|
| 22 |
-
cursor: pointer;
|
| 23 |
-
font-size: 24px;
|
| 24 |
-
transition: color 0.2s;
|
| 25 |
-
position: fixed; /* Reste fixe même si le reste défile */
|
| 26 |
-
top: 1rem;
|
| 27 |
-
right: 1rem;
|
| 28 |
-
z-index: 50; /* Doit être au-dessus de tout */
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/* Définir les Variables de Thème */
|
| 32 |
-
/* Mode Sombre (Défaut) */
|
| 33 |
-
:root, .dark {
|
| 34 |
-
--bg-page: #121212;
|
| 35 |
-
--bg-card: #1E1E1E;
|
| 36 |
-
--bg-sidebar: #1E1E1E; /* Sidebar aussi foncée que les cartes */
|
| 37 |
-
--bg-sidebar-active: #2C2C2C;
|
| 38 |
-
--border-sidebar: #383838;
|
| 39 |
-
--text-color: #FFFFFF;
|
| 40 |
-
--text-secondary: #D1D5DB;
|
| 41 |
-
--text-link: #3B82F6;
|
| 42 |
-
--text-link-hover: #60A5FA;
|
| 43 |
-
--input-bg: #2C2C2C;
|
| 44 |
-
--input-border: #4B5563;
|
| 45 |
-
--input-text-key: #6EE7B7; /* Vert clair pour la clé */
|
| 46 |
-
--primary-color: #3B82F6;
|
| 47 |
-
--primary-hover: #2563EB;
|
| 48 |
-
--warning-bg: #451A03; /* Orange très sombre */
|
| 49 |
-
--warning-border: #78350F;
|
| 50 |
-
--warning-text: #FBBF24;
|
| 51 |
-
}
|
| 52 |
-
/* Mode Clair */
|
| 53 |
-
.light {
|
| 54 |
-
--bg-page: #F5F5F5;
|
| 55 |
-
--bg-card: #FFFFFF;
|
| 56 |
-
--bg-sidebar: #FFFFFF;
|
| 57 |
-
--bg-sidebar-active: #F3F4F6;
|
| 58 |
-
--border-sidebar: #D1D5DB;
|
| 59 |
-
--text-color: #000000;
|
| 60 |
-
--text-secondary: #4B5563;
|
| 61 |
-
--text-link: #1D4ED8;
|
| 62 |
-
--text-link-hover: #3B82F6;
|
| 63 |
-
--input-bg: #FFFFFF;
|
| 64 |
-
--input-border: #D1D5DB;
|
| 65 |
-
--input-text-key: #059669; /* Vert foncé pour la clé */
|
| 66 |
-
--primary-color: #3B82F6;
|
| 67 |
-
--primary-hover: #2563EB;
|
| 68 |
-
--warning-bg: #FEF3C7; /* Jaune très clair */
|
| 69 |
-
--warning-border: #FBBF24;
|
| 70 |
-
--warning-text: #92400E;
|
| 71 |
-
}
|
| 72 |
-
|
| 73 |
-
/* Appliquer les variables au body et aux éléments */
|
| 74 |
-
.bg-page-var { background-color: var(--bg-page); }
|
| 75 |
-
.bg-card-var { background-color: var(--bg-card); }
|
| 76 |
-
.bg-sidebar-var { background-color: var(--bg-sidebar); }
|
| 77 |
-
.border-sidebar-var { border-color: var(--border-sidebar); }
|
| 78 |
-
.text-color-var { color: var(--text-color); }
|
| 79 |
-
.text-secondary-var { color: var(--text-secondary); }
|
| 80 |
-
.text-link-var { color: var(--text-link); }
|
| 81 |
-
.hover\:text-link-hover-var:hover { color: var(--text-link-hover); }
|
| 82 |
-
.bg-input-var { background-color: var(--input-bg); }
|
| 83 |
-
.border-input-var { border-color: var(--input-border); }
|
| 84 |
-
.text-input-key-var { color: var(--input-text-key); }
|
| 85 |
-
.bg-primary-color-var { background-color: var(--primary-color); }
|
| 86 |
-
.hover\:bg-primary-hover-var:hover { background-color: var(--primary-hover); }
|
| 87 |
-
.focus\:ring-primary-color-var:focus { --tw-ring-color: var(--primary-color); }
|
| 88 |
-
.focus\:border-primary-color-var:focus { border-color: var(--primary-color); }
|
| 89 |
-
.bg-sidebar-active-var { background-color: var(--bg-sidebar-active); }
|
| 90 |
-
.bg-warning-var { background-color: var(--warning-bg); }
|
| 91 |
-
.border-warning-var { border-color: var(--warning-border); }
|
| 92 |
-
.text-warning-var { color: var(--warning-text); }
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
/* Style pour les boutons et cartes carrés (Artboard) */
|
| 96 |
-
.btn-square, .card-square {
|
| 97 |
-
border-radius: 0; /* Supprime l'arrondi */
|
| 98 |
-
}
|
| 99 |
-
|
| 100 |
-
/* Styles spécifiques pour le chargement/spinner */
|
| 101 |
-
.spinner {
|
| 102 |
-
border-top-color: var(--primary-color); /* Utiliser la couleur primaire pour le spinner */
|
| 103 |
-
animation: spin 1s linear infinite;
|
| 104 |
-
}
|
| 105 |
-
@keyframes spin {
|
| 106 |
-
to { transform: rotate(360deg); }
|
| 107 |
-
}
|
| 108 |
-
|
| 109 |
-
/* Style pour la Sidebar - FIXE et complète */
|
| 110 |
-
.sidebar {
|
| 111 |
-
transition: transform 0.3s ease-in-out;
|
| 112 |
-
transform: translateX(-100%);
|
| 113 |
-
position: fixed;
|
| 114 |
-
top: 0;
|
| 115 |
-
left: 0;
|
| 116 |
-
z-index: 30;
|
| 117 |
-
height: 100vh;
|
| 118 |
-
}
|
| 119 |
-
|
| 120 |
-
.sidebar.open {
|
| 121 |
-
transform: translateX(0);
|
| 122 |
-
}
|
| 123 |
-
|
| 124 |
-
/* Sur les grands écrans (lg), la sidebar est statique et toujours visible */
|
| 125 |
-
@media (min-width: 1024px) {
|
| 126 |
-
.sidebar {
|
| 127 |
-
transform: translateX(0) !important;
|
| 128 |
-
position: fixed; /* Changement : Rendre la sidebar fixe sur grand écran */
|
| 129 |
-
height: 100vh;
|
| 130 |
-
}
|
| 131 |
-
}
|
| 132 |
-
|
| 133 |
-
/* Conteneur principal pour décaler le contenu sur les grands écrans (lg) */
|
| 134 |
-
/* La marge doit correspondre à la largeur de la sidebar (w-64) */
|
| 135 |
-
@media (min-width: 1024px) {
|
| 136 |
-
.main-content {
|
| 137 |
-
margin-left: 256px;
|
| 138 |
-
}
|
| 139 |
-
}
|
| 140 |
-
</style>
|
| 141 |
-
</head>
|
| 142 |
-
|
| 143 |
-
<body class="bg-page-var text-color-var min-h-screen transition-colors-theme">
|
| 144 |
-
|
| 145 |
-
<button id="theme-toggle" class="theme-switch text-color-var hover:text-link-hover-var transition-colors-theme">
|
| 146 |
-
<span class="material-symbols-rounded">dark_mode</span>
|
| 147 |
-
</button>
|
| 148 |
-
|
| 149 |
-
<aside id="sidebar" class="sidebar w-64 bg-sidebar-var border-r border-sidebar-var p-6 lg:block transition-colors-theme">
|
| 150 |
-
<div class="flex items-center mb-10">
|
| 151 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Nexus Pro Logo" class="h-8">
|
| 152 |
-
<span class="text-xl font-bold text-color-var ml-2 transition-colors-theme">Nexus Pro</span>
|
| 153 |
-
</div>
|
| 154 |
-
|
| 155 |
-
<nav class="space-y-3">
|
| 156 |
-
<a href="{{ url_for('user_bp.dashboard') }}" class="flex items-center p-3 text-secondary-var hover:text-color-var hover:bg-sidebar-active-var rounded-lg transition duration-150 transition-colors-theme">
|
| 157 |
-
<span class="material-symbols-rounded">dashboard</span>
|
| 158 |
-
<span class="ml-3">Dashboard</span>
|
| 159 |
-
</a>
|
| 160 |
-
<a href="{{ url_for('user_bp.api_key') }}" class="flex items-center p-3 bg-sidebar-active-var text-color-var rounded-lg transition duration-150 transition-colors-theme">
|
| 161 |
-
<span class="material-symbols-rounded">key</span>
|
| 162 |
-
<span class="ml-3">Clés API</span>
|
| 163 |
-
</a>
|
| 164 |
-
<a href="{{ url_for('user_bp.profile') }}" class="flex items-center p-3 text-secondary-var hover:text-color-var hover:bg-sidebar-active-var rounded-lg transition duration-150 transition-colors-theme">
|
| 165 |
-
<span class="material-symbols-rounded">person</span>
|
| 166 |
-
<span class="ml-3">Profil</span>
|
| 167 |
-
</a>
|
| 168 |
-
<a href="{{ url_for('user_bp.deconnexion') }}" id="logout-button-sidebar" class="flex items-center p-3 text-red-500 hover:text-red-400 hover:bg-sidebar-active-var rounded-lg transition duration-150 transition-colors-theme">
|
| 169 |
-
<span class="material-symbols-rounded">logout</span>
|
| 170 |
-
<span class="ml-3">Déconnexion</span>
|
| 171 |
-
</a>
|
| 172 |
-
</nav>
|
| 173 |
-
|
| 174 |
-
<div class="absolute bottom-6 w-52 text-xs text-secondary-var transition-colors-theme">
|
| 175 |
-
<p>Connecté en tant que: <span class="font-semibold text-color-var transition-colors-theme">{{ user.email if user else 'Chargement...' }}</span></p>
|
| 176 |
-
<p>Plan: <span class="font-semibold text-color-var transition-colors-theme">{{ (user.plan | upper) if user else 'Chargement...' }}</span></p>
|
| 177 |
-
</div>
|
| 178 |
-
|
| 179 |
-
</aside>
|
| 180 |
-
|
| 181 |
-
<div id="main-content" class="main-content p-8 transition-colors-theme">
|
| 182 |
-
|
| 183 |
-
<header class="lg:hidden flex justify-between items-center mb-8">
|
| 184 |
-
<div class="flex items-center">
|
| 185 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Nexus Pro Logo" class="h-8">
|
| 186 |
-
<span class="text-xl font-bold text-color-var ml-2 transition-colors-theme">Nexus Pro</span>
|
| 187 |
-
</div>
|
| 188 |
-
<button id="sidebar-toggle" class="p-2 rounded-lg bg-sidebar-active-var hover:bg-sidebar-active-var/80 transition-colors-theme">
|
| 189 |
-
<span class="material-symbols-rounded text-color-var">menu</span>
|
| 190 |
-
</button>
|
| 191 |
-
</header>
|
| 192 |
-
|
| 193 |
-
<h1 class="text-3xl font-bold mb-8 text-color-var transition-colors-theme">Gestion des Clés API</h1>
|
| 194 |
-
|
| 195 |
-
{% with messages = get_flashed_messages(with_categories=true) %}
|
| 196 |
-
{% if messages %}
|
| 197 |
-
{% for category, message in messages %}
|
| 198 |
-
<div class="p-4 mb-4 text-sm rounded-lg {{ 'bg-red-800 text-red-300' if category == 'error' or category == 'danger' else 'bg-green-800 text-green-300' }} border border-transparent" role="alert">
|
| 199 |
-
{{ message }}
|
| 200 |
-
</div>
|
| 201 |
-
{% endfor %}
|
| 202 |
-
{% endif %}
|
| 203 |
-
{% endwith %}
|
| 204 |
-
|
| 205 |
-
<div class="bg-card-var p-6 rounded-lg shadow-xl border border-sidebar-var transition-colors-theme">
|
| 206 |
-
<h2 class="text-xl font-semibold mb-4 text-color-var transition-colors-theme">Vos Clés d'Accès API (Jusqu'à 10)</h2>
|
| 207 |
-
<p class="text-secondary-var mb-6 transition-colors-theme">Chaque clé peut être utilisée pour authentifier vos requêtes auprès de l'API Nexus. Régénérez une clé si elle est compromise.</p>
|
| 208 |
-
|
| 209 |
-
{% for index in range(10) %}
|
| 210 |
-
{% set api_key_value = user.api_keys[index] if user and user.api_keys and user.api_keys|length > index else 'NXS_API_KEY_' ~ (index + 1) ~ '_NON_DISPONIBLE' %}
|
| 211 |
-
|
| 212 |
-
<div id="key-block-{{ index }}" class="key-block space-y-4 mb-4 p-4 border border-input-var rounded-lg bg-input-var/50 transition-colors-theme">
|
| 213 |
-
<h3 class="text-lg font-medium text-color-var transition-colors-theme">Clé API n°{{ index + 1 }}</h3>
|
| 214 |
-
|
| 215 |
-
<div class="flex items-center space-x-4">
|
| 216 |
-
<input id="api-key-display-{{ index }}"
|
| 217 |
-
type="text"
|
| 218 |
-
readonly
|
| 219 |
-
class="api-key-input flex-grow bg-input-var border border-input-var text-input-key-var p-3 rounded-lg font-mono text-sm break-all focus:outline-none focus:ring-2 focus:ring-primary-color-var focus:border-primary-color-var transition-colors-theme"
|
| 220 |
-
value="{{ api_key_value }}">
|
| 221 |
-
|
| 222 |
-
<button data-key-index="{{ index }}" class="copy-btn bg-primary-color-var hover:bg-primary-hover-var text-white font-bold py-3 px-4 rounded-lg transition duration-200 flex items-center btn-square transition-colors-theme">
|
| 223 |
-
<span class="material-symbols-rounded">content_copy</span>
|
| 224 |
-
<span class="ml-2 hidden sm:inline">Copier</span>
|
| 225 |
-
</button>
|
| 226 |
-
</div>
|
| 227 |
-
|
| 228 |
-
<div class="flex items-center justify-between border-t border-input-var pt-4 transition-colors-theme">
|
| 229 |
-
<button data-key-index="{{ index }}" class="regenerate-btn text-sm text-red-500 hover:text-red-400 transition duration-200 flex items-center font-medium transition-colors-theme">
|
| 230 |
-
<span class="material-symbols-rounded text-lg mr-1">refresh</span>
|
| 231 |
-
Régénérer cette Clé
|
| 232 |
-
<div id="spinner-{{ index }}" class="spinner w-4 h-4 border-2 rounded-full ml-2 hidden" style="border-bottom-color: transparent;"></div>
|
| 233 |
-
</button>
|
| 234 |
-
<p id="status-message-{{ index }}" class="status-message text-sm text-input-key-var font-medium transition-colors-theme"></p>
|
| 235 |
-
</div>
|
| 236 |
-
</div>
|
| 237 |
-
{% endfor %}
|
| 238 |
-
</div>
|
| 239 |
-
<div class="mt-8 p-4 bg-warning-var border border-warning-border-var rounded-lg text-warning-text-var transition-colors-theme">
|
| 240 |
-
<h3 class="font-bold flex items-center">
|
| 241 |
-
<span class="material-symbols-rounded mr-2">warning</span>
|
| 242 |
-
Attention Sécurité
|
| 243 |
-
</h3>
|
| 244 |
-
<p class="text-sm mt-2">Chacune de vos **10 clés API** est un mot de passe pour vos applications. Ne les partagez jamais publiquement et traitez-les comme des informations confidentielles. Régénérez immédiatement une clé si vous suspectez un risque.</p>
|
| 245 |
-
</div>
|
| 246 |
-
|
| 247 |
-
</div>
|
| 248 |
-
|
| 249 |
-
<script>
|
| 250 |
-
// Logique du thème (conservée)
|
| 251 |
-
const themeToggle = document.getElementById('theme-toggle');
|
| 252 |
-
const html = document.documentElement;
|
| 253 |
-
|
| 254 |
-
const updateIcon = () => {
|
| 255 |
-
const icon = themeToggle.querySelector('.material-symbols-rounded');
|
| 256 |
-
if (html.classList.contains('light')) {
|
| 257 |
-
icon.textContent = 'light_mode';
|
| 258 |
-
} else {
|
| 259 |
-
icon.textContent = 'dark_mode';
|
| 260 |
-
}
|
| 261 |
-
};
|
| 262 |
-
|
| 263 |
-
const savedTheme = localStorage.getItem('theme');
|
| 264 |
-
if (savedTheme === 'light') {
|
| 265 |
-
html.classList.remove('dark');
|
| 266 |
-
html.classList.add('light');
|
| 267 |
-
} else {
|
| 268 |
-
// Par défaut, nous nous assurons que 'dark' est appliqué s'il n'y a pas de thème enregistré
|
| 269 |
-
html.classList.add('dark');
|
| 270 |
-
html.classList.remove('light');
|
| 271 |
-
}
|
| 272 |
-
updateIcon();
|
| 273 |
-
|
| 274 |
-
themeToggle.addEventListener('click', () => {
|
| 275 |
-
if (html.classList.contains('dark')) {
|
| 276 |
-
html.classList.remove('dark');
|
| 277 |
-
html.classList.add('light');
|
| 278 |
-
localStorage.setItem('theme', 'light');
|
| 279 |
-
} else {
|
| 280 |
-
html.classList.remove('light');
|
| 281 |
-
html.classList.add('dark');
|
| 282 |
-
localStorage.setItem('theme', 'dark');
|
| 283 |
-
}
|
| 284 |
-
updateIcon();
|
| 285 |
-
});
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
// Logique pour la copie des clés API - MISE À JOUR pour 10 clés
|
| 289 |
-
document.querySelectorAll('.copy-btn').forEach(button => {
|
| 290 |
-
button.addEventListener('click', (e) => {
|
| 291 |
-
const index = e.currentTarget.getAttribute('data-key-index');
|
| 292 |
-
const apiKeyDisplay = document.getElementById(`api-key-display-${index}`);
|
| 293 |
-
const statusMessage = document.getElementById(`status-message-${index}`);
|
| 294 |
-
|
| 295 |
-
if (apiKeyDisplay) {
|
| 296 |
-
apiKeyDisplay.select();
|
| 297 |
-
apiKeyDisplay.setSelectionRange(0, 99999); /* Pour les mobiles */
|
| 298 |
-
document.execCommand('copy');
|
| 299 |
-
|
| 300 |
-
// Afficher le message de statut (spécifique à cette clé)
|
| 301 |
-
statusMessage.textContent = 'Clé copiée !';
|
| 302 |
-
setTimeout(() => {
|
| 303 |
-
statusMessage.textContent = '';
|
| 304 |
-
}, 3000);
|
| 305 |
-
}
|
| 306 |
-
});
|
| 307 |
-
});
|
| 308 |
-
|
| 309 |
-
// 2. Logique de la Sidebar sur mobile (conservée)
|
| 310 |
-
const sidebarToggle = document.getElementById('sidebar-toggle');
|
| 311 |
-
const sidebar = document.getElementById('sidebar');
|
| 312 |
-
|
| 313 |
-
sidebarToggle.addEventListener('click', () => {
|
| 314 |
-
sidebar.classList.toggle('open');
|
| 315 |
-
});
|
| 316 |
-
|
| 317 |
-
// 3. Logique de REGÉNÉRATION (Message de démo) - MISE À JOUR pour 10 clés
|
| 318 |
-
document.querySelectorAll('.regenerate-btn').forEach(button => {
|
| 319 |
-
button.addEventListener('click', (e) => {
|
| 320 |
-
e.preventDefault();
|
| 321 |
-
const index = e.currentTarget.getAttribute('data-key-index');
|
| 322 |
-
const statusMessage = document.getElementById(`status-message-${index}`);
|
| 323 |
-
const spinner = document.getElementById(`spinner-${index}`);
|
| 324 |
-
|
| 325 |
-
// Pour la prochaine étape (backend), ce code sera mis à jour avec un appel fetch()
|
| 326 |
-
|
| 327 |
-
// Démarrer le spinner
|
| 328 |
-
spinner.classList.remove('hidden');
|
| 329 |
-
|
| 330 |
-
// Simuler une action
|
| 331 |
-
statusMessage.textContent = `Régénération de la Clé n°${parseInt(index) + 1} en cours...`;
|
| 332 |
-
|
| 333 |
-
setTimeout(() => {
|
| 334 |
-
// Message de démo pour l'instant
|
| 335 |
-
statusMessage.textContent = 'Fonction de régénération en cours de développement.';
|
| 336 |
-
spinner.classList.add('hidden');
|
| 337 |
-
setTimeout(() => {
|
| 338 |
-
statusMessage.textContent = '';
|
| 339 |
-
}, 4000);
|
| 340 |
-
}, 2000);
|
| 341 |
-
});
|
| 342 |
-
});
|
| 343 |
-
|
| 344 |
-
// 4. Logique de Déconnexion (Conservée)
|
| 345 |
-
const logoutHandler = async (e) => {
|
| 346 |
-
e.preventDefault();
|
| 347 |
-
// La déconnexion est maintenant gérée par la route Flask directe
|
| 348 |
-
window.location.href = document.getElementById('logout-button-sidebar').href;
|
| 349 |
-
};
|
| 350 |
-
// On attache l'événement à la déconnexion dans la sidebar.
|
| 351 |
-
document.getElementById('logout-button-sidebar').addEventListener('click', logoutHandler);
|
| 352 |
-
|
| 353 |
-
|
| 354 |
-
</script>
|
| 355 |
-
</body>
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/api_logs.html
DELETED
|
@@ -1,282 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="fr" class="dark">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Logs API - Nexus Pro</title>
|
| 7 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<style>
|
| 11 |
-
body {
|
| 12 |
-
font-family: 'Inter', sans-serif;
|
| 13 |
-
/* Appliquer les variables de thème */
|
| 14 |
-
background-color: var(--bg-color);
|
| 15 |
-
color: var(--text-color-primary); /* Utilisation de la variable primaire pour le texte du body */
|
| 16 |
-
transition: background-color 0.3s, color 0.3s; /* Transition pour un effet doux */
|
| 17 |
-
}
|
| 18 |
-
|
| 19 |
-
/* Étape 2 : Définir les Styles (CSS) - Variables de Thème */
|
| 20 |
-
/* Mode Sombre (par défaut - noir très foncé) */
|
| 21 |
-
:root, .dark {
|
| 22 |
-
--bg-color: #0A0A0A; /* Noir très foncé (pour body, header, footer) */
|
| 23 |
-
--bg-card: #1C1C1C; /* Fond des cartes/panneaux */
|
| 24 |
-
--text-color-primary: #E3E3E3; /* Texte principal (ancien text-white) */
|
| 25 |
-
--text-color-secondary: #A0A0A0; /* Texte secondaire (pour gray-400/500) */
|
| 26 |
-
--primary-color: #3B82F6; /* blue-500 par défaut */
|
| 27 |
-
--border-color: #4B5563; /* gray-600 */
|
| 28 |
-
--border-card-divide: #374151; /* gray-700 pour les séparations dans les cartes */
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/* Mode Clair */
|
| 32 |
-
html.light {
|
| 33 |
-
--bg-color: #F8F8F8;
|
| 34 |
-
--bg-card: #FFFFFF;
|
| 35 |
-
--text-color-primary: #1F2937; /* Texte principal (gray-800) */
|
| 36 |
-
--text-color-secondary: #6B7280; /* Texte secondaire (gray-500) */
|
| 37 |
-
--primary-color: #1D4ED8; /* blue-700 */
|
| 38 |
-
--border-color: #D1D5DB; /* gray-300 */
|
| 39 |
-
--border-card-divide: #E5E7EB; /* gray-200 pour les séparations dans les cartes */
|
| 40 |
-
}
|
| 41 |
-
|
| 42 |
-
/* Mappage des classes Tailwind aux variables de thème pour le mode sombre/clair */
|
| 43 |
-
/* Modification pour que le header et les footers utilisent --bg-color */
|
| 44 |
-
.bg-gray-900 { background-color: var(--bg-color); }
|
| 45 |
-
/* Modification pour que les cartes et le panneau de logs utilisent --bg-card */
|
| 46 |
-
.bg-gray-800 { background-color: var(--bg-card); }
|
| 47 |
-
|
| 48 |
-
/* Mappage des couleurs de texte pour le mode sombre/clair */
|
| 49 |
-
.text-white { color: var(--text-color-primary); }
|
| 50 |
-
/* Pour les textes dans les cartes et le footer qui utilisaient des nuances de gris */
|
| 51 |
-
.text-gray-300 { color: var(--text-color-primary); }
|
| 52 |
-
.text-gray-400 { color: var(--text-color-secondary); }
|
| 53 |
-
.text-gray-500 { color: var(--text-color-secondary); opacity: 0.9; } /* Ajustement léger pour les nuances */
|
| 54 |
-
|
| 55 |
-
.border-blue-500\/50 { border-color: var(--primary-color); }
|
| 56 |
-
.text-blue-500 { color: var(--primary-color); }
|
| 57 |
-
.hover\:text-blue-300:hover { color: var(--primary-color); }
|
| 58 |
-
.border-l-4 { border-color: var(--primary-color); }
|
| 59 |
-
.border-t-2 { border-color: var(--primary-color); } /* Ajustement pour un meilleur contraste en mode clair */
|
| 60 |
-
.border-b { border-color: var(--border-color); }
|
| 61 |
-
.divide-y { border-color: var(--border-color); }
|
| 62 |
-
/* Pour les séparateurs dans la table des logs */
|
| 63 |
-
.border-gray-700 { border-color: var(--border-card-divide); }
|
| 64 |
-
.divide-gray-700 { border-color: var(--border-card-divide); }
|
| 65 |
-
.border-gray-800 { border-color: var(--border-card-divide); } /* Utilisé dans le footer */
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
/* Classe pour la barre de navigation fixe (stable) */
|
| 69 |
-
.header-fixed {
|
| 70 |
-
position: fixed;
|
| 71 |
-
top: 0;
|
| 72 |
-
left: 0;
|
| 73 |
-
right: 0;
|
| 74 |
-
z-index: 50;
|
| 75 |
-
/* Suppression des marges pour un aspect moins haut, tout en restant responsive */
|
| 76 |
-
padding-top: 1rem;
|
| 77 |
-
padding-bottom: 1rem;
|
| 78 |
-
}
|
| 79 |
-
|
| 80 |
-
</style>
|
| 81 |
-
</head>
|
| 82 |
-
<body class="min-h-screen pt-20"> <div class="container mx-auto p-4 sm:p-6 lg:p-8">
|
| 83 |
-
|
| 84 |
-
<header class="header-fixed bg-gray-900 text-white flex flex-col sm:flex-row justify-between items-center px-4 sm:px-6 lg:px-8 border-b border-blue-500/50">
|
| 85 |
-
<h1 class="text-4xl font-extrabold text-blue-500 tracking-wider mb-4 sm:mb-0">
|
| 86 |
-
Historique des Logs API
|
| 87 |
-
</h1>
|
| 88 |
-
<nav class="flex items-center space-x-4">
|
| 89 |
-
<button id="theme-toggle" class="theme-switch" aria-label="Basculer le thème">
|
| 90 |
-
<span class="material-symbols-rounded">light_mode</span>
|
| 91 |
-
</button>
|
| 92 |
-
<a href="/dashboard" class="px-4 py-2 text-white hover:text-blue-300 transition duration-200 font-medium">
|
| 93 |
-
Dashboard
|
| 94 |
-
</a>
|
| 95 |
-
<a href="/profile" class="px-4 py-2 text-white hover:text-blue-300 transition duration-200 font-medium">
|
| 96 |
-
Profil
|
| 97 |
-
</a>
|
| 98 |
-
<button id="logout-button" class="px-4 py-2 bg-red-600 hover:bg-red-700 transition duration-200 font-medium shadow-md">
|
| 99 |
-
Déconnexion
|
| 100 |
-
</button>
|
| 101 |
-
</nav>
|
| 102 |
-
</header>
|
| 103 |
-
|
| 104 |
-
<main class="space-y-8 mt-4">
|
| 105 |
-
|
| 106 |
-
<div class="p-6 bg-gray-800 shadow-2xl border-l-4 border-blue-500">
|
| 107 |
-
<h2 class="text-3xl font-bold text-blue-500 mb-2">Statistiques d'Utilisation</h2>
|
| 108 |
-
<p class="text-lg text-gray-300">
|
| 109 |
-
ID Utilisateur Connecté: <strong class="text-white">{{ user_id }}</strong>
|
| 110 |
-
</p>
|
| 111 |
-
</div>
|
| 112 |
-
|
| 113 |
-
<div class="grid grid-cols-1 sm:grid-cols-3 gap-6">
|
| 114 |
-
<div class="p-5 bg-gray-800 shadow-xl border-t-2 border-green-500 text-center">
|
| 115 |
-
<p class="text-4xl font-bold text-green-400" id="requestsCount">--</p>
|
| 116 |
-
<p class="text-gray-400 mt-1">Requêtes (30 jours)</p>
|
| 117 |
-
</div>
|
| 118 |
-
<div class="p-5 bg-gray-800 shadow-xl border-t-2 border-yellow-500 text-center">
|
| 119 |
-
<p class="text-4xl font-bold text-yellow-400" id="errorsCount">--</p>
|
| 120 |
-
<p class="text-gray-400 mt-1">Erreurs 5xx (30 jours)</p>
|
| 121 |
-
</div>
|
| 122 |
-
<div class="p-5 bg-gray-800 shadow-xl border-t-2 border-purple-500 text-center">
|
| 123 |
-
<p class="text-4xl font-bold text-purple-400" id="lastActivity">--</p>
|
| 124 |
-
<p class="text-gray-400 mt-1">Dernière Activité</p>
|
| 125 |
-
</div>
|
| 126 |
-
</div>
|
| 127 |
-
|
| 128 |
-
<div class="bg-gray-800 shadow-xl overflow-x-auto">
|
| 129 |
-
<h3 class="text-2xl font-semibold text-white p-6 border-b border-gray-700">Logs Récents</h3>
|
| 130 |
-
<table class="min-w-full divide-y divide-gray-700">
|
| 131 |
-
<thead>
|
| 132 |
-
<tr>
|
| 133 |
-
<th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Date/Heure</th>
|
| 134 |
-
<th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Méthode</th>
|
| 135 |
-
<th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Endpoint</th>
|
| 136 |
-
<th class="px-6 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Statut</th>
|
| 137 |
-
</tr>
|
| 138 |
-
</thead>
|
| 139 |
-
<tbody class="divide-y divide-gray-700" id="logsTableBody">
|
| 140 |
-
<tr class="text-gray-300">
|
| 141 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm">2024-10-14 10:30:00</td>
|
| 142 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm"><span class="bg-green-600/20 text-green-400 px-2 py-0.5 text-xs font-semibold">GET</span></td>
|
| 143 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm">/api/data/fetch</td>
|
| 144 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm"><span class="bg-green-600/20 text-green-400 px-2 py-0.5 text-xs font-semibold">200</span></td>
|
| 145 |
-
</tr>
|
| 146 |
-
<tr class="text-gray-300">
|
| 147 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm">2024-10-14 10:29:55</td>
|
| 148 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm"><span class="bg-red-600/20 text-red-400 px-2 py-0.5 text-xs font-semibold">POST</span></td>
|
| 149 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm">/api/user/update</td>
|
| 150 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm"><span class="bg-red-600/20 text-red-400 px-2 py-0.5 text-xs font-semibold">401</span></td>
|
| 151 |
-
</tr>
|
| 152 |
-
<tr class="text-gray-300">
|
| 153 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm">2024-10-14 10:29:01</td>
|
| 154 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm"><span class="bg-green-600/20 text-green-400 px-2 py-0.5 text-xs font-semibold">GET</span></td>
|
| 155 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm">/api/status</td>
|
| 156 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm"><span class="bg-green-600/20 text-green-400 px-2 py-0.5 text-xs font-semibold">200</span></td>
|
| 157 |
-
</tr>
|
| 158 |
-
</tbody>
|
| 159 |
-
</table>
|
| 160 |
-
</div>
|
| 161 |
-
|
| 162 |
-
<p class="text-sm text-gray-500 text-center">
|
| 163 |
-
*Ceci est un exemple. L'intégration finale nécessitera un appel à l'API Nexus (`GET /api/logs/{{ user_id }}`).
|
| 164 |
-
</p>
|
| 165 |
-
|
| 166 |
-
</main>
|
| 167 |
-
|
| 168 |
-
<footer class="mt-12 pt-6 border-t border-gray-700 text-center text-gray-500 text-sm">
|
| 169 |
-
© 2024 Nexus. Tous droits réservés. | Espace Sécurisé
|
| 170 |
-
</footer>
|
| 171 |
-
</div>
|
| 172 |
-
|
| 173 |
-
<script>
|
| 174 |
-
document.getElementById('logout-button').addEventListener('click', async () => {
|
| 175 |
-
const response = await fetch('/logout', { method: 'POST' });
|
| 176 |
-
const data = await response.json();
|
| 177 |
-
if (data.status === 'Success' && data.redirect) {
|
| 178 |
-
window.location.href = data.redirect;
|
| 179 |
-
} else {
|
| 180 |
-
console.error("Erreur lors de la déconnexion.");
|
| 181 |
-
}
|
| 182 |
-
});
|
| 183 |
-
|
| 184 |
-
// Simuler le chargement des statistiques
|
| 185 |
-
document.addEventListener('DOMContentLoaded', () => {
|
| 186 |
-
document.getElementById('requestsCount').textContent = '1248';
|
| 187 |
-
document.getElementById('errorsCount').textContent = '12';
|
| 188 |
-
document.getElementById('lastActivity').textContent = 'Il y a 5 min';
|
| 189 |
-
});
|
| 190 |
-
|
| 191 |
-
/* Logique de bascule du mode sombre/clair */
|
| 192 |
-
const themeToggle = document.getElementById('theme-toggle');
|
| 193 |
-
const htmlElement = document.documentElement;
|
| 194 |
-
const iconElement = themeToggle.querySelector('.material-symbols-rounded');
|
| 195 |
-
|
| 196 |
-
// Charger le thème depuis le localStorage
|
| 197 |
-
const savedTheme = localStorage.getItem('theme');
|
| 198 |
-
|
| 199 |
-
// Si le thème est sauvegardé, l'appliquer. Sinon, laisser le thème sombre par défaut.
|
| 200 |
-
if (savedTheme === 'light') {
|
| 201 |
-
htmlElement.classList.add('light');
|
| 202 |
-
htmlElement.classList.remove('dark');
|
| 203 |
-
iconElement.textContent = 'dark_mode';
|
| 204 |
-
} else {
|
| 205 |
-
// S'assurer que le mode sombre est appliqué si non light
|
| 206 |
-
htmlElement.classList.add('dark');
|
| 207 |
-
htmlElement.classList.remove('light');
|
| 208 |
-
iconElement.textContent = 'light_mode';
|
| 209 |
-
}
|
| 210 |
-
|
| 211 |
-
themeToggle.addEventListener('click', () => {
|
| 212 |
-
if (htmlElement.classList.contains('light')) {
|
| 213 |
-
htmlElement.classList.remove('light');
|
| 214 |
-
htmlElement.classList.add('dark');
|
| 215 |
-
localStorage.setItem('theme', 'dark');
|
| 216 |
-
iconElement.textContent = 'light_mode';
|
| 217 |
-
} else {
|
| 218 |
-
htmlElement.classList.add('light');
|
| 219 |
-
htmlElement.classList.remove('dark');
|
| 220 |
-
localStorage.setItem('theme', 'light');
|
| 221 |
-
iconElement.textContent = 'dark_mode';
|
| 222 |
-
}
|
| 223 |
-
});
|
| 224 |
-
/* Fin Logique Mode Sombre/Clair */
|
| 225 |
-
|
| 226 |
-
</script>
|
| 227 |
-
|
| 228 |
-
<footer class="mt-16 border-t border-gray-700 bg-gray-900">
|
| 229 |
-
<div class="container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 230 |
-
<div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8 text-sm">
|
| 231 |
-
|
| 232 |
-
<div class="col-span-2 lg:col-span-1">
|
| 233 |
-
<a href="/" class="text-3xl font-extrabold text-blue-500 tracking-wider">NEXUS</a>
|
| 234 |
-
<p class="mt-3 text-gray-400">
|
| 235 |
-
L'infrastructure API qui propulse votre avenir technologique.
|
| 236 |
-
</p>
|
| 237 |
-
<div class="mt-4 flex space-x-4">
|
| 238 |
-
<a href="#" class="text-gray-400 hover:text-blue-500 transition duration-200">
|
| 239 |
-
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.014 4.85.07c3.275.146 4.47 1.583 4.61 4.85.056 1.266.07 1.646.07 4.85s-.014 3.584-.07 4.85c-.14 3.267-1.335 4.704-4.61 4.85-1.266.056-1.646.07-4.85.07s-3.584-.014-4.85-.07c-3.275-.146-4.47-1.583-4.61-4.85-.056-1.266-.07-1.646-.07-4.85s.014-3.584.07-4.85c.14-3.267 1.335-4.704 4.61-4.85 1.266-.056 1.646-.07 4.85-.07zM12 0c-3.784 0-4.285.016-5.773.083-4.722.211-6.755 2.24-6.965 6.965C.016 7.715 0 8.216 0 12s.016 4.285.083 5.773c.21 4.721 2.239 6.755 6.965 6.965 1.488.067 1.99.083 5.773.083s4.285-.016 5.773-.083c4.721-.21 6.755-2.239 6.965-6.965.067-1.488.083-1.99.083-5.773s-.016-4.285-.083-5.773c-.21-4.722-2.239-6.755-6.965-6.965C16.285.016 15.784 0 12 0zm0 14.5c-1.381 0-2.5-1.119-2.5-2.5s1.119-2.5 2.5-2.5 2.5 1.119 2.5 2.5-1.119 2.5-2.5 2.5z"/></svg>
|
| 240 |
-
</a>
|
| 241 |
-
</div>
|
| 242 |
-
</div>
|
| 243 |
-
|
| 244 |
-
<div>
|
| 245 |
-
<h3 class="text-lg font-semibold text-white mb-4">Plateforme</h3>
|
| 246 |
-
<ul class="space-y-3 text-gray-400">
|
| 247 |
-
<li><a href="/tarifs" class="hover:text-blue-500 transition duration-200">Tarifs</a></li>
|
| 248 |
-
<li><a href="/documentation" class="hover:text-blue-500 transition duration-200">Documentation</a></li>
|
| 249 |
-
<li><a href="/connexion" class="hover:text-blue-500 transition duration-200">Connexion</a></li>
|
| 250 |
-
<li><a href="/support" class="hover:text-blue-500 transition duration-200">Support</a></li>
|
| 251 |
-
</ul>
|
| 252 |
-
</div>
|
| 253 |
-
|
| 254 |
-
<div>
|
| 255 |
-
<h3 class="text-lg font-semibold text-white mb-4">Légal</h3>
|
| 256 |
-
<ul class="space-y-3 text-gray-400">
|
| 257 |
-
<li><a href="/politique-confidentialite" class="hover:text-blue-500 transition duration-200">Politique de Confidentialité</a></li>
|
| 258 |
-
<li><a href="/mentions-legales" class="hover:text-blue-500 transition duration-200">Mentions Légales</a></li>
|
| 259 |
-
<li><a href="/conditions-utilisation" class="hover:text-blue-500 transition duration-200">Conditions d'Utilisation</a></li>
|
| 260 |
-
<li><a href="/a-propos" class="hover:text-blue-500 transition duration-200">À Propos</a></li>
|
| 261 |
-
</ul>
|
| 262 |
-
</div>
|
| 263 |
-
|
| 264 |
-
<div class="col-span-2 md:col-span-1">
|
| 265 |
-
<h3 class="text-lg font-semibold text-white mb-4">Ressources</h3>
|
| 266 |
-
<ul class="space-y-3 text-gray-400">
|
| 267 |
-
<li><a href="mailto:support@nexus.com" class="hover:text-blue-500 transition duration-200">Contact Email</a></li>
|
| 268 |
-
<li><a href="/dashboard" class="hover:text-blue-500 transition duration-200">Espace Client</a></li>
|
| 269 |
-
<li><a href="/api-logs" class="hover:text-blue-500 transition duration-200">Statut API</a></li>
|
| 270 |
-
</ul>
|
| 271 |
-
</div>
|
| 272 |
-
|
| 273 |
-
</div>
|
| 274 |
-
|
| 275 |
-
<div class="mt-10 pt-6 border-t border-gray-800 text-center text-gray-500 text-sm">
|
| 276 |
-
© 2025 Nexus. Tous droits réservés. Construit pour l'ère des microservices.
|
| 277 |
-
</div>
|
| 278 |
-
</div>
|
| 279 |
-
</footer>
|
| 280 |
-
|
| 281 |
-
</body>
|
| 282 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/checkout.html
DELETED
|
@@ -1,246 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Paiement - Mailix | Validation d'Email</title>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 11 |
-
<script src="https://js.stripe.com/v3/"></script>
|
| 12 |
-
<style>
|
| 13 |
-
/* PHASE 1 : Configuration et Base du Style (Dark Mode Exclusif & Pro) */
|
| 14 |
-
/* Suppression de toute la logique du mode clair. */
|
| 15 |
-
:root {
|
| 16 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 17 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil */
|
| 18 |
-
--bg-section: #141414;
|
| 19 |
-
--bg-code: #141414;
|
| 20 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 21 |
-
--color-accent: #4ade80; /* Vert Vif */
|
| 22 |
-
--text-color: #ffffff;
|
| 23 |
-
--text-secondary: #d1d5db; /* gray-300 */
|
| 24 |
-
--text-muted: #9ca3af; /* gray-400 */
|
| 25 |
-
--text-blue: var(--color-accent); /* Remplacer le bleu par le vert accent partout */
|
| 26 |
-
--shadow-color: rgba(0, 0, 0, 0.5);
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/* Application des variables aux styles existants et aux nouveaux éléments */
|
| 30 |
-
body {
|
| 31 |
-
font-family: 'Inter', sans-serif;
|
| 32 |
-
background-color: var(--bg-body);
|
| 33 |
-
color: var(--text-color);
|
| 34 |
-
min-height: 100vh;
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
/* Fix pour le header qui est maintenant fixed */
|
| 38 |
-
.header-border { border-color: var(--border-color); }
|
| 39 |
-
.bg-header { background-color: var(--bg-body); }
|
| 40 |
-
|
| 41 |
-
/* Adaptation Tailwind pour les autres éléments */
|
| 42 |
-
.section-bg {
|
| 43 |
-
background-color: var(--bg-section);
|
| 44 |
-
border-color: var(--border-color);
|
| 45 |
-
box-shadow: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
/* Cartes et Contraste (Border Subtile) */
|
| 49 |
-
.card-bg {
|
| 50 |
-
background-color: var(--bg-card);
|
| 51 |
-
border: 1px solid var(--border-color);
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
.text-blue-500-var { color: var(--text-blue); } /* Green Accent */
|
| 55 |
-
.text-gray-300-var { color: var(--text-secondary); }
|
| 56 |
-
.text-gray-400-var { color: var(--text-muted); }
|
| 57 |
-
|
| 58 |
-
/* Remplacement du bleu par le vert pour les boutons CTA */
|
| 59 |
-
.btn-primary {
|
| 60 |
-
background-color: var(--color-accent);
|
| 61 |
-
color: var(--bg-body) !important; /* Texte noir sur vert */
|
| 62 |
-
font-weight: bold;
|
| 63 |
-
box-shadow: 0 4px 6px -1px rgba(74, 222, 128, 0.3), 0 2px 4px -2px rgba(74, 222, 128, 0.3);
|
| 64 |
-
transition: background-color 0.2s;
|
| 65 |
-
}
|
| 66 |
-
.btn-primary:hover {
|
| 67 |
-
opacity: 0.9;
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
/* Style pour l'élément Stripe Elements (input) - ADAPTÉ AU NOUVEAU THÈME */
|
| 71 |
-
#card-element {
|
| 72 |
-
padding: 1rem;
|
| 73 |
-
border: 1px solid var(--border-color);
|
| 74 |
-
background-color: var(--bg-card);
|
| 75 |
-
border-radius: 0.5rem;
|
| 76 |
-
margin-bottom: 1rem;
|
| 77 |
-
color: var(--text-color); /* Assurez-vous que le texte par défaut est lisible */
|
| 78 |
-
}
|
| 79 |
-
</style>
|
| 80 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 81 |
-
</head>
|
| 82 |
-
<body class="min-h-screen">
|
| 83 |
-
|
| 84 |
-
<header class="fixed top-0 left-0 right-0 z-50 flex justify-center py-3 border-b header-border bg-header shadow-xl transition-colors duration-300">
|
| 85 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center w-full">
|
| 86 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-2 sm:mb-0">
|
| 87 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 88 |
-
</a>
|
| 89 |
-
<nav class="flex items-center space-x-2 sm:space-x-4">
|
| 90 |
-
<a href="/documentation" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 91 |
-
Documentation
|
| 92 |
-
</a>
|
| 93 |
-
<a href="/a-propos" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 94 |
-
À Propos
|
| 95 |
-
</a>
|
| 96 |
-
|
| 97 |
-
{% if is_logged_in %}
|
| 98 |
-
<a href="/dashboard" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 99 |
-
Dashboard
|
| 100 |
-
</a>
|
| 101 |
-
{% else %}
|
| 102 |
-
<a href="/connexion" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 103 |
-
Connexion
|
| 104 |
-
</a>
|
| 105 |
-
{% endif %}
|
| 106 |
-
</nav>
|
| 107 |
-
</div>
|
| 108 |
-
</header>
|
| 109 |
-
|
| 110 |
-
<div class="pt-20 container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 111 |
-
|
| 112 |
-
<main class="flex flex-col items-center">
|
| 113 |
-
|
| 114 |
-
<div class="max-w-xl w-full p-6 sm:p-8 card-bg shadow-2xl border-t-4 border-green-500">
|
| 115 |
-
|
| 116 |
-
<h1 class="text-3xl font-extrabold text-white mb-6 text-center">
|
| 117 |
-
Finaliser votre Abonnement Mailix
|
| 118 |
-
</h1>
|
| 119 |
-
|
| 120 |
-
<div class="mb-8 border border-[var(--border-color)] p-4 card-bg">
|
| 121 |
-
<h2 class="text-xl font-bold text-white mb-3 border-b border-[var(--border-color)] pb-2"> Récapitulatif de l'Offre </h2>
|
| 122 |
-
<div class="space-y-2 text-gray-300-var">
|
| 123 |
-
<div class="flex justify-between">
|
| 124 |
-
<span>Plan Sélectionné:</span>
|
| 125 |
-
<span class="font-semibold text-white">{{ plan.title }}</span>
|
| 126 |
-
</div>
|
| 127 |
-
<div class="text-sm italic text-gray-400-var">
|
| 128 |
-
{{ plan.description }}
|
| 129 |
-
</div>
|
| 130 |
-
<div class="flex justify-between pt-2 border-t border-[var(--border-color)] font-bold text-lg text-yellow-400">
|
| 131 |
-
<span>Total (TVA incluse):</span>
|
| 132 |
-
<span>{{ plan.price_display }}</span>
|
| 133 |
-
</div>
|
| 134 |
-
</div>
|
| 135 |
-
</div>
|
| 136 |
-
|
| 137 |
-
<form id="payment-form">
|
| 138 |
-
<h2 class="text-xl font-bold text-white mb-4"> Informations de Paiement </h2>
|
| 139 |
-
<div id="card-element" class="shadow-md">
|
| 140 |
-
</div>
|
| 141 |
-
<div id="card-errors" role="alert" class="text-red-500 text-sm mb-4"></div>
|
| 142 |
-
|
| 143 |
-
<button id="submit-button" class="w-full px-6 py-3 btn-primary text-white text-lg font-bold shadow-md transition duration-300" type="submit">
|
| 144 |
-
Payer maintenant {{ plan.price_display }}
|
| 145 |
-
</button>
|
| 146 |
-
|
| 147 |
-
<p class="mt-4 text-center text-sm text-gray-400-var">
|
| 148 |
-
En cliquant sur "Payer maintenant", vous acceptez les <a href="/cgv" class="text-blue-500-var hover:underline">Conditions Générales de Vente</a> de Mailix.
|
| 149 |
-
</p>
|
| 150 |
-
</form>
|
| 151 |
-
</div>
|
| 152 |
-
</main>
|
| 153 |
-
|
| 154 |
-
<footer class="mt-12 pt-8 border-t border-[var(--border-color)] text-center text-sm text-gray-400-var">
|
| 155 |
-
© 2024 Mailix. Tous droits réservés.
|
| 156 |
-
</footer>
|
| 157 |
-
</div>
|
| 158 |
-
|
| 159 |
-
<script>
|
| 160 |
-
const stripe = Stripe('pk_test_votre_cle_publique_stripe'); // Remplacez par la clé réelle si besoin
|
| 161 |
-
const elements = stripe.elements();
|
| 162 |
-
|
| 163 |
-
// Configuration du style pour Stripe Elements (pour qu'il corresponde au thème sombre)
|
| 164 |
-
const style = {
|
| 165 |
-
base: {
|
| 166 |
-
color: '#EAEAEA', // La couleur du texte principal dans le thème noir
|
| 167 |
-
fontFamily: 'Arial, sans-serif',
|
| 168 |
-
fontSmoothing: 'antialiased',
|
| 169 |
-
fontSize: '16px',
|
| 170 |
-
'::placeholder': {
|
| 171 |
-
color: '#9CA3AF' // La couleur du texte muted dans le thème noir
|
| 172 |
-
}
|
| 173 |
-
},
|
| 174 |
-
invalid: {
|
| 175 |
-
color: '#fa755a',
|
| 176 |
-
iconColor: '#fa755a'
|
| 177 |
-
}
|
| 178 |
-
};
|
| 179 |
-
|
| 180 |
-
// Crée une instance du Card Element avec le style
|
| 181 |
-
const cardElement = elements.create('card', {style: style});
|
| 182 |
-
cardElement.mount('#card-element');
|
| 183 |
-
|
| 184 |
-
cardElement.on('change', function(event) {
|
| 185 |
-
const displayError = document.getElementById('card-errors');
|
| 186 |
-
if (event.error) {
|
| 187 |
-
displayError.textContent = event.error.message;
|
| 188 |
-
} else {
|
| 189 |
-
displayError.textContent = '';
|
| 190 |
-
}
|
| 191 |
-
});
|
| 192 |
-
|
| 193 |
-
// Logique de paiement
|
| 194 |
-
const form = document.getElementById('payment-form');
|
| 195 |
-
const submitButton = document.getElementById('submit-button');
|
| 196 |
-
const cardErrors = document.getElementById('card-errors');
|
| 197 |
-
let clientSecret = null;
|
| 198 |
-
|
| 199 |
-
// Fonction pour récupérer le client secret (doit être implémentée côté serveur)
|
| 200 |
-
function fetchClientSecret() {
|
| 201 |
-
// Ceci est une SIMULATION. Dans un environnement réel, vous feriez un 'fetch'
|
| 202 |
-
// pour récupérer le clientSecret depuis un endpoint de votre backend.
|
| 203 |
-
clientSecret = 'pi_votre_client_secret_simule';
|
| 204 |
-
}
|
| 205 |
-
|
| 206 |
-
form.addEventListener('submit', async (event) => {
|
| 207 |
-
event.preventDefault();
|
| 208 |
-
|
| 209 |
-
if (!clientSecret) {
|
| 210 |
-
cardErrors.textContent = "Veuillez patienter pendant l'initialisation du paiement.";
|
| 211 |
-
return;
|
| 212 |
-
}
|
| 213 |
-
|
| 214 |
-
// Mettre à jour le texte du bouton et le désactiver
|
| 215 |
-
submitButton.disabled = true;
|
| 216 |
-
submitButton.classList.add('bg-gray-600', 'hover:bg-gray-600'); // Style d'état de chargement
|
| 217 |
-
submitButton.textContent = 'Traitement en cours...';
|
| 218 |
-
|
| 219 |
-
// Confirmer le paiement côté client avec le clientSecret et l'élément Stripe
|
| 220 |
-
const { error, paymentIntent } = await stripe.confirmCardPayment(clientSecret, {
|
| 221 |
-
payment_method: {
|
| 222 |
-
card: cardElement,
|
| 223 |
-
billing_details: {
|
| 224 |
-
// Fournir les détails de l'utilisateur (email/nom) ici si disponibles
|
| 225 |
-
},
|
| 226 |
-
}
|
| 227 |
-
});
|
| 228 |
-
|
| 229 |
-
if (error) {
|
| 230 |
-
// Afficher les erreurs (ex: carte refusée, données invalides)
|
| 231 |
-
cardErrors.textContent = error.message;
|
| 232 |
-
submitButton.disabled = false;
|
| 233 |
-
// Rétablir le style et le texte du bouton
|
| 234 |
-
submitButton.classList.remove('bg-gray-600', 'hover:bg-gray-600');
|
| 235 |
-
submitButton.textContent = 'Payer maintenant {{ plan.price_display }}';
|
| 236 |
-
} else if (paymentIntent.status === 'succeeded') {
|
| 237 |
-
// Le paiement a réussi
|
| 238 |
-
window.location.href = `/dashboard?payment=success&intent=${paymentIntent.id}`;
|
| 239 |
-
}
|
| 240 |
-
});
|
| 241 |
-
|
| 242 |
-
// Démarrage : Récupérer le client secret au chargement
|
| 243 |
-
fetchClientSecret();
|
| 244 |
-
</script>
|
| 245 |
-
</body>
|
| 246 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/conditions_utilisation.html
DELETED
|
@@ -1,327 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Conditions d'Utilisation - Mailix</title>
|
| 8 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.21.0/tocbot.css">
|
| 10 |
-
<link rel="stylesheet"
|
| 11 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 12 |
-
<style>
|
| 13 |
-
/* Configuration et Base du Style (Dark Mode Exclusif & Pro - adapté de index.html) */
|
| 14 |
-
:root {
|
| 15 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 16 |
-
--bg-card: #141414;
|
| 17 |
-
--bg-section: #141414;
|
| 18 |
-
--bg-code: #141414;
|
| 19 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 20 |
-
--color-accent: #4ade80; /* Vert Vif (Mailix accent) */
|
| 21 |
-
--text-color: #ffffff;
|
| 22 |
-
--text-secondary: #d1d5db;
|
| 23 |
-
--text-muted: #9ca3af;
|
| 24 |
-
--text-blue: var(--color-accent); /* Remplacer le bleu par le vert accent partout */
|
| 25 |
-
--shadow-color: rgba(0, 0, 0, 0.5);
|
| 26 |
-
}
|
| 27 |
-
|
| 28 |
-
body {
|
| 29 |
-
font-family: 'Inter', sans-serif;
|
| 30 |
-
background-color: var(--bg-body);
|
| 31 |
-
color: var(--text-color);
|
| 32 |
-
min-height: 100vh;
|
| 33 |
-
}
|
| 34 |
-
|
| 35 |
-
/* Fix pour le header */
|
| 36 |
-
.header-border { border-color: var(--border-color); }
|
| 37 |
-
.bg-header { background-color: var(--bg-body); }
|
| 38 |
-
|
| 39 |
-
/* Style pour les boutons (adapté de index.html) */
|
| 40 |
-
.btn-primary {
|
| 41 |
-
background-color: var(--color-accent);
|
| 42 |
-
color: var(--bg-body) !important; /* Texte noir sur vert */
|
| 43 |
-
font-weight: bold;
|
| 44 |
-
transition: background-color 0.2s;
|
| 45 |
-
border-radius: 0.5rem; /* Coins légèrement arrondis pour les boutons CTA */
|
| 46 |
-
}
|
| 47 |
-
.btn-primary:hover {
|
| 48 |
-
opacity: 0.9;
|
| 49 |
-
}
|
| 50 |
-
|
| 51 |
-
/* Styles personnalisés pour Tocbot (adaptés au thème Mailix vert) */
|
| 52 |
-
.toc-list {
|
| 53 |
-
list-style: none;
|
| 54 |
-
padding-left: 0;
|
| 55 |
-
margin: 0;
|
| 56 |
-
}
|
| 57 |
-
.toc-list-item {
|
| 58 |
-
margin-bottom: 0.25rem;
|
| 59 |
-
}
|
| 60 |
-
.toc-list-item a {
|
| 61 |
-
display: block;
|
| 62 |
-
padding: 0.5rem 0.75rem;
|
| 63 |
-
color: var(--text-muted); /* Gris pour les liens inactifs */
|
| 64 |
-
border-left: 2px solid transparent;
|
| 65 |
-
transition: all 0.2s;
|
| 66 |
-
font-size: 0.9rem;
|
| 67 |
-
}
|
| 68 |
-
|
| 69 |
-
.toc-list-item a:hover {
|
| 70 |
-
color: var(--text-color);
|
| 71 |
-
border-left-color: var(--color-accent); /* Vert accent au survol */
|
| 72 |
-
}
|
| 73 |
-
|
| 74 |
-
.is-active-link {
|
| 75 |
-
font-weight: 700;
|
| 76 |
-
color: var(--color-accent) !important; /* Vert accent */
|
| 77 |
-
border-left-color: var(--color-accent) !important;
|
| 78 |
-
background-color: #1F2937; /* Fond sombre subtil pour l'actif */
|
| 79 |
-
border-radius: 0;
|
| 80 |
-
}
|
| 81 |
-
|
| 82 |
-
/* Rendre le conteneur TOC moins large verticalement sur les grands écrans */
|
| 83 |
-
@media (min-width: 1024px) {
|
| 84 |
-
.js-toc-container {
|
| 85 |
-
max-height: calc(100vh - 8rem); /* Ajuste la hauteur pour qu'il ne prenne pas toute la hauteur de l'écran */
|
| 86 |
-
}
|
| 87 |
-
}
|
| 88 |
-
|
| 89 |
-
@media (max-width: 1023px) {
|
| 90 |
-
.js-toc-container { display: none; }
|
| 91 |
-
}
|
| 92 |
-
</style>
|
| 93 |
-
</head>
|
| 94 |
-
<body class="min-h-screen">
|
| 95 |
-
|
| 96 |
-
<header class="fixed top-0 left-0 right-0 z-50 flex justify-center py-3 border-b header-border bg-header shadow-xl transition-colors duration-300">
|
| 97 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center w-full">
|
| 98 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-2 sm:mb-0">
|
| 99 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 100 |
-
</a>
|
| 101 |
-
<nav class="flex items-center space-x-2 sm:space-x-4">
|
| 102 |
-
|
| 103 |
-
<a href="/documentation" class="px-2 py-1 sm:px-4 sm:py-2 text-white hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 104 |
-
Docs
|
| 105 |
-
</a>
|
| 106 |
-
<a href="/tarifs" class="px-2 py-1 sm:px-4 sm:py-2 text-white hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 107 |
-
Tarifs
|
| 108 |
-
</a>
|
| 109 |
-
<a href="/a-propos" class="px-2 py-1 sm:px-4 sm:py-2 text-white hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden md:block">
|
| 110 |
-
Enterprise
|
| 111 |
-
</a>
|
| 112 |
-
<a href="/support" class="px-2 py-1 sm:px-4 sm:py-2 text-white hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden sm:block">
|
| 113 |
-
Support
|
| 114 |
-
</a>
|
| 115 |
-
|
| 116 |
-
<a href="/connexion" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 117 |
-
Connexion
|
| 118 |
-
</a>
|
| 119 |
-
|
| 120 |
-
</nav>
|
| 121 |
-
</div>
|
| 122 |
-
</header>
|
| 123 |
-
<div class="pt-20 container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 124 |
-
|
| 125 |
-
<main class="flex flex-col lg:flex-row lg:space-x-8">
|
| 126 |
-
|
| 127 |
-
<div class="lg:w-3/4 js-toc-content">
|
| 128 |
-
|
| 129 |
-
<h1 class="text-4xl font-extrabold text-white mb-6">
|
| 130 |
-
Conditions Générales d'Utilisation (CGU)
|
| 131 |
-
</h1>
|
| 132 |
-
<p class="text-gray-400 text-lg mb-10 border-l-4 border-green-500 pl-4 italic">
|
| 133 |
-
Ces conditions régissent l'accès et l'utilisation de tous les services Mailix (Validation d'Email). L'utilisation de notre plateforme vaut acceptation.
|
| 134 |
-
</p>
|
| 135 |
-
|
| 136 |
-
<h2 id="acceptation-cgu" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 137 |
-
1. Acceptation des Conditions
|
| 138 |
-
</h2>
|
| 139 |
-
<p class="text-gray-300 mb-6">
|
| 140 |
-
En créant un compte, en vous connectant, en accédant à l'API ou en utilisant l'un des services fournis par Mailix (notre service de validation d'email), vous reconnaissez avoir lu, compris et accepté d'être lié par les présentes Conditions Générales d'Utilisation (les "CGU"), ainsi que par notre Politique de Confidentialité. Si vous n'acceptez pas ces CGU, vous ne devez pas utiliser la Plateforme.
|
| 141 |
-
</p>
|
| 142 |
-
|
| 143 |
-
<h2 id="services-api" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 144 |
-
2. Description des Services et de l'API
|
| 145 |
-
</h2>
|
| 146 |
-
<p class="text-gray-300 mb-4">
|
| 147 |
-
Mailix est une plateforme de validation d'email via API (SaaS). L'accès à l'API est fourni par le biais d'une clé API unique et confidentielle associée à votre compte.
|
| 148 |
-
</p>
|
| 149 |
-
|
| 150 |
-
<h3 id="cle-api" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 151 |
-
2.1. Clé API et Sécurité
|
| 152 |
-
</h3>
|
| 153 |
-
<p class="text-gray-300 mb-6">
|
| 154 |
-
Vous êtes responsable du maintien de la confidentialité de votre clé API. Toute activité effectuée sous votre clé API sera considérée comme ayant été effectuée par vous. Vous devez nous notifier immédiatement de toute utilisation non autorisée ou de toute autre violation de sécurité.
|
| 155 |
-
</p>
|
| 156 |
-
|
| 157 |
-
<h3 id="limites-utilisation" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 158 |
-
2.2. Limites d'Utilisation
|
| 159 |
-
</h3>
|
| 160 |
-
<p class="text-gray-300 mb-6">
|
| 161 |
-
Chaque plan d'abonnement (voir `/tarifs`) est soumis à des limites strictes de requêtes mensuelles ou horaires pour la validation d'e-mails. Le dépassement de ces limites peut entraîner des frais supplémentaires ou la suspension de l'accès à l'API. Nous nous réservons le droit de modifier les limites à tout moment avec un préavis.
|
| 162 |
-
</p>
|
| 163 |
-
|
| 164 |
-
<h2 id="obligations-utilisateur" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 165 |
-
3. Obligations de l'Utilisateur
|
| 166 |
-
</h2>
|
| 167 |
-
<ul class="list-disc list-inside text-gray-300 space-y-2 ml-4 mb-6">
|
| 168 |
-
<li>Ne pas utiliser l'API à des fins illégales, frauduleuses, ou non autorisées.</li>
|
| 169 |
-
<li>Ne pas tenter de perturber ou de contourner les mesures de sécurité de Mailix (comme le rate limiting).</li>
|
| 170 |
-
<li>S'assurer que les données transmises via l'API ne contiennent aucun virus ou code malveillant.</li>
|
| 171 |
-
<li>Ne pas revendre, céder ou transférer votre clé API ou votre compte à un tiers sans notre autorisation écrite.</li>
|
| 172 |
-
</ul>
|
| 173 |
-
|
| 174 |
-
<h2 id="suspension-resiliation" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 175 |
-
4. Suspension et Résiliation
|
| 176 |
-
</h2>
|
| 177 |
-
<p class="text-gray-300 mb-4">
|
| 178 |
-
Mailix se réserve le droit de suspendre ou de résilier votre accès aux Services API de validation, sans préavis ni responsabilité, si :
|
| 179 |
-
</p>
|
| 180 |
-
<ul class="list-decimal list-inside text-gray-300 space-y-2 ml-4 mb-6">
|
| 181 |
-
<li>Vous enfreignez de manière significative les présentes CGU.</li>
|
| 182 |
-
<li>Vous ne payez pas les frais d'abonnement ou de dépassement à l'échéance.</li>
|
| 183 |
-
<li>Nous avons des motifs raisonnables de croire que votre utilisation compromet la sécurité de la Plateforme ou des autres Utilisateurs.</li>
|
| 184 |
-
</ul>
|
| 185 |
-
|
| 186 |
-
<h2 id="dispositions-financieres" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 187 |
-
5. Dispositions Financières
|
| 188 |
-
</h2>
|
| 189 |
-
|
| 190 |
-
<h3 id="tarification" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 191 |
-
5.1. Tarification
|
| 192 |
-
</h3>
|
| 193 |
-
<p class="text-gray-300 mb-6">
|
| 194 |
-
Le prix du Service de validation d'e-mail est basé sur le plan d'abonnement sélectionné et la consommation réelle (nombre de requêtes). Les prix sont indiqués sur la page Tarifs (`/tarifs`) et sont sujets à modification avec préavis.
|
| 195 |
-
</p>
|
| 196 |
-
|
| 197 |
-
<h3 id="paiement" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 198 |
-
5.2. Paiement
|
| 199 |
-
</h3>
|
| 200 |
-
<p class="text-gray-300 mb-6">
|
| 201 |
-
Les paiements sont traités via des prestataires de services tiers. Vous acceptez de vous conformer à leurs conditions d'utilisation. En cas d'échec de paiement, l'accès à l'API sera automatiquement suspendu.
|
| 202 |
-
</p>
|
| 203 |
-
|
| 204 |
-
<h2 id="propriete-intellectuelle" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 205 |
-
6. Propriété Intellectuelle
|
| 206 |
-
</h2>
|
| 207 |
-
<p class="text-gray-300 mb-6">
|
| 208 |
-
Tous les droits de propriété intellectuelle relatifs aux services Mailix, y compris le logiciel de validation d'e-mail, les API, la documentation et le site Web, sont la propriété exclusive de Mailix.
|
| 209 |
-
</p>
|
| 210 |
-
|
| 211 |
-
<h2 id="dispositions-generales" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 212 |
-
7. Dispositions Générales
|
| 213 |
-
</h2>
|
| 214 |
-
|
| 215 |
-
<h3 id="modification-cgu" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 216 |
-
7.1. Modification des CGU
|
| 217 |
-
</h3>
|
| 218 |
-
<p class="text-gray-300 mb-6">
|
| 219 |
-
Nous nous réservons le droit de modifier les présentes CGU à tout moment. Les modifications prendront effet dès leur publication sur cette page. Il est de votre responsabilité de consulter régulièrement ces conditions.
|
| 220 |
-
</p>
|
| 221 |
-
|
| 222 |
-
<h3 id="droit-applicable" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 223 |
-
7.2. Droit Applicable
|
| 224 |
-
</h3>
|
| 225 |
-
<p class="text-gray-300 mb-6">
|
| 226 |
-
Les présentes CGU sont régies et interprétées conformément aux lois de la juridiction où Mailix est enregistré, à l'exclusion de ses règles de conflit de lois.
|
| 227 |
-
</p>
|
| 228 |
-
|
| 229 |
-
</div>
|
| 230 |
-
|
| 231 |
-
<aside class="lg:w-1/4 lg:flex-shrink-0">
|
| 232 |
-
<div class="sticky top-24 js-toc-container">
|
| 233 |
-
<div class="bg-gray-900 border border-gray-700 p-4 shadow-xl">
|
| 234 |
-
<p class="font-bold text-lg mb-3 border-b border-gray-700 pb-2 text-white">Table des Matières</p>
|
| 235 |
-
<nav id="toc" class="toc"></nav>
|
| 236 |
-
</div>
|
| 237 |
-
</div>
|
| 238 |
-
</aside>
|
| 239 |
-
|
| 240 |
-
</main>
|
| 241 |
-
|
| 242 |
-
<footer class="mt-20 border-t border-green-500/50 pt-8">
|
| 243 |
-
<div class="grid grid-cols-4 gap-8">
|
| 244 |
-
|
| 245 |
-
<div class="col-span-4 md:col-span-1">
|
| 246 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider">MAILIX</a>
|
| 247 |
-
<p class="text-gray-400 mt-4 text-sm">Validation d'Email en Temps Réel</p>
|
| 248 |
-
<div class="flex space-x-4 mt-6">
|
| 249 |
-
<a href="#" class="text-gray-400 hover:text-green-500 transition duration-200">
|
| 250 |
-
<i class="fab fa-twitter"></i>
|
| 251 |
-
</a>
|
| 252 |
-
<a href="#" class="text-gray-400 hover:text-green-500 transition duration-200">
|
| 253 |
-
<i class="fab fa-linkedin-in"></i>
|
| 254 |
-
</a>
|
| 255 |
-
</div>
|
| 256 |
-
</div>
|
| 257 |
-
|
| 258 |
-
<div class="col-span-2 md:col-span-1">
|
| 259 |
-
<h3 class="text-lg font-semibold text-white mb-4">Produit</h3>
|
| 260 |
-
<ul class="space-y-3 text-gray-400">
|
| 261 |
-
<li><a href="/documentation" class="hover:text-green-500 transition duration-200">Documentation API</a></li>
|
| 262 |
-
<li><a href="/tarifs" class="hover:text-green-500 transition duration-200">Tarifs</a></li>
|
| 263 |
-
<li><a href="/documentation" class="hover:text-green-500 transition duration-200">Statut</a></li>
|
| 264 |
-
</ul>
|
| 265 |
-
</div>
|
| 266 |
-
|
| 267 |
-
<div class="col-span-2 md:col-span-1">
|
| 268 |
-
<h3 class="text-lg font-semibold text-white mb-4">Légal</h3>
|
| 269 |
-
<ul class="space-y-3 text-gray-400">
|
| 270 |
-
<li><a href="/politique-confidentialite" class="hover:text-green-500 transition duration-200">Politique de Confidentialité</a></li>
|
| 271 |
-
<li><a href="/mentions-legales" class="hover:text-green-500 transition duration-200">Mentions Légales</a></li>
|
| 272 |
-
<li><a href="/conditions-utilisation" class="hover:text-green-500 transition duration-200">Conditions d'Utilisation</a></li>
|
| 273 |
-
<li><a href="/a-propos" class="hover:text-green-500 transition duration-200">À Propos</a></li>
|
| 274 |
-
</ul>
|
| 275 |
-
</div>
|
| 276 |
-
|
| 277 |
-
<div class="col-span-2 md:col-span-1">
|
| 278 |
-
<h3 class="text-lg font-semibold text-white mb-4">Ressources</h3>
|
| 279 |
-
<ul class="space-y-3 text-gray-400">
|
| 280 |
-
<li><a href="mailto:support@mailix.com" class="hover:text-green-500 transition duration-200">Contact Email</a></li>
|
| 281 |
-
<li><a href="/dashboard" class="hover:text-green-500 transition duration-200">Espace Client</a></li>
|
| 282 |
-
<li><a href="/api-logs" class="hover:text-green-500 transition duration-200">Statut API</a></li>
|
| 283 |
-
</ul>
|
| 284 |
-
</div>
|
| 285 |
-
|
| 286 |
-
</div>
|
| 287 |
-
|
| 288 |
-
<div class="mt-10 pt-6 border-t border-gray-700 text-center text-gray-500 text-sm">
|
| 289 |
-
© 2025 Mailix. Tous droits réservés.
|
| 290 |
-
</div>
|
| 291 |
-
|
| 292 |
-
</footer>
|
| 293 |
-
|
| 294 |
-
</div>
|
| 295 |
-
|
| 296 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.21.0/tocbot.min.js"></script>
|
| 297 |
-
<script>
|
| 298 |
-
document.addEventListener('DOMContentLoaded', () => {
|
| 299 |
-
// Initialisation de Tocbot
|
| 300 |
-
tocbot.init({
|
| 301 |
-
tocSelector: '.js-toc-container',
|
| 302 |
-
contentSelector: '.js-toc-content',
|
| 303 |
-
headingSelector: 'h2, h3',
|
| 304 |
-
// Utiliser la balise nav à l'intérieur du conteneur
|
| 305 |
-
ignoreSelector: '.ignore-toc',
|
| 306 |
-
linkClass: 'toc-list-item a',
|
| 307 |
-
isCollapsibleList: true,
|
| 308 |
-
collapseDepth: 3,
|
| 309 |
-
scrollSmooth: true,
|
| 310 |
-
scrollSmoothDuration: 420,
|
| 311 |
-
headingsOffset: 80, // Offset pour tenir compte du header fixe
|
| 312 |
-
});
|
| 313 |
-
|
| 314 |
-
// Corriger l'injection de Tocbot pour qu'elle utilise la balise <nav id="toc"> existante
|
| 315 |
-
const tocElement = document.getElementById('toc');
|
| 316 |
-
const tocContainer = document.querySelector('.js-toc-container');
|
| 317 |
-
if (tocElement && tocContainer) {
|
| 318 |
-
// Déplacer les listes générées par tocbot dans la balise <nav id="toc">
|
| 319 |
-
const tocList = tocContainer.querySelector('.toc-list');
|
| 320 |
-
if (tocList) {
|
| 321 |
-
tocElement.appendChild(tocList);
|
| 322 |
-
}
|
| 323 |
-
}
|
| 324 |
-
});
|
| 325 |
-
</script>
|
| 326 |
-
</body>
|
| 327 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/connexion.html
DELETED
|
@@ -1,222 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Connexion - Mailix | Validation d'Email</title>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 11 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 12 |
-
<style>
|
| 13 |
-
/* Styles Dark Mode Exclusif (similaire à index.html) */
|
| 14 |
-
:root {
|
| 15 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 16 |
-
--bg-card: #141414; /* Fond de carte/input */
|
| 17 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 18 |
-
--color-accent: #4ade80; /* Vert Vif (Mailix) */
|
| 19 |
-
--text-color: #ffffff;
|
| 20 |
-
--text-secondary: #d1d5db; /* gray-300 */
|
| 21 |
-
--shadow-color: rgba(0, 0, 0, 0.5);
|
| 22 |
-
}
|
| 23 |
-
|
| 24 |
-
body {
|
| 25 |
-
font-family: 'Inter', sans-serif;
|
| 26 |
-
background-color: var(--bg-body);
|
| 27 |
-
color: var(--text-color);
|
| 28 |
-
min-height: 100vh;
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/* Classes utilitaires pour le thème */
|
| 32 |
-
.bg-page-var { background-color: var(--bg-body); }
|
| 33 |
-
.bg-card-var { background-color: var(--bg-card); border: 1px solid var(--border-color); }
|
| 34 |
-
.text-color-var { color: var(--text-color); }
|
| 35 |
-
.border-color-var { border-color: var(--border-color); }
|
| 36 |
-
|
| 37 |
-
/* Input Field Styling */
|
| 38 |
-
input[type="text"],
|
| 39 |
-
input[type="email"],
|
| 40 |
-
input[type="password"] {
|
| 41 |
-
color: var(--text-color) !important;
|
| 42 |
-
background-color: var(--bg-card) !important;
|
| 43 |
-
border-color: var(--border-color) !important;
|
| 44 |
-
box-shadow: 0 1px 3px 0 var(--shadow-color), 0 1px 2px -1px var(--shadow-color);
|
| 45 |
-
}
|
| 46 |
-
.focus\:ring-primary-color-var:focus { --tw-ring-color: var(--color-accent); }
|
| 47 |
-
.focus\:border-primary-color-var:focus { border-color: var(--color-accent); }
|
| 48 |
-
|
| 49 |
-
/* Bouton Primaire (similaire à index.html) */
|
| 50 |
-
.btn-primary {
|
| 51 |
-
background-color: var(--color-accent);
|
| 52 |
-
color: var(--bg-body) !important; /* Texte noir sur vert */
|
| 53 |
-
font-weight: bold;
|
| 54 |
-
box-shadow: 0 4px 6px -1px rgba(74, 222, 128, 0.3), 0 2px 4px -2px rgba(74, 222, 128, 0.3);
|
| 55 |
-
transition: background-color 0.2s;
|
| 56 |
-
}
|
| 57 |
-
.btn-primary:hover { opacity: 0.9; }
|
| 58 |
-
|
| 59 |
-
/* Header Fixes (from index.html) */
|
| 60 |
-
.header-border { border-color: var(--border-color); }
|
| 61 |
-
.bg-header { background-color: var(--bg-body); }
|
| 62 |
-
|
| 63 |
-
/* Style for the eye icon button */
|
| 64 |
-
.password-toggle {
|
| 65 |
-
position: absolute;
|
| 66 |
-
right: 0.75rem;
|
| 67 |
-
top: 50%;
|
| 68 |
-
transform: translateY(-50%);
|
| 69 |
-
cursor: pointer;
|
| 70 |
-
z-index: 20;
|
| 71 |
-
color: var(--text-secondary);
|
| 72 |
-
}
|
| 73 |
-
</style>
|
| 74 |
-
</head>
|
| 75 |
-
<body class="bg-page-var min-h-screen flex flex-col">
|
| 76 |
-
|
| 77 |
-
<header class="fixed top-0 left-0 right-0 z-50 flex justify-center py-3 border-b header-border bg-header shadow-xl transition-colors duration-300">
|
| 78 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center w-full">
|
| 79 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-2 sm:mb-0">
|
| 80 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 81 |
-
</a>
|
| 82 |
-
<nav class="flex items-center space-x-2 sm:space-x-4">
|
| 83 |
-
|
| 84 |
-
<a href="/documentation" class="px-2 py-1 sm:px-4 sm:py-2 text-color-var hover:text-[var(--color-accent)] transition duration-200 font-medium text-sm sm:text-base">
|
| 85 |
-
Docs
|
| 86 |
-
</a>
|
| 87 |
-
<a href="/tarifs" class="px-2 py-1 sm:px-4 sm:py-2 text-color-var hover:text-[var(--color-accent)] transition duration-200 font-medium text-sm sm:text-base">
|
| 88 |
-
Tarifs
|
| 89 |
-
</a>
|
| 90 |
-
<a href="/a-propos" class="px-2 py-1 sm:px-4 sm:py-2 text-color-var hover:text-[var(--color-accent)] transition duration-200 font-medium text-sm sm:text-base hidden md:block">
|
| 91 |
-
Enterprise
|
| 92 |
-
</a>
|
| 93 |
-
<a href="/support" class="px-2 py-1 sm:px-4 sm:py-2 text-color-var hover:text-[var(--color-accent)] transition duration-200 font-medium text-sm sm:text-base hidden sm:block">
|
| 94 |
-
Support
|
| 95 |
-
</a>
|
| 96 |
-
|
| 97 |
-
<a href="/connexion" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 98 |
-
Connexion
|
| 99 |
-
</a>
|
| 100 |
-
<a href="/inscription" class="px-3 py-1 sm:px-4 sm:py-2 border-2 border-[var(--color-accent)] text-[var(--color-accent)] hover:bg-[var(--color-accent)] hover:text-black font-medium transition duration-200 hidden sm:block text-sm sm:text-base">
|
| 101 |
-
Inscription
|
| 102 |
-
</a>
|
| 103 |
-
|
| 104 |
-
</nav>
|
| 105 |
-
</div>
|
| 106 |
-
</header>
|
| 107 |
-
|
| 108 |
-
<div class="pt-20 flex flex-grow items-center justify-center p-4">
|
| 109 |
-
<div class="w-full max-w-6xl flex flex-col md:flex-row shadow-2xl rounded-lg overflow-hidden">
|
| 110 |
-
|
| 111 |
-
<div class="hidden md:block md:w-1/2 bg-[var(--color-accent)] p-12 flex flex-col justify-center items-center text-[var(--bg-body)]">
|
| 112 |
-
<span class="material-symbols-rounded text-6xl mb-6 text-[var(--bg-body)]">
|
| 113 |
-
mail_lock
|
| 114 |
-
</span>
|
| 115 |
-
<h3 class="text-4xl font-extrabold mb-4 text-center">Bienvenue sur Mailix !</h3>
|
| 116 |
-
<p class="text-center text-lg">
|
| 117 |
-
Connectez-vous pour accéder à votre tableau de bord de validation d'e-mails en temps réel.
|
| 118 |
-
</p>
|
| 119 |
-
<a href="/inscription" class="mt-8 text-center text-sm font-semibold hover:underline text-[var(--bg-body)]">
|
| 120 |
-
Pas encore de compte ? Inscrivez-vous.
|
| 121 |
-
</a>
|
| 122 |
-
</div>
|
| 123 |
-
|
| 124 |
-
<div class="w-full md:w-1/2 bg-card-var p-8 md:p-12">
|
| 125 |
-
<h2 class="text-3xl font-bold text-center text-color-var mb-8">Connexion à votre compte</h2>
|
| 126 |
-
<p id="message" class="text-center text-red-500 mb-4"></p>
|
| 127 |
-
|
| 128 |
-
<form id="loginForm">
|
| 129 |
-
<div class="mb-4">
|
| 130 |
-
<label for="username" class="block text-sm font-medium text-color-var">Adresse Email</label>
|
| 131 |
-
<input type="email" id="username" name="username" placeholder="votre@adresse-email.com" required
|
| 132 |
-
class="mt-1 block w-full px-3 py-2 border border-border-color-var rounded-md shadow-sm text-color-var focus:outline-none focus:ring-primary-color-var focus:border-primary-color-var">
|
| 133 |
-
</div>
|
| 134 |
-
|
| 135 |
-
<div class="mb-6 relative">
|
| 136 |
-
<label for="password" class="block text-sm font-medium text-color-var">Mot de passe</label>
|
| 137 |
-
<input type="password" id="password" name="password" placeholder="Saisissez votre mot de passe" required
|
| 138 |
-
class="mt-1 block w-full px-3 py-2 border border-border-color-var rounded-md shadow-sm text-color-var focus:outline-none focus:ring-primary-color-var focus:border-primary-color-var pr-10">
|
| 139 |
-
<button type="button" id="togglePassword" class="password-toggle focus:outline-none">
|
| 140 |
-
<i class="fas fa-eye"></i>
|
| 141 |
-
</button>
|
| 142 |
-
</div>
|
| 143 |
-
|
| 144 |
-
<div class="flex items-center justify-between mb-6">
|
| 145 |
-
<a href="/mot-de-passe-oublie" class="text-sm font-medium text-[var(--color-accent)] hover:text-[var(--text-secondary)]">
|
| 146 |
-
Mot de passe oublié ?
|
| 147 |
-
</a>
|
| 148 |
-
</div>
|
| 149 |
-
|
| 150 |
-
<button type="submit" class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-lg btn-primary focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[var(--color-accent)]">
|
| 151 |
-
Se Connecter
|
| 152 |
-
</button>
|
| 153 |
-
</form>
|
| 154 |
-
|
| 155 |
-
<div class="mt-6 text-center">
|
| 156 |
-
<p class="text-sm text-[var(--text-secondary)]">
|
| 157 |
-
Vous n'avez pas de compte ?
|
| 158 |
-
<a href="/inscription" class="font-medium text-[var(--color-accent)] hover:text-[var(--text-secondary)]">
|
| 159 |
-
Créer un compte Mailix
|
| 160 |
-
</a>
|
| 161 |
-
</p>
|
| 162 |
-
</div>
|
| 163 |
-
</div>
|
| 164 |
-
</div>
|
| 165 |
-
</div>
|
| 166 |
-
|
| 167 |
-
<script>
|
| 168 |
-
// Logique de soumission du formulaire (URL conservée : /api/login)
|
| 169 |
-
document.getElementById('loginForm').addEventListener('submit', function(e) {
|
| 170 |
-
e.preventDefault();
|
| 171 |
-
const form = e.target;
|
| 172 |
-
const formData = new FormData(form);
|
| 173 |
-
const data = Object.fromEntries(formData.entries());
|
| 174 |
-
const message = document.getElementById('message');
|
| 175 |
-
|
| 176 |
-
fetch('/api/login', {
|
| 177 |
-
method: 'POST',
|
| 178 |
-
headers: {
|
| 179 |
-
'Content-Type': 'application/json',
|
| 180 |
-
},
|
| 181 |
-
body: JSON.stringify(data),
|
| 182 |
-
})
|
| 183 |
-
.then(response => {
|
| 184 |
-
if (!response.ok) {
|
| 185 |
-
return response.json().then(err => { throw new Error(err.message || 'Échec de la connexion'); });
|
| 186 |
-
}
|
| 187 |
-
return response.json();
|
| 188 |
-
})
|
| 189 |
-
.then(data => {
|
| 190 |
-
message.textContent = 'Connexion réussie ! Redirection...';
|
| 191 |
-
message.className = 'text-[var(--color-accent)] mb-4';
|
| 192 |
-
// window.location.href = '/dashboard'; // Exemple de redirection
|
| 193 |
-
})
|
| 194 |
-
.catch(error => {
|
| 195 |
-
message.textContent = 'Erreur de connexion : Email ou mot de passe incorrect.';
|
| 196 |
-
message.className = 'text-red-500 mb-4';
|
| 197 |
-
});
|
| 198 |
-
});
|
| 199 |
-
|
| 200 |
-
// LOGIQUE DU BOUTON 'ŒIL' POUR LE MOT DE PASSE
|
| 201 |
-
const passwordInput = document.getElementById('password');
|
| 202 |
-
const toggleButton = document.getElementById('togglePassword');
|
| 203 |
-
const eyeIcon = toggleButton.querySelector('i');
|
| 204 |
-
|
| 205 |
-
toggleButton.addEventListener('click', function() {
|
| 206 |
-
// Basculer le type d'input entre 'password' et 'text'
|
| 207 |
-
const type = passwordInput.getAttribute('type') === 'password' ? 'text' : 'password';
|
| 208 |
-
passwordInput.setAttribute('type', type);
|
| 209 |
-
|
| 210 |
-
// Basculer l'icône de l'œil (fa-eye-slash pour masquer)
|
| 211 |
-
if (type === 'text') {
|
| 212 |
-
eyeIcon.classList.remove('fa-eye');
|
| 213 |
-
eyeIcon.classList.add('fa-eye-slash');
|
| 214 |
-
} else {
|
| 215 |
-
eyeIcon.classList.remove('fa-eye-slash');
|
| 216 |
-
eyeIcon.classList.add('fa-eye');
|
| 217 |
-
}
|
| 218 |
-
});
|
| 219 |
-
|
| 220 |
-
</script>
|
| 221 |
-
</body>
|
| 222 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/dashboard.html
DELETED
|
@@ -1,330 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="fr" class="dark">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Nexus| Tableau de Bord - Pro</title>
|
| 7 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 8 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
-
<link rel="stylesheet"
|
| 10 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 11 |
-
<style>
|
| 12 |
-
/* Configuration de la police Inter */
|
| 13 |
-
body { font-family: 'Inter', sans-serif; }
|
| 14 |
-
|
| 15 |
-
/* Transition pour un effet doux des couleurs */
|
| 16 |
-
.transition-colors-theme { transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
|
| 17 |
-
|
| 18 |
-
/* Style et positionnement du bouton de Thème */
|
| 19 |
-
.theme-switch {
|
| 20 |
-
background: none;
|
| 21 |
-
border: none;
|
| 22 |
-
cursor: pointer;
|
| 23 |
-
font-size: 24px;
|
| 24 |
-
transition: color 0.2s;
|
| 25 |
-
position: fixed; /* Reste fixe même si le reste défile */
|
| 26 |
-
top: 1rem;
|
| 27 |
-
right: 1rem;
|
| 28 |
-
z-index: 50; /* Doit être au-dessus de tout */
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/* Définir les Variables de Thème */
|
| 32 |
-
/* Mode Sombre (Défaut) */
|
| 33 |
-
:root, .dark {
|
| 34 |
-
--bg-page: #121212;
|
| 35 |
-
--bg-card: #1E1E1E;
|
| 36 |
-
--bg-sidebar: #1E1E1E; /* Sidebar aussi foncée que les cartes */
|
| 37 |
-
--bg-sidebar-active: #2C2C2C;
|
| 38 |
-
--border-sidebar: #383838;
|
| 39 |
-
--text-color: #FFFFFF;
|
| 40 |
-
--text-secondary: #D1D5DB;
|
| 41 |
-
--text-link: #3B82F6;
|
| 42 |
-
--text-link-hover: #60A5FA;
|
| 43 |
-
--input-bg: #2C2C2C;
|
| 44 |
-
--input-border: #4B5563;
|
| 45 |
-
--input-text-key: #6EE7B7; /* Vert clair pour la clé */
|
| 46 |
-
--primary-color: #3B82F6;
|
| 47 |
-
--primary-hover: #2563EB;
|
| 48 |
-
--warning-bg: #451A03; /* Orange très sombre */
|
| 49 |
-
--warning-border: #78350F;
|
| 50 |
-
--warning-text: #FBBF24;
|
| 51 |
-
}
|
| 52 |
-
/* Mode Clair */
|
| 53 |
-
.light {
|
| 54 |
-
--bg-page: #F5F5F5;
|
| 55 |
-
--bg-card: #FFFFFF;
|
| 56 |
-
--bg-sidebar: #FFFFFF;
|
| 57 |
-
--bg-sidebar-active: #F3F4F6;
|
| 58 |
-
--border-sidebar: #D1D5DB;
|
| 59 |
-
--text-color: #000000;
|
| 60 |
-
--text-secondary: #4B5563;
|
| 61 |
-
--text-link: #1D4ED8;
|
| 62 |
-
--text-link-hover: #3B82F6;
|
| 63 |
-
--input-bg: #FFFFFF;
|
| 64 |
-
--input-border: #D1D5DB;
|
| 65 |
-
--input-text-key: #059669; /* Vert foncé pour la clé */
|
| 66 |
-
--primary-color: #3B82F6;
|
| 67 |
-
--primary-hover: #2563EB;
|
| 68 |
-
--warning-bg: #FEF3C7; /* Jaune très clair */
|
| 69 |
-
--warning-border: #FBBF24;
|
| 70 |
-
--warning-text: #92400E;
|
| 71 |
-
}
|
| 72 |
-
|
| 73 |
-
/* Appliquer les variables au body et aux éléments */
|
| 74 |
-
.bg-page-var { background-color: var(--bg-page); }
|
| 75 |
-
.bg-card-var { background-color: var(--bg-card); }
|
| 76 |
-
.bg-sidebar-var { background-color: var(--bg-sidebar); }
|
| 77 |
-
.border-sidebar-var { border-color: var(--border-sidebar); }
|
| 78 |
-
.text-color-var { color: var(--text-color); }
|
| 79 |
-
.text-secondary-var { color: var(--text-secondary); }
|
| 80 |
-
.text-link-var { color: var(--text-link); }
|
| 81 |
-
.hover\:text-link-hover-var:hover { color: var(--text-link-hover); }
|
| 82 |
-
.bg-input-var { background-color: var(--input-bg); }
|
| 83 |
-
.border-input-var { border-color: var(--input-border); }
|
| 84 |
-
.text-input-key-var { color: var(--input-text-key); }
|
| 85 |
-
.bg-primary-color-var { background-color: var(--primary-color); }
|
| 86 |
-
.hover\:bg-primary-hover-var:hover { background-color: var(--primary-hover); }
|
| 87 |
-
.focus\:ring-primary-color-var:focus { --tw-ring-color: var(--primary-color); }
|
| 88 |
-
.focus\:border-primary-color-var:focus { border-color: var(--primary-color); }
|
| 89 |
-
.bg-sidebar-active-var { background-color: var(--bg-sidebar-active); }
|
| 90 |
-
.bg-warning-var { background-color: var(--warning-bg); }
|
| 91 |
-
.border-warning-var { border-color: var(--warning-border); }
|
| 92 |
-
.text-warning-var { color: var(--warning-text); }
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
/* Style pour les boutons et cartes carrés (Artboard) */
|
| 96 |
-
.btn-square, .card-square {
|
| 97 |
-
border-radius: 0; /* Supprime l'arrondi */
|
| 98 |
-
}
|
| 99 |
-
|
| 100 |
-
/* Styles spécifiques pour le chargement/spinner (Non utilisé ici, mais conservé pour cohérence) */
|
| 101 |
-
.spinner {
|
| 102 |
-
border-top-color: var(--primary-color); /* Utiliser la couleur primaire pour le spinner */
|
| 103 |
-
animation: spin 1s linear infinite;
|
| 104 |
-
}
|
| 105 |
-
@keyframes spin {
|
| 106 |
-
to { transform: rotate(360deg); }
|
| 107 |
-
}
|
| 108 |
-
|
| 109 |
-
/* Style pour la Sidebar - FIXE et complète */
|
| 110 |
-
.sidebar {
|
| 111 |
-
transition: transform 0.3s ease-in-out;
|
| 112 |
-
transform: translateX(-100%);
|
| 113 |
-
position: fixed;
|
| 114 |
-
top: 0;
|
| 115 |
-
left: 0;
|
| 116 |
-
z-index: 30;
|
| 117 |
-
height: 100vh;
|
| 118 |
-
}
|
| 119 |
-
|
| 120 |
-
.sidebar.open {
|
| 121 |
-
transform: translateX(0);
|
| 122 |
-
}
|
| 123 |
-
|
| 124 |
-
/* Sur les grands écrans (lg), la sidebar est statique et toujours visible */
|
| 125 |
-
@media (min-width: 1024px) {
|
| 126 |
-
.sidebar {
|
| 127 |
-
transform: translateX(0) !important;
|
| 128 |
-
position: fixed; /* Changement : Rendre la sidebar fixe sur grand écran */
|
| 129 |
-
height: 100vh;
|
| 130 |
-
}
|
| 131 |
-
}
|
| 132 |
-
|
| 133 |
-
/* Conteneur principal pour décaler le contenu sur les grands écrans (lg) */
|
| 134 |
-
/* La marge doit correspondre à la largeur de la sidebar (w-64) */
|
| 135 |
-
@media (min-width: 1024px) {
|
| 136 |
-
.main-content {
|
| 137 |
-
margin-left: 256px;
|
| 138 |
-
}
|
| 139 |
-
}
|
| 140 |
-
</style>
|
| 141 |
-
</head>
|
| 142 |
-
|
| 143 |
-
<body class="bg-page-var text-color-var min-h-screen transition-colors-theme">
|
| 144 |
-
|
| 145 |
-
<button id="theme-toggle" class="theme-switch text-color-var hover:text-link-hover-var transition-colors-theme">
|
| 146 |
-
<span class="material-symbols-rounded">dark_mode</span>
|
| 147 |
-
</button>
|
| 148 |
-
|
| 149 |
-
<aside id="sidebar" class="sidebar w-64 bg-sidebar-var border-r border-sidebar-var p-6 lg:block transition-colors-theme">
|
| 150 |
-
<div class="flex items-center mb-10">
|
| 151 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Nexus Pro Logo" class="h-8">
|
| 152 |
-
<span class="text-xl font-bold text-color-var ml-2 transition-colors-theme">Nexus Pro</span>
|
| 153 |
-
</div>
|
| 154 |
-
|
| 155 |
-
<nav class="space-y-3">
|
| 156 |
-
<a href="/dashboard" class="flex items-center p-3 bg-sidebar-active-var text-color-var rounded-lg transition duration-150 transition-colors-theme">
|
| 157 |
-
<span class="material-symbols-rounded">dashboard</span>
|
| 158 |
-
<span class="ml-3">Dashboard</span>
|
| 159 |
-
</a>
|
| 160 |
-
<a href="/api_key" class="flex items-center p-3 text-secondary-var hover:text-color-var hover:bg-sidebar-active-var rounded-lg transition duration-150 transition-colors-theme">
|
| 161 |
-
<span class="material-symbols-rounded">key</span>
|
| 162 |
-
<span class="ml-3">Clés API</span>
|
| 163 |
-
</a>
|
| 164 |
-
<a href="/api_logs" class="flex items-center p-3 text-secondary-var hover:text-color-var hover:bg-sidebar-active-var rounded-lg transition duration-150 transition-colors-theme">
|
| 165 |
-
<span class="material-symbols-rounded">list_alt</span>
|
| 166 |
-
<span class="ml-3">Logs d'API</span>
|
| 167 |
-
</a>
|
| 168 |
-
<a href="/profile" class="flex items-center p-3 text-secondary-var hover:text-color-var hover:bg-sidebar-active-var rounded-lg transition duration-150 transition-colors-theme">
|
| 169 |
-
<span class="material-symbols-rounded">person</span>
|
| 170 |
-
<span class="ml-3">Profil</span>
|
| 171 |
-
</a>
|
| 172 |
-
<a href="/logout" id="logout-button-sidebar" class="flex items-center p-3 text-red-500 hover:text-red-400 hover:bg-sidebar-active-var rounded-lg transition duration-150 transition-colors-theme">
|
| 173 |
-
<span class="material-symbols-rounded">logout</span>
|
| 174 |
-
<span class="ml-3">Déconnexion</span>
|
| 175 |
-
</a>
|
| 176 |
-
</nav>
|
| 177 |
-
|
| 178 |
-
<div class="absolute bottom-6 w-52 text-xs text-secondary-var transition-colors-theme">
|
| 179 |
-
<p>Connecté en tant que: <span class="font-semibold text-color-var transition-colors-theme">utilisateur@exemple.com</span></p>
|
| 180 |
-
<p>Plan: <span class="font-semibold text-color-var transition-colors-theme">PRO</span></p>
|
| 181 |
-
</div>
|
| 182 |
-
|
| 183 |
-
</aside>
|
| 184 |
-
|
| 185 |
-
<div id="main-content" class="main-content p-8 transition-colors-theme">
|
| 186 |
-
|
| 187 |
-
<header class="lg:hidden flex justify-between items-center mb-8">
|
| 188 |
-
<div class="flex items-center">
|
| 189 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Nexus Pro Logo" class="h-8">
|
| 190 |
-
<span class="text-xl font-bold text-color-var ml-2 transition-colors-theme">Nexus Pro</span>
|
| 191 |
-
</div>
|
| 192 |
-
<button id="sidebar-toggle" class="p-2 rounded-lg bg-sidebar-active-var hover:bg-sidebar-active-var/80 transition-colors-theme">
|
| 193 |
-
<span class="material-symbols-rounded text-color-var">menu</span>
|
| 194 |
-
</button>
|
| 195 |
-
</header>
|
| 196 |
-
|
| 197 |
-
<h1 class="text-3xl font-bold mb-8 text-color-var transition-colors-theme">Tableau de Bord Principal 📊</h1>
|
| 198 |
-
|
| 199 |
-
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
| 200 |
-
|
| 201 |
-
<div class="bg-card-var p-6 rounded-lg shadow-xl border border-sidebar-var transition-colors-theme">
|
| 202 |
-
<div class="flex items-center justify-between">
|
| 203 |
-
<span class="material-symbols-rounded text-3xl text-primary-color-var">cloud_upload</span>
|
| 204 |
-
<p class="text-2xl font-bold text-color-var">12,450</p>
|
| 205 |
-
</div>
|
| 206 |
-
<p class="text-sm text-secondary-var mt-2">Requêtes Totales</p>
|
| 207 |
-
</div>
|
| 208 |
-
|
| 209 |
-
<div class="bg-card-var p-6 rounded-lg shadow-xl border border-sidebar-var transition-colors-theme">
|
| 210 |
-
<div class="flex items-center justify-between">
|
| 211 |
-
<span class="material-symbols-rounded text-3xl text-input-text-key-var">check_circle</span>
|
| 212 |
-
<p class="text-2xl font-bold text-color-var">99.8%</p>
|
| 213 |
-
</div>
|
| 214 |
-
<p class="text-sm text-secondary-var mt-2">Taux de Succès</p>
|
| 215 |
-
</div>
|
| 216 |
-
|
| 217 |
-
<div class="bg-card-var p-6 rounded-lg shadow-xl border border-sidebar-var transition-colors-theme">
|
| 218 |
-
<div class="flex items-center justify-between">
|
| 219 |
-
<span class="material-symbols-rounded text-3xl text-link-hover-var">wallet</span>
|
| 220 |
-
<p class="text-2xl font-bold text-color-var">150$</p>
|
| 221 |
-
</div>
|
| 222 |
-
<p class="text-sm text-secondary-var mt-2">Coût Estimé (Mois)</p>
|
| 223 |
-
</div>
|
| 224 |
-
|
| 225 |
-
<div class="bg-card-var p-6 rounded-lg shadow-xl border border-sidebar-var transition-colors-theme">
|
| 226 |
-
<div class="flex items-center justify-between">
|
| 227 |
-
<span class="material-symbols-rounded text-3xl text-warning-text-var">person_add</span>
|
| 228 |
-
<p class="text-2xl font-bold text-color-var">482</p>
|
| 229 |
-
</div>
|
| 230 |
-
<p class="text-sm text-secondary-var mt-2">Utilisateurs Uniques</p>
|
| 231 |
-
</div>
|
| 232 |
-
|
| 233 |
-
</div>
|
| 234 |
-
|
| 235 |
-
<div class="bg-card-var p-6 rounded-lg shadow-xl border border-sidebar-var transition-colors-theme">
|
| 236 |
-
<h2 class="text-xl font-semibold mb-4 text-color-var transition-colors-theme">Journal d'Activité Récente</h2>
|
| 237 |
-
<p class="text-secondary-var mb-6 transition-colors-theme">Les 5 dernières actions significatives sur votre compte.</p>
|
| 238 |
-
|
| 239 |
-
<ul class="space-y-3">
|
| 240 |
-
<li class="p-3 border-b border-sidebar-var flex justify-between items-center text-sm">
|
| 241 |
-
<span class="text-color-var font-medium">API: Endpoint /generation appelé</span>
|
| 242 |
-
<span class="text-secondary-var">2 minutes ago</span>
|
| 243 |
-
</li>
|
| 244 |
-
<li class="p-3 border-b border-sidebar-var flex justify-between items-center text-sm">
|
| 245 |
-
<span class="text-color-var font-medium">Connexion réussie (IP: 192.168.1.1)</span>
|
| 246 |
-
<span class="text-secondary-var">1 heure ago</span>
|
| 247 |
-
</li>
|
| 248 |
-
<li class="p-3 border-b border-sidebar-var flex justify-between items-center text-sm">
|
| 249 |
-
<span class="text-color-var font-medium">API: Erreur de quota /analyse</span>
|
| 250 |
-
<span class="text-secondary-var text-red-400">3 heures ago</span>
|
| 251 |
-
</li>
|
| 252 |
-
<li class="p-3 border-b border-sidebar-var flex justify-between items-center text-sm">
|
| 253 |
-
<span class="text-color-var font-medium">Mise à jour du profil (Nom)</span>
|
| 254 |
-
<span class="text-secondary-var">Hier</span>
|
| 255 |
-
</li>
|
| 256 |
-
<li class="p-3 flex justify-between items-center text-sm">
|
| 257 |
-
<span class="text-color-var font-medium">API: Endpoint /translate appelé</span>
|
| 258 |
-
<span class="text-secondary-var">Il y a 2 jours</span>
|
| 259 |
-
</li>
|
| 260 |
-
</ul>
|
| 261 |
-
|
| 262 |
-
<div class="mt-4 text-right">
|
| 263 |
-
<a href="api_logs.html" class="text-sm text-link-var hover:text-link-hover-var font-medium transition-colors-theme">
|
| 264 |
-
Voir tous les logs →
|
| 265 |
-
</a>
|
| 266 |
-
</div>
|
| 267 |
-
</div>
|
| 268 |
-
|
| 269 |
-
</div>
|
| 270 |
-
|
| 271 |
-
<script>
|
| 272 |
-
// Logique du thème
|
| 273 |
-
const themeToggle = document.getElementById('theme-toggle');
|
| 274 |
-
const html = document.documentElement;
|
| 275 |
-
|
| 276 |
-
const updateIcon = () => {
|
| 277 |
-
const icon = themeToggle.querySelector('.material-symbols-rounded');
|
| 278 |
-
if (html.classList.contains('light')) {
|
| 279 |
-
icon.textContent = 'light_mode';
|
| 280 |
-
} else {
|
| 281 |
-
icon.textContent = 'dark_mode';
|
| 282 |
-
}
|
| 283 |
-
};
|
| 284 |
-
|
| 285 |
-
const savedTheme = localStorage.getItem('theme');
|
| 286 |
-
if (savedTheme === 'light') {
|
| 287 |
-
html.classList.remove('dark');
|
| 288 |
-
html.classList.add('light');
|
| 289 |
-
} else {
|
| 290 |
-
// Par défaut, nous nous assurons que 'dark' est appliqué s'il n'y a pas de thème enregistré
|
| 291 |
-
html.classList.add('dark');
|
| 292 |
-
html.classList.remove('light');
|
| 293 |
-
}
|
| 294 |
-
updateIcon();
|
| 295 |
-
|
| 296 |
-
themeToggle.addEventListener('click', () => {
|
| 297 |
-
if (html.classList.contains('dark')) {
|
| 298 |
-
html.classList.remove('dark');
|
| 299 |
-
html.classList.add('light');
|
| 300 |
-
localStorage.setItem('theme', 'light');
|
| 301 |
-
} else {
|
| 302 |
-
html.classList.remove('light');
|
| 303 |
-
html.classList.add('dark');
|
| 304 |
-
localStorage.setItem('theme', 'dark');
|
| 305 |
-
}
|
| 306 |
-
updateIcon();
|
| 307 |
-
});
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
// Logique pour la Sidebar sur mobile
|
| 311 |
-
const sidebarToggle = document.getElementById('sidebar-toggle');
|
| 312 |
-
const sidebar = document.getElementById('sidebar');
|
| 313 |
-
|
| 314 |
-
sidebarToggle.addEventListener('click', () => {
|
| 315 |
-
sidebar.classList.toggle('open');
|
| 316 |
-
});
|
| 317 |
-
|
| 318 |
-
// Logique de Déconnexion (Conservée)
|
| 319 |
-
const logoutHandler = async (e) => {
|
| 320 |
-
e.preventDefault();
|
| 321 |
-
// Simulation de la redirection pour la déconnexion
|
| 322 |
-
window.location.href = document.getElementById('logout-button-sidebar').href;
|
| 323 |
-
};
|
| 324 |
-
// On attache l'événement à la déconnexion dans la sidebar.
|
| 325 |
-
document.getElementById('logout-button-sidebar').addEventListener('click', logoutHandler);
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
</script>
|
| 329 |
-
</body>
|
| 330 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/documentation.html
DELETED
|
@@ -1,287 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Documentation API - Mailix | Validation d'Email</title>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 11 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css">
|
| 12 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 13 |
-
|
| 14 |
-
<style>
|
| 15 |
-
/* PHASE 1 : Configuration et Base du Style (Dark Mode Exclusif & Pro) */
|
| 16 |
-
/* Suppression de toute la logique du mode clair. */
|
| 17 |
-
:root {
|
| 18 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 19 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil */
|
| 20 |
-
--bg-section: #141414;
|
| 21 |
-
--bg-code: #141414;
|
| 22 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 23 |
-
--color-accent: #4ade80; /* Vert Vif */
|
| 24 |
-
--text-color: #ffffff;
|
| 25 |
-
--text-secondary: #d1d5db; /* gray-300 */
|
| 26 |
-
--text-muted: #9ca3af; /* gray-400 */
|
| 27 |
-
--text-blue: var(--color-accent); /* Remplacer le bleu par le vert accent partout */
|
| 28 |
-
--shadow-color: rgba(0, 0, 0, 0.5);
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/* Application des variables aux styles existants et aux nouveaux éléments */
|
| 32 |
-
body {
|
| 33 |
-
font-family: 'Inter', sans-serif;
|
| 34 |
-
background-color: var(--bg-body);
|
| 35 |
-
color: var(--text-color);
|
| 36 |
-
min-height: 100vh;
|
| 37 |
-
/* Suppression de la transition car le mode clair est supprimé */
|
| 38 |
-
}
|
| 39 |
-
|
| 40 |
-
/* Fix pour le header qui est maintenant sticky */
|
| 41 |
-
.header-border { border-color: var(--border-color); }
|
| 42 |
-
.bg-header { background-color: var(--bg-body); }
|
| 43 |
-
|
| 44 |
-
.code-block {
|
| 45 |
-
border: 1px solid var(--border-color);
|
| 46 |
-
overflow-x: auto;
|
| 47 |
-
background-color: var(--bg-code);
|
| 48 |
-
padding: 1rem;
|
| 49 |
-
margin-top: 0.75rem;
|
| 50 |
-
}
|
| 51 |
-
|
| 52 |
-
.text-blue-500-var { color: var(--text-blue); }
|
| 53 |
-
.text-gray-300-var { color: var(--text-secondary); }
|
| 54 |
-
.text-gray-400-var { color: var(--text-muted); }
|
| 55 |
-
|
| 56 |
-
/* Ajustements pour les titres de documentation */
|
| 57 |
-
.doc-title {
|
| 58 |
-
color: var(--color-accent);
|
| 59 |
-
border-bottom: 2px solid var(--border-color);
|
| 60 |
-
}
|
| 61 |
-
|
| 62 |
-
/* Remplacement du bleu par le vert pour les boutons CTA */
|
| 63 |
-
.btn-primary {
|
| 64 |
-
background-color: var(--color-accent);
|
| 65 |
-
color: var(--bg-body) !important; /* Texte noir sur vert */
|
| 66 |
-
font-weight: bold;
|
| 67 |
-
box-shadow: 0 4px 6px -1px rgba(74, 222, 128, 0.3), 0 2px 4px -2px rgba(74, 222, 128, 0.3);
|
| 68 |
-
transition: background-color 0.2s;
|
| 69 |
-
}
|
| 70 |
-
.btn-primary:hover {
|
| 71 |
-
opacity: 0.9;
|
| 72 |
-
}
|
| 73 |
-
</style>
|
| 74 |
-
</head>
|
| 75 |
-
<body class="text-white min-h-screen">
|
| 76 |
-
|
| 77 |
-
<header class="fixed top-0 left-0 right-0 z-50 flex justify-center py-3 border-b header-border bg-header shadow-xl transition-colors duration-300">
|
| 78 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center w-full">
|
| 79 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-2 sm:mb-0">
|
| 80 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 81 |
-
</a>
|
| 82 |
-
<nav class="flex items-center space-x-2 sm:space-x-4">
|
| 83 |
-
|
| 84 |
-
<a href="/documentation" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 85 |
-
Docs
|
| 86 |
-
</a>
|
| 87 |
-
<a href="/tarifs" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 88 |
-
Tarifs
|
| 89 |
-
</a>
|
| 90 |
-
<a href="/a-propos" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden md:block">
|
| 91 |
-
Enterprise
|
| 92 |
-
</a>
|
| 93 |
-
<a href="/support" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden sm:block">
|
| 94 |
-
Support
|
| 95 |
-
</a>
|
| 96 |
-
|
| 97 |
-
<a href="/connexion" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 98 |
-
Connexion
|
| 99 |
-
</a>
|
| 100 |
-
|
| 101 |
-
</nav>
|
| 102 |
-
</div>
|
| 103 |
-
</header>
|
| 104 |
-
|
| 105 |
-
<div class="pt-20 container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 106 |
-
|
| 107 |
-
<main class="space-y-16">
|
| 108 |
-
|
| 109 |
-
<section class="text-center p-8 bg-gray-800/50 shadow-lg border border-[var(--border-color)]">
|
| 110 |
-
<h1 class="text-5xl font-extrabold text-white mb-4 leading-tight">
|
| 111 |
-
Documentation de l'API Mailix
|
| 112 |
-
</h1>
|
| 113 |
-
<p class="text-xl text-gray-300-var max-w-4xl mx-auto">
|
| 114 |
-
Le guide complet pour intégrer la vérification de la validité et de la livrabilité des adresses e-mail dans vos applications, formulaires et bases de données.
|
| 115 |
-
</p>
|
| 116 |
-
</section>
|
| 117 |
-
|
| 118 |
-
<section class="space-y-6">
|
| 119 |
-
<h2 class="text-4xl font-extrabold doc-title pb-3">
|
| 120 |
-
1. Vue d'Ensemble & Clés API
|
| 121 |
-
</h2>
|
| 122 |
-
<p class="text-gray-300-var">
|
| 123 |
-
L'API Mailix utilise un seul point d'accès pour toutes les vérifications. Tous les appels nécessitent votre Clé API (`X-API-KEY`) pour l'identification de votre application, que vous trouverez sur votre tableau de bord.
|
| 124 |
-
</p>
|
| 125 |
-
|
| 126 |
-
<div class="grid md:grid-cols-2 gap-6">
|
| 127 |
-
<div class="p-4 bg-[var(--bg-card)] border-l-4 border-[var(--color-accent)] shadow-md">
|
| 128 |
-
<h3 class="text-xl font-semibold text-[var(--color-accent)] mb-2">Endpoint de Base :</h3>
|
| 129 |
-
<p class="font-mono text-sm code-block p-2 border-none bg-[var(--bg-code)]">
|
| 130 |
-
<code class="text-gray-100">https://mailix-mail-validation.api/api/validate</code>
|
| 131 |
-
</p>
|
| 132 |
-
<p class="text-xs text-gray-400-var mt-2">Ce chemin est la base de toutes les opérations de validation d'e-mail.</p>
|
| 133 |
-
</div>
|
| 134 |
-
<div class="p-4 bg-[var(--bg-card)] border-l-4 border-yellow-500 shadow-md">
|
| 135 |
-
<h3 class="text-xl font-semibold text-yellow-400 mb-2">Clé API (Authentification) :</h3>
|
| 136 |
-
<p class="font-mono text-sm code-block p-2 border-none bg-[var(--bg-code)]">
|
| 137 |
-
<code class="text-gray-100">X-API-KEY: VOTRE_CLE_API_SECRETE</code>
|
| 138 |
-
</p>
|
| 139 |
-
<p class="text-xs text-gray-400-var mt-2">À inclure dans l'entête de chaque requête POST.</p>
|
| 140 |
-
</div>
|
| 141 |
-
</div>
|
| 142 |
-
</section>
|
| 143 |
-
|
| 144 |
-
<section class="space-y-8">
|
| 145 |
-
<h2 class="text-4xl font-extrabold doc-title pb-3">
|
| 146 |
-
2. Endpoint de Validation d'Email
|
| 147 |
-
</h2>
|
| 148 |
-
|
| 149 |
-
<h3 class="text-2xl font-semibold text-white border-b border-gray-800 pb-1">
|
| 150 |
-
2.1 Valider un Email (POST /api/validate)
|
| 151 |
-
</h3>
|
| 152 |
-
<p class="text-gray-300-var">
|
| 153 |
-
Envoie une adresse e-mail pour une vérification en temps réel (Syntaxe, DNS, Simulation SMTP).
|
| 154 |
-
</p>
|
| 155 |
-
<div class="grid md:grid-cols-2 gap-8">
|
| 156 |
-
<div>
|
| 157 |
-
<p class="text-lg font-bold text-[var(--color-accent)] mb-2">cURL (Exemple Rapide)</p>
|
| 158 |
-
<pre class="code-block"><code class="language-bash">curl -X POST "https://mailix-mail-validation.api/api/validate" \
|
| 159 |
-
-H "X-API-KEY: VOTRE_CLE_API_SECRETE" \
|
| 160 |
-
-H "Content-Type: application/json" \
|
| 161 |
-
-d '{
|
| 162 |
-
"email": "utilisateur@exemple.com"
|
| 163 |
-
}'</code></pre>
|
| 164 |
-
</div>
|
| 165 |
-
<div>
|
| 166 |
-
<p class="text-lg font-bold text-[var(--color-accent)] mb-2">Python (`requests`)</p>
|
| 167 |
-
<pre class="code-block"><code class="language-python">import requests
|
| 168 |
-
import json
|
| 169 |
-
url = "https://mailix-mail-validation.api/api/validate"
|
| 170 |
-
headers = {
|
| 171 |
-
"X-API-KEY": "VOTRE_CLE_API_SECRETE",
|
| 172 |
-
"Content-Type": "application/json"
|
| 173 |
-
}
|
| 174 |
-
payload = {"email": "user@example.com"}
|
| 175 |
-
response = requests.post(url, headers=headers, json=payload)
|
| 176 |
-
print(response.json())</code></pre>
|
| 177 |
-
</div>
|
| 178 |
-
<div class="md:col-span-2">
|
| 179 |
-
<p class="text-lg font-bold text-[var(--color-accent)] mb-2">Réponse JSON (Succès)</p>
|
| 180 |
-
<pre class="code-block"><code class="language-json">{
|
| 181 |
-
"email": "utilisateur@exemple.com",
|
| 182 |
-
"is_valid": true,
|
| 183 |
-
"deliverability": "deliverable",
|
| 184 |
-
"quality_score": 0.95,
|
| 185 |
-
"checks": {
|
| 186 |
-
"syntax_valid": true,
|
| 187 |
-
"dns_found": true,
|
| 188 |
-
"smtp_check": "ok"
|
| 189 |
-
},
|
| 190 |
-
"risk": {
|
| 191 |
-
"disposable": false,
|
| 192 |
-
"role_based": false,
|
| 193 |
-
"free_email": true
|
| 194 |
-
}
|
| 195 |
-
}</code></pre>
|
| 196 |
-
</div>
|
| 197 |
-
</div>
|
| 198 |
-
|
| 199 |
-
<h3 class="text-2xl font-semibold text-white border-b border-gray-800 pb-1 pt-6">
|
| 200 |
-
2.2 Paramètres de la Requête
|
| 201 |
-
</h3>
|
| 202 |
-
<div class="overflow-x-auto bg-[var(--bg-card)] border border-[var(--border-color)]">
|
| 203 |
-
<table class="w-full text-left text-gray-400-var">
|
| 204 |
-
<thead class="text-xs uppercase text-white bg-gray-900 border-b border-[var(--border-color)]">
|
| 205 |
-
<tr>
|
| 206 |
-
<th scope="col" class="px-6 py-3">Paramètre</th>
|
| 207 |
-
<th scope="col" class="px-6 py-3">Type</th>
|
| 208 |
-
<th scope="col" class="px-6 py-3">Obligatoire</th>
|
| 209 |
-
<th scope="col" class="px-6 py-3">Description</th>
|
| 210 |
-
</tr>
|
| 211 |
-
</thead>
|
| 212 |
-
<tbody>
|
| 213 |
-
<tr class="border-b border-[var(--border-color)]">
|
| 214 |
-
<th scope="row" class="px-6 py-4 font-medium text-white whitespace-nowrap">email</th>
|
| 215 |
-
<td class="px-6 py-4">string</td>
|
| 216 |
-
<td class="px-6 py-4 text-green-400">OUI</td>
|
| 217 |
-
<td class="px-6 py-4">L'adresse e-mail à valider.</td>
|
| 218 |
-
</tr>
|
| 219 |
-
<tr class="border-b border-[var(--border-color)]">
|
| 220 |
-
<th scope="row" class="px-6 py-4 font-medium text-white whitespace-nowrap">timeout</th>
|
| 221 |
-
<td class="px-6 py-4">integer</td>
|
| 222 |
-
<td class="px-6 py-4 text-red-400">NON</td>
|
| 223 |
-
<td class="px-6 py-4">Délai d'attente maximum pour la vérification SMTP (en ms). Par défaut : 5000ms.</td>
|
| 224 |
-
</tr>
|
| 225 |
-
</tbody>
|
| 226 |
-
</table>
|
| 227 |
-
</div>
|
| 228 |
-
</section>
|
| 229 |
-
|
| 230 |
-
<section class="space-y-8">
|
| 231 |
-
<h2 class="text-4xl font-extrabold doc-title pb-3">
|
| 232 |
-
3. Codes de Statut API
|
| 233 |
-
</h2>
|
| 234 |
-
<div class="overflow-x-auto bg-[var(--bg-card)] border border-[var(--border-color)]">
|
| 235 |
-
<table class="w-full text-left text-gray-400-var">
|
| 236 |
-
<thead class="text-xs uppercase text-white bg-gray-900 border-b border-[var(--border-color)]">
|
| 237 |
-
<tr>
|
| 238 |
-
<th scope="col" class="px-6 py-3">Code HTTP</th>
|
| 239 |
-
<th scope="col" class="px-6 py-3">Signification</th>
|
| 240 |
-
<th scope="col" class="px-6 py-3">Description</th>
|
| 241 |
-
</tr>
|
| 242 |
-
</thead>
|
| 243 |
-
<tbody>
|
| 244 |
-
<tr class="border-b border-[var(--border-color)]">
|
| 245 |
-
<th scope="row" class="px-6 py-4 font-medium text-white whitespace-nowrap">200 OK</th>
|
| 246 |
-
<td class="px-6 py-4 text-green-400">Succès</td>
|
| 247 |
-
<td class="px-6 py-4">L'adresse e-mail a été validée avec succès. Les résultats sont dans le corps JSON.</td>
|
| 248 |
-
</tr>
|
| 249 |
-
<tr class="border-b border-[var(--border-color)]">
|
| 250 |
-
<th scope="row" class="px-6 py-4 font-medium text-white whitespace-nowrap">400 Bad Request</th>
|
| 251 |
-
<td class="px-6 py-4 text-red-400">Erreur Client</td>
|
| 252 |
-
<td class="px-6 py-4">Le format de l'e-mail est invalide ou un paramètre obligatoire est manquant.</td>
|
| 253 |
-
</tr>
|
| 254 |
-
<tr class="border-b border-[var(--border-color)]">
|
| 255 |
-
<th scope="row" class="px-6 py-4 font-medium text-white whitespace-nowrap">401 Unauthorized</th>
|
| 256 |
-
<td class="px-6 py-4 text-red-400">Erreur Clé API</td>
|
| 257 |
-
<td class="px-6 py-4">La clé `X-API-KEY` est manquante ou invalide.</td>
|
| 258 |
-
</tr>
|
| 259 |
-
<tr class="border-b border-[var(--border-color)]">
|
| 260 |
-
<th scope="row" class="px-6 py-4 font-medium text-white whitespace-nowrap">429 Too Many Requests</th>
|
| 261 |
-
<td class="px-6 py-4 text-red-400">Limite Atteinte</td>
|
| 262 |
-
<td class="px-6 py-4">Le nombre de requêtes autorisées a été dépassé (Rate Limit ou crédits épuisés).</td>
|
| 263 |
-
</tr>
|
| 264 |
-
</tbody>
|
| 265 |
-
</table>
|
| 266 |
-
</div>
|
| 267 |
-
</section>
|
| 268 |
-
|
| 269 |
-
</main>
|
| 270 |
-
|
| 271 |
-
<footer class="mt-12 pt-6 border-t border-[var(--border-color)] text-center text-gray-500 text-sm">
|
| 272 |
-
© 2025 Mailix. Documentation API pour la validation d'Email.
|
| 273 |
-
</footer>
|
| 274 |
-
</div>
|
| 275 |
-
|
| 276 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
| 277 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/python.min.js"></script>
|
| 278 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/javascript.min.js"></script>
|
| 279 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/bash.min.js"></script>
|
| 280 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/json.min.js"></script>
|
| 281 |
-
|
| 282 |
-
<script>
|
| 283 |
-
// Initialisation de la coloration syntaxique
|
| 284 |
-
hljs.highlightAll();
|
| 285 |
-
</script>
|
| 286 |
-
</body>
|
| 287 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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set="UTF-8">
|
| 4 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 5 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 6 |
-
<title>Mailix | Validation d'Email en Temps Réel</title>
|
| 7 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 11 |
-
<style>
|
| 12 |
-
/* PHASE 1 : Configuration et Base du Style (Dark Mode Exclusif & Pro) */
|
| 13 |
-
/* Suppression de toute la logique du mode clair. */
|
| 14 |
-
:root {
|
| 15 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 16 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil */
|
| 17 |
-
--bg-section: #141414;
|
| 18 |
-
--bg-code: #141414;
|
| 19 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 20 |
-
--color-accent: #4ade80; /* Vert Vif */
|
| 21 |
-
--text-color: #ffffff;
|
| 22 |
-
--text-secondary: #d1d5db; /* gray-300 */
|
| 23 |
-
--text-muted: #9ca3af; /* gray-400 */
|
| 24 |
-
--text-blue: var(--color-accent); /* Remplacer le bleu par le vert accent partout */
|
| 25 |
-
--shadow-color: rgba(0, 0, 0, 0.5);
|
| 26 |
-
}
|
| 27 |
-
|
| 28 |
-
/* Application des variables aux styles existants et aux nouveaux éléments */
|
| 29 |
-
body {
|
| 30 |
-
font-family: 'Inter', sans-serif;
|
| 31 |
-
background-color: var(--bg-body);
|
| 32 |
-
color: var(--text-color);
|
| 33 |
-
min-height: 100vh;
|
| 34 |
-
/* Suppression de la transition car le mode clair est supprimé */
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
/* Fix pour le header qui est maintenant sticky */
|
| 38 |
-
.header-border { border-color: var(--border-color); }
|
| 39 |
-
.bg-header { background-color: var(--bg-body); }
|
| 40 |
-
|
| 41 |
-
.code-block {
|
| 42 |
-
border: 1px solid var(--border-color);
|
| 43 |
-
overflow-x: auto;
|
| 44 |
-
background-color: var(--bg-code);
|
| 45 |
-
}
|
| 46 |
-
|
| 47 |
-
/* Suppression du style pour theme-switch (mode clair supprimé) */
|
| 48 |
-
|
| 49 |
-
/* Adaptation Tailwind pour les autres éléments */
|
| 50 |
-
.section-bg {
|
| 51 |
-
background-color: var(--bg-section);
|
| 52 |
-
border-color: var(--border-color);
|
| 53 |
-
box-shadow: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
|
| 54 |
-
}
|
| 55 |
-
|
| 56 |
-
/* PHASE 1.3/4.1 : Cartes et Contraste (Border Subtile) */
|
| 57 |
-
.card-bg {
|
| 58 |
-
background-color: var(--bg-card);
|
| 59 |
-
border: 1px solid var(--border-color);
|
| 60 |
-
}
|
| 61 |
-
|
| 62 |
-
.text-blue-500-var { color: var(--text-blue); }
|
| 63 |
-
.text-gray-300-var { color: var(--text-secondary); }
|
| 64 |
-
.text-gray-400-var { color: var(--text-muted); }
|
| 65 |
-
|
| 66 |
-
/* Ajustements spécifiques pour les éléments non couverts par une classe personnalisée */
|
| 67 |
-
.tab-button { border-bottom-color: var(--border-color); }
|
| 68 |
-
/* Mise à jour de la couleur d'accent pour l'onglet actif */
|
| 69 |
-
.tab-button.border-blue-500 { border-bottom-color: var(--color-accent) !important; color: var(--color-accent) !important; background-color: var(--bg-code) !important; }
|
| 70 |
-
.tab-button.hover\:text-white:hover { color: var(--text-color) !important; }
|
| 71 |
-
.tab-button.hover\:bg-gray-800:hover { background-color: var(--bg-card) !important; }
|
| 72 |
-
|
| 73 |
-
/* Remplacement du bleu par le vert pour les boutons CTA */
|
| 74 |
-
.btn-primary {
|
| 75 |
-
background-color: var(--color-accent);
|
| 76 |
-
color: var(--bg-body) !important; /* Texte noir sur vert */
|
| 77 |
-
font-weight: bold;
|
| 78 |
-
box-shadow: 0 4px 6px -1px rgba(74, 222, 128, 0.3), 0 2px 4px -2px rgba(74, 222, 128, 0.3);
|
| 79 |
-
transition: background-color 0.2s;
|
| 80 |
-
}
|
| 81 |
-
.btn-primary:hover {
|
| 82 |
-
opacity: 0.9;
|
| 83 |
-
}
|
| 84 |
-
|
| 85 |
-
/* Remplacement de la classe bg-blue-900/40 par son équivalent en vert */
|
| 86 |
-
.bg-green-900\/40 {
|
| 87 |
-
background-color: rgba(74, 222, 128, 0.15); /* Couleur basée sur --color-accent avec transparence */
|
| 88 |
-
}
|
| 89 |
-
|
| 90 |
-
/* NOUVELLE RÈGLE CSS : Défilement Infini des Témoignages (Accéléré) */
|
| 91 |
-
@keyframes scroll-rtl {
|
| 92 |
-
0% { transform: translateX(0); }
|
| 93 |
-
100% { transform: translateX(-50%); }
|
| 94 |
-
}
|
| 95 |
-
|
| 96 |
-
.testimonial-container {
|
| 97 |
-
overflow: hidden;
|
| 98 |
-
width: 100%;
|
| 99 |
-
}
|
| 100 |
-
|
| 101 |
-
.testimonials-track {
|
| 102 |
-
display: flex;
|
| 103 |
-
animation: scroll-rtl 25s linear infinite; /* ACCÉLÉRÉ: 40s à 25s */
|
| 104 |
-
}
|
| 105 |
-
|
| 106 |
-
.testimonials-track:hover {
|
| 107 |
-
animation-play-state: paused;
|
| 108 |
-
}
|
| 109 |
-
|
| 110 |
-
/* PHASE 4.1 : Témoignages (Carte avec bordure fine et fond subtil - COINS CARRÉS) */
|
| 111 |
-
.testimonial-card {
|
| 112 |
-
flex-shrink: 0;
|
| 113 |
-
width: 300px;
|
| 114 |
-
margin-right: 1.5rem;
|
| 115 |
-
border: 1px solid var(--border-color);
|
| 116 |
-
box-shadow: 0 4px 6px -1px var(--shadow-color);
|
| 117 |
-
background-color: var(--bg-card);
|
| 118 |
-
/* Suppression de rounded-lg pour des coins carrés */
|
| 119 |
-
}
|
| 120 |
-
|
| 121 |
-
/* Style pour les FAQ (Menu Déroulant) */
|
| 122 |
-
.faq-item summary {
|
| 123 |
-
cursor: pointer;
|
| 124 |
-
list-style: none; /* Cache le marqueur par défaut */
|
| 125 |
-
display: flex;
|
| 126 |
-
justify-content: space-between;
|
| 127 |
-
align-items: center;
|
| 128 |
-
padding: 1rem 0;
|
| 129 |
-
font-weight: 600;
|
| 130 |
-
}
|
| 131 |
-
|
| 132 |
-
.faq-item summary::-webkit-details-marker {
|
| 133 |
-
display: none; /* Cache le marqueur pour Chrome/Safari */
|
| 134 |
-
}
|
| 135 |
-
|
| 136 |
-
/* Rotation de l'icône FAQ */
|
| 137 |
-
.faq-icon {
|
| 138 |
-
transition: transform 0.2s ease;
|
| 139 |
-
}
|
| 140 |
-
.faq-item[open] .faq-icon {
|
| 141 |
-
transform: rotate(45deg); /* Tourne l'icône en croix */
|
| 142 |
-
}
|
| 143 |
-
|
| 144 |
-
/* CSS Spécifique au Carrousel de Logos */
|
| 145 |
-
@keyframes scroll-logos {
|
| 146 |
-
0% { transform: translateX(0); }
|
| 147 |
-
100% { transform: translateX(-50%); }
|
| 148 |
-
}
|
| 149 |
-
|
| 150 |
-
.logo-container {
|
| 151 |
-
overflow: hidden;
|
| 152 |
-
width: 100%;
|
| 153 |
-
padding: 2rem 0; /* Ajout d'un padding vertical pour l'esthétique */
|
| 154 |
-
background-color: var(--bg-card);
|
| 155 |
-
border: 1px solid var(--border-color);
|
| 156 |
-
}
|
| 157 |
-
|
| 158 |
-
.logos-track {
|
| 159 |
-
display: flex;
|
| 160 |
-
animation: scroll-logos 20s linear infinite; /* Défilement rapide */
|
| 161 |
-
width: max-content; /* S'assure que la piste est assez large */
|
| 162 |
-
}
|
| 163 |
-
|
| 164 |
-
.logos-track:hover {
|
| 165 |
-
animation-play-state: paused;
|
| 166 |
-
}
|
| 167 |
-
|
| 168 |
-
.logo-item {
|
| 169 |
-
flex-shrink: 0;
|
| 170 |
-
width: 120px; /* Taille fixe pour le logo */
|
| 171 |
-
height: 120px;
|
| 172 |
-
margin: 0 1.5rem; /* Espace entre les logos */
|
| 173 |
-
display: flex;
|
| 174 |
-
align-items: center;
|
| 175 |
-
justify-content: center;
|
| 176 |
-
opacity: 0.9; /* Légèrement transparent pour le mode sombre */
|
| 177 |
-
transition: opacity 0.3s, transform 0.3s; /* Ajout de la transition de transformation */
|
| 178 |
-
}
|
| 179 |
-
.logo-item:hover {
|
| 180 |
-
opacity: 1;
|
| 181 |
-
transform: scale(1.05); /* Petit zoom au survol pour un effet professionnel */
|
| 182 |
-
}
|
| 183 |
-
.logo-item img {
|
| 184 |
-
max-width: 100%;
|
| 185 |
-
max-height: 80px; /* Taille du logo en gros */
|
| 186 |
-
/* REMOVE FILTER: Le filtre a été retiré pour afficher les logos en couleur */
|
| 187 |
-
}
|
| 188 |
-
</style>
|
| 189 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css">
|
| 190 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 191 |
-
</head>
|
| 192 |
-
<body>
|
| 193 |
-
|
| 194 |
-
<header class="fixed top-0 left-0 right-0 z-50 flex justify-center py-3 border-b header-border bg-header shadow-xl transition-colors duration-300">
|
| 195 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center w-full">
|
| 196 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-2 sm:mb-0">
|
| 197 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 198 |
-
</a>
|
| 199 |
-
<nav class="flex items-center space-x-2 sm:space-x-4">
|
| 200 |
-
|
| 201 |
-
<a href="/documentation" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 202 |
-
Docs
|
| 203 |
-
</a>
|
| 204 |
-
<a href="/tarifs" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 205 |
-
Tarifs
|
| 206 |
-
</a>
|
| 207 |
-
<a href="/a-propos" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden md:block">
|
| 208 |
-
Enterprise
|
| 209 |
-
</a>
|
| 210 |
-
<a href="/support" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden sm:block">
|
| 211 |
-
Support
|
| 212 |
-
</a>
|
| 213 |
-
|
| 214 |
-
<a href="/connexion" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 215 |
-
Connexion
|
| 216 |
-
</a>
|
| 217 |
-
<a href="/inscription" class="px-3 py-1 sm:px-4 sm:py-2 border-2 border-green-500 text-green-500 hover:bg-green-500 hover:text-black font-medium transition duration-200 hidden sm:block text-sm sm:text-base">
|
| 218 |
-
Inscription
|
| 219 |
-
</a>
|
| 220 |
-
|
| 221 |
-
</nav>
|
| 222 |
-
</div>
|
| 223 |
-
</header>
|
| 224 |
-
|
| 225 |
-
<div class="pt-20 container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 226 |
-
|
| 227 |
-
<main class="space-y-24">
|
| 228 |
-
|
| 229 |
-
<section class="py-20"> <div class="flex flex-col items-start justify-start space-y-4"> <span class="material-symbols-rounded text-green-400 text-5xl mb-4">
|
| 230 |
-
mail_lock
|
| 231 |
-
</span>
|
| 232 |
-
|
| 233 |
-
<h1 id="animated-title" class="text-6xl sm:text-7xl font-bold text-color leading-tight mb-4"> Validez la Délivrabilité de Vos E-mails. En temps réel, avec l'API la Plus Rapide.
|
| 234 |
-
</h1>
|
| 235 |
-
<p class="text-2xl text-gray-300-var max-w-4xl mr-auto mb-10"> Éliminez les adresses e-mail non valides, jetables et à risque pour garantir des listes de diffusion propres et un meilleur ROI. <strong class="text-green-400">Une API simple, une validation instantanée.</strong>
|
| 236 |
-
</p>
|
| 237 |
-
|
| 238 |
-
<form class="flex flex-col sm:flex-row items-center w-full max-w-2xl bg-gray-900 border border-[var(--border-color)] rounded-lg p-1.5 shadow-2xl">
|
| 239 |
-
<input type="email" placeholder="Entrez un e-mail à tester (ex: test@exemple.com)" class="flex-grow w-full px-4 py-3 bg-transparent text-white placeholder-gray-500 focus:outline-none" required>
|
| 240 |
-
<button type="submit" class="w-full sm:w-auto mt-3 sm:mt-0 px-8 py-3 btn-primary text-lg font-bold rounded-lg whitespace-nowrap">
|
| 241 |
-
Tester la validité
|
| 242 |
-
</button>
|
| 243 |
-
</form>
|
| 244 |
-
</div>
|
| 245 |
-
<script>
|
| 246 |
-
const titleElement = document.getElementById('animated-title');
|
| 247 |
-
const text = "Validez la Délivrabilité de Vos E-mails. En temps réel, avec l'API la Plus Rapide.";
|
| 248 |
-
titleElement.innerHTML = text; // Assure que le texte est bien affiché
|
| 249 |
-
</script>
|
| 250 |
-
</section>
|
| 251 |
-
|
| 252 |
-
<section>
|
| 253 |
-
<h2 class="text-4xl font-bold text-color mb-8 text-center"> Analyse Technique Approfondie de l'Adresse.
|
| 254 |
-
</h2>
|
| 255 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 256 |
-
Nous allons au-delà de la syntaxe. Chaque e-mail passe par un processus de validation multi-étapes pour garantir sa livrabilité.
|
| 257 |
-
</p>
|
| 258 |
-
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
| 259 |
-
<div class="card-bg p-6 shadow-xl">
|
| 260 |
-
<span class="material-symbols-rounded text-3xl text-green-400 mb-3">dns</span> <h3 class="text-2xl font-semibold text-color mb-3">Vérification des Enregistrements MX</h3>
|
| 261 |
-
<p class="text-gray-300-var text-sm">Nous confirmons l'existence d'un serveur de messagerie valide (MX Record) pour le domaine, excluant les domaines non fonctionnels.</p>
|
| 262 |
-
</div>
|
| 263 |
-
<div class="card-bg p-6 shadow-xl">
|
| 264 |
-
<span class="material-symbols-rounded text-3xl text-yellow-400 mb-3">route</span> <h3 class="text-2xl font-semibold text-color mb-3">Vérification des Adresses A/PTR</h3>
|
| 265 |
-
<p class="text-gray-300-var text-sm">Validation du processus inverse (Reverse DNS) pour détecter les adresses de serveurs suspects ou mal configurés.</p>
|
| 266 |
-
</div>
|
| 267 |
-
<div class="card-bg p-6 shadow-xl">
|
| 268 |
-
<span class="material-symbols-rounded text-3xl text-purple-400 mb-3">connect_without_contact</span> <h3 class="text-2xl font-semibold text-color mb-3">Simulation SMTP</h3>
|
| 269 |
-
<p class="text-gray-300-var text-sm">Connexion à l'hôte pour confirmer la validité de la boîte de réception sans envoyer de message. Méthode non intrusive et précise.</p>
|
| 270 |
-
</div>
|
| 271 |
-
<div class="card-bg p-6 shadow-xl">
|
| 272 |
-
<span class="material-symbols-rounded text-3xl text-cyan-400 mb-3">timer</span> <h3 class="text-2xl font-semibold text-color mb-3">Analyse de Vitesse</h3>
|
| 273 |
-
<p class="text-gray-300-var text-sm">Le processus complet prend moins de 300ms, permettant une validation en temps réel sur vos formulaires d'inscription.</p>
|
| 274 |
-
</div>
|
| 275 |
-
</div>
|
| 276 |
-
</section>
|
| 277 |
-
|
| 278 |
-
<section class="py-12">
|
| 279 |
-
<h2 class="text-4xl font-bold text-color mb-4 text-center">
|
| 280 |
-
Technologies Supportées pour une Intégration Rapide.
|
| 281 |
-
</h2>
|
| 282 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 283 |
-
Mailix est conçu pour s'intégrer facilement dans n'importe quelle pile technologique, du frontend au backend.
|
| 284 |
-
</p>
|
| 285 |
-
|
| 286 |
-
<div class="logo-container">
|
| 287 |
-
<div class="logos-track" id="logos-track-content">
|
| 288 |
-
<div class="logo-item" title="Python"><img src="https://upload.wikimedia.org/wikipedia/commons/c/c3/Python-logo-notext.svg" alt="Python Logo"></div>
|
| 289 |
-
<div class="logo-item" title="Node.js"><img src="https://upload.wikimedia.org/wikipedia/commons/d/d9/Node.js_logo.svg" alt="Node.js Logo"></div>
|
| 290 |
-
<div class="logo-item" title="PHP"><img src="https://upload.wikimedia.org/wikipedia/commons/2/27/PHP-logo.svg" alt="PHP Logo"></div>
|
| 291 |
-
<div class="logo-item" title="Ruby"><img src="https://upload.wikimedia.org/wikipedia/commons/7/73/Ruby_logo.svg" alt="Ruby Logo"></div>
|
| 292 |
-
|
| 293 |
-
<div class="logo-item" title="AWS (Amazon Web Services)"><img src="https://upload.wikimedia.org/wikipedia/commons/9/93/Amazon_Web_Services_Logo.svg" alt="AWS Logo"></div>
|
| 294 |
-
<div class="logo-item" title="Google Cloud Platform"><img src="https://upload.wikimedia.org/wikipedia/commons/5/51/Google_Cloud_logo.svg" alt="Google Cloud Logo"></div>
|
| 295 |
-
|
| 296 |
-
<div class="logo-item" title="React"><img src="https://upload.wikimedia.org/wikipedia/commons/a/a7/React-icon.svg" alt="React Logo"></div>
|
| 297 |
-
<div class="logo-item" title="Vue.js"><img src="https://upload.wikimedia.org/wikipedia/commons/9/95/Vue.js_Logo_2.svg" alt="Vue.js Logo"></div>
|
| 298 |
-
<div class="logo-item" title="Angular"><img src="https://upload.wikimedia.org/wikipedia/commons/c/cf/Angular_full_color_logo.svg" alt="Angular Logo"></div>
|
| 299 |
-
<div class="logo-item" title="Laravel"><img src="https://upload.wikimedia.org/wikipedia/commons/9/9a/Laravel.svg" alt="Laravel Logo"></div>
|
| 300 |
-
|
| 301 |
-
</div>
|
| 302 |
-
</div>
|
| 303 |
-
</section>
|
| 304 |
-
|
| 305 |
-
<section>
|
| 306 |
-
<h2 class="text-4xl font-bold text-color mb-8 text-center">
|
| 307 |
-
Cas d'Usage Détaillés pour l'Entreprise.
|
| 308 |
-
</h2>
|
| 309 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 310 |
-
Intégrez Mailix pour résoudre les défis critiques de votre pile marketing et de sécurité.
|
| 311 |
-
</p>
|
| 312 |
-
<div class="grid md:grid-cols-3 gap-6">
|
| 313 |
-
<div class="card-bg p-6">
|
| 314 |
-
<span class="material-symbols-rounded text-4xl text-green-500 mb-4">security</span>
|
| 315 |
-
<h3 class="text-2xl font-semibold text-color mb-3">Sécurisation des Inscriptions</h3>
|
| 316 |
-
<p class="text-gray-300-var">Validez les e-mails en temps réel sur vos formulaires pour bloquer les robots et les inscriptions frauduleuses dès le premier contact.</p>
|
| 317 |
-
</div>
|
| 318 |
-
<div class="card-bg p-6">
|
| 319 |
-
<span class="material-symbols-rounded text-4xl text-yellow-500 mb-4">cleaning_services</span>
|
| 320 |
-
<h3 class="text-2xl font-semibold text-color mb-3">Nettoyage de Base de Données</h3>
|
| 321 |
-
<p class="text-gray-300-var">Passez en revue et supprimez les e-mails obsolètes, invalides ou non livrables de vos listes existantes pour optimiser la réputation de votre expéditeur.</p>
|
| 322 |
-
</div>
|
| 323 |
-
<div class="card-bg p-6">
|
| 324 |
-
<span class="material-symbols-rounded text-4xl text-blue-500 mb-4">attach_money</span>
|
| 325 |
-
<h3 class="text-2xl font-semibold text-color mb-3">Prévention de la Fraude aux Promotions</h3>
|
| 326 |
-
<p class="text-gray-300-var">Détectez les adresses jetables utilisées pour abuser des offres de bienvenue ou des codes de réduction.</p>
|
| 327 |
-
</div>
|
| 328 |
-
</div>
|
| 329 |
-
</section>
|
| 330 |
-
<section>
|
| 331 |
-
<h2 class="text-4xl font-bold text-color mb-8 text-center"> Protection contre les Adresses Risquées.
|
| 332 |
-
</h2>
|
| 333 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 334 |
-
Réduisez votre taux de plaintes et de hard bounces en identifiant les e-mails nuisibles avant qu'ils n'atteignent votre liste.
|
| 335 |
-
</p>
|
| 336 |
-
<div class="grid md:grid-cols-3 gap-6">
|
| 337 |
-
<div class="card-bg p-6 text-center">
|
| 338 |
-
<span class="material-symbols-rounded text-4xl text-red-500 mb-4">block</span> <h3 class="text-2xl font-semibold text-color mb-3">E-mails Jetables (Temp Mail)</h3>
|
| 339 |
-
<p class="text-gray-300-var">Détection et blocage des domaines connus pour l'utilisation d'e-mails temporaires, qui nuisent à l'engagement à long terme.</p>
|
| 340 |
-
</div>
|
| 341 |
-
<div class="card-bg p-6 text-center">
|
| 342 |
-
<span class="material-symbols-rounded text-4xl text-indigo-400 mb-4">group</span> <h3 class="text-2xl font-semibold text-color mb-3">Rôles Génériques et Abusifs</h3>
|
| 343 |
-
<p class="text-gray-300-var">Identification des adresses génériques (`info@`, `support@`) ou potentiellement abusives, qui peuvent gonfler vos coûts.</p>
|
| 344 |
-
</div>
|
| 345 |
-
<div class="card-bg p-6 text-center">
|
| 346 |
-
<span class="material-symbols-rounded text-4xl text-pink-500 mb-4">skull</span> <h3 class="text-2xl font-semibold text-color mb-3">Domaines à Risque (Anti-Phishing)</h3>
|
| 347 |
-
<p class="text-gray-300-var">Base de données mise à jour en temps réel des domaines signalés pour le spam, l'hameçonnage ou les activités malveillantes.</p>
|
| 348 |
-
</div>
|
| 349 |
-
</div>
|
| 350 |
-
</section>
|
| 351 |
-
|
| 352 |
-
<section>
|
| 353 |
-
<h2 class="text-4xl font-bold text-color mb-8 text-center"> Performance et Scalabilité API.
|
| 354 |
-
</h2>
|
| 355 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 356 |
-
Gérez des volumes massifs avec notre API construite pour la vitesse, la fiabilité et le suivi précis de vos consommations.
|
| 357 |
-
</p>
|
| 358 |
-
<div class="grid md:grid-cols-3 gap-6">
|
| 359 |
-
<div class="card-bg p-6 text-center">
|
| 360 |
-
<span class="material-symbols-rounded text-4xl text-green-500 mb-4">rocket_launch</span> <h3 class="text-2xl font-semibold text-color mb-3">Vitesse Éclair</h3>
|
| 361 |
-
<p class="text-gray-300-var">Moins de 50ms de latence pour la majorité des requêtes. Validez en temps réel sans ralentir votre UX.</p>
|
| 362 |
-
</div>
|
| 363 |
-
<div class="card-bg p-6 text-center">
|
| 364 |
-
<span class="material-symbols-rounded text-4xl text-yellow-500 mb-4">monitoring</span> <h3 class="text-2xl font-semibold text-color mb-3">Dashboard de Consommation</h3>
|
| 365 |
-
<p class="text-gray-300-var">Suivez l'utilisation de vos crédits, le taux de validation et l'historique des appels via un tableau de bord intuitif.</p>
|
| 366 |
-
</div>
|
| 367 |
-
<div class="card-bg p-6 text-center">
|
| 368 |
-
<span class="material-symbols-rounded text-4xl text-blue-500 mb-4">vpn_key</span> <h3 class="text-2xl font-semibold text-color mb-3">Sécurité API</h3>
|
| 369 |
-
<p class="text-gray-300-var">Clés API sécurisées, protection contre les abus et conformité totale avec les standards OAuth 2.0.</p>
|
| 370 |
-
</div>
|
| 371 |
-
</div>
|
| 372 |
-
</section>
|
| 373 |
-
|
| 374 |
-
<section>
|
| 375 |
-
<h2 class="text-4xl font-bold text-color mb-6 text-center"> Intégration Instantanée
|
| 376 |
-
</h2>
|
| 377 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-8">
|
| 378 |
-
Validez une adresse e-mail en quelques lignes de code seulement.
|
| 379 |
-
</p>
|
| 380 |
-
|
| 381 |
-
<div class="w-full">
|
| 382 |
-
<div id="language-tabs" class="flex flex-wrap sm:flex-nowrap mb-0 border-b border-[var(--border-color)]">
|
| 383 |
-
<button data-lang="python" class="tab-button px-4 py-3 text-lg font-semibold border-b-2 border-green-500 text-green-500 bg-gray-800 hover:bg-gray-700 flex-grow sm:flex-grow-0 transition duration-200">
|
| 384 |
-
Python
|
| 385 |
-
</button>
|
| 386 |
-
<button data-lang="javascript" class="tab-button px-4 py-3 text-lg font-semibold border-b-2 border-transparent text-gray-400-var hover:text-white hover:bg-gray-800 flex-grow sm:flex-grow-0 transition duration-200">
|
| 387 |
-
JavaScript
|
| 388 |
-
</button>
|
| 389 |
-
<button data-lang="php" class="tab-button px-4 py-3 text-lg font-semibold border-b-2 border-transparent text-gray-400-var hover:text-white hover:bg-gray-800 flex-grow sm:flex-grow-0 transition duration-200">
|
| 390 |
-
PHP
|
| 391 |
-
</button>
|
| 392 |
-
<button data-lang="bash" class="tab-button px-4 py-3 text-lg font-semibold border-b-2 border-transparent text-gray-400-var hover:text-white hover:bg-gray-800 flex-grow sm:flex-grow-0 transition duration-200">
|
| 393 |
-
cURL (Bash)
|
| 394 |
-
</button>
|
| 395 |
-
</div>
|
| 396 |
-
|
| 397 |
-
<div id="code-content" class="code-block p-4 pt-6 text-sm">
|
| 398 |
-
|
| 399 |
-
<pre><code id="code-python" class="language-python tab-code">import requests
|
| 400 |
-
import json
|
| 401 |
-
|
| 402 |
-
# URL de l'API Mailix pour la validation d'e-mail
|
| 403 |
-
url = "https://mailix-mail-validation.api/api/validate"
|
| 404 |
-
headers = {"Content-Type": "application/json"}
|
| 405 |
-
payload = {"email": "utilisateur@example.com"}
|
| 406 |
-
|
| 407 |
-
# Envoi de la requête POST
|
| 408 |
-
response = requests.post(url, headers=headers, data=json.dumps(payload))
|
| 409 |
-
print(response.json())
|
| 410 |
-
# Résultat: {"is_valid": true, "domain_status": "ok", "disposable": false}</code></pre>
|
| 411 |
-
|
| 412 |
-
<pre class="hidden"><code id="code-javascript" class="language-javascript tab-code">const validateEmail = async () => {
|
| 413 |
-
// URL de l'API Mailix pour la validation d'e-mail
|
| 414 |
-
const url = 'https://mailix-mail-validation.api/api/validate';
|
| 415 |
-
|
| 416 |
-
const response = await fetch(url, {
|
| 417 |
-
method: 'POST',
|
| 418 |
-
headers: { 'Content-Type': 'application/json' },
|
| 419 |
-
body: JSON.stringify({
|
| 420 |
-
email: 'utilisateur@example.com'
|
| 421 |
-
})
|
| 422 |
-
});
|
| 423 |
-
|
| 424 |
-
const data = await response.json();
|
| 425 |
-
console.log(data);
|
| 426 |
-
};
|
| 427 |
-
|
| 428 |
-
validateEmail();</code></pre>
|
| 429 |
-
|
| 430 |
-
<pre class="hidden"><code id="code-php" class="language-php tab-code"><?php
|
| 431 |
-
// URL de l'API Mailix pour la validation d'e-mail
|
| 432 |
-
$url = "https://mailix-mail-validation.api/api/validate";
|
| 433 |
-
$data = array("email" => "utilisateur@example.com");
|
| 434 |
-
|
| 435 |
-
$curl = curl_init();
|
| 436 |
-
|
| 437 |
-
curl_setopt_array($curl, array(
|
| 438 |
-
CURLOPT_URL => $url,
|
| 439 |
-
CURLOPT_RETURNTRANSFER => true,
|
| 440 |
-
CURLOPT_POST => true,
|
| 441 |
-
CURLOPT_HTTPHEADER => array('Content-Type: application/json'),
|
| 442 |
-
CURLOPT_POSTFIELDS => json_encode($data)
|
| 443 |
-
));
|
| 444 |
-
|
| 445 |
-
$response = curl_exec($curl);
|
| 446 |
-
curl_close($curl);
|
| 447 |
-
print_r(json_decode($response, true));
|
| 448 |
-
?></code></pre>
|
| 449 |
-
|
| 450 |
-
<pre class="hidden"><code id="code-bash" class="language-bash tab-code"># URL de l'API Mailix pour la validation d'e-mail
|
| 451 |
-
curl -X POST \
|
| 452 |
-
-H "Content-Type: application/json" \
|
| 453 |
-
-d '{"email": "utilisateur@example.com"}' \
|
| 454 |
-
"https://mailix-mail-validation.api/api/validate"</code></pre>
|
| 455 |
-
</div>
|
| 456 |
-
</div>
|
| 457 |
-
</section>
|
| 458 |
-
|
| 459 |
-
<section class="bg-green-900/40 p-8 shadow-xl border border-green-600">
|
| 460 |
-
<div class="flex flex-col md:flex-row items-center space-y-4 md:space-y-0 md:space-x-8">
|
| 461 |
-
<span class="material-symbols-rounded w-12 h-12 text-green-400 flex-shrink-0 text-5xl">bolt</span> <div>
|
| 462 |
-
<h3 class="text-3xl font-bold text-color mb-2">Conçu pour l'Évolutivité Illimitée</h3>
|
| 463 |
-
<p class="text-green-200">
|
| 464 |
-
Notre architecture est élastique. De 10 à 10 millions de validations, Mailix s'adapte automatiquement. Atteignez la croissance sans jamais vous soucier des limites techniques. Découvrez notre <a href="/documentation" class="text-yellow-400 underline font-semibold">documentation d'architecture</a>.
|
| 465 |
-
</p>
|
| 466 |
-
</div>
|
| 467 |
-
</div>
|
| 468 |
-
</section>
|
| 469 |
-
|
| 470 |
-
<section>
|
| 471 |
-
<h2 class="text-4xl font-bold text-color mb-4 text-center"> La sécurité est notre priorité absolue.
|
| 472 |
-
</h2>
|
| 473 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 474 |
-
Dormez sur vos deux oreilles grâce à une plateforme qui respecte les standards les plus stricts du marché.
|
| 475 |
-
</p>
|
| 476 |
-
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
| 477 |
-
<div class="card-bg p-6 space-y-2">
|
| 478 |
-
<span class="material-symbols-rounded text-2xl text-green-400">shield_with_key</span> <h3 class="font-semibold text-color">Validation Multi-Facteur</h3>
|
| 479 |
-
<p class="text-gray-300-var text-sm">Prise en charge native et intégrée des jetons TOTP et des clés de sécurité WebAuthn pour un niveau de protection supérieur.</p>
|
| 480 |
-
</div>
|
| 481 |
-
<div class="card-bg p-6 space-y-2">
|
| 482 |
-
<span class="material-symbols-rounded text-2xl text-green-400">encrypted</span>
|
| 483 |
-
<h3 class="font-semibold text-color">Chiffrement Complet</h3>
|
| 484 |
-
<p class="text-gray-300-var text-sm">Chiffrement des données de l'utilisateur au repos (AES-256) et communication sécurisée via TLS/SSL.</p>
|
| 485 |
-
</div>
|
| 486 |
-
<div class="card-bg p-6 space-y-2">
|
| 487 |
-
<span class="material-symbols-rounded text-2xl text-purple-400">balance</span>
|
| 488 |
-
<h3 class="font-semibold text-color">Conformité RGPD / CCPA</h3>
|
| 489 |
-
<p class="text-gray-300-var text-sm">Gestion des données utilisateurs conforme aux réglementations mondiales (RGPD, CCPA, etc.).</p>
|
| 490 |
-
</div>
|
| 491 |
-
<div class="card-bg p-6 space-y-2">
|
| 492 |
-
<span class="material-symbols-rounded text-2xl text-yellow-400">link</span>
|
| 493 |
-
<h3 class="font-semibold text-color">Standards Ouverts</h3>
|
| 494 |
-
<p class="text-gray-300-var text-sm">Support natif et complet des protocoles OAuth 2.0, OpenID Connect (OIDC) et SAML 2.0.</p>
|
| 495 |
-
</div>
|
| 496 |
-
<div class="card-bg p-6 space-y-2">
|
| 497 |
-
<span class="material-symbols-rounded text-2xl text-teal-400">history_toggle_off</span>
|
| 498 |
-
<h3 class="font-semibold text-color">Journaux d'Audit (Logs)</h3>
|
| 499 |
-
<p class="text-gray-300-var text-sm">Historique des événements de validation et d'accès en temps réel pour le monitoring et la traçabilité.</p>
|
| 500 |
-
</div>
|
| 501 |
-
<div class="card-bg p-6 space-y-2">
|
| 502 |
-
<span class="material-symbols-rounded text-2xl text-pink-400">group_add</span>
|
| 503 |
-
<h3 class="font-semibold text-color">Authentification Fédérée</h3>
|
| 504 |
-
<p class="text-gray-300-var text-sm">Connexion facilitée via les fournisseurs d'identité sociaux et d'entreprise (Google, Microsoft, etc.).</p>
|
| 505 |
-
</div>
|
| 506 |
-
<div class="card-bg p-6 space-y-2">
|
| 507 |
-
<span class="material-symbols-rounded text-2xl text-red-400">sos</span>
|
| 508 |
-
<h3 class="font-semibold text-color">Prévention des Attaques</h3>
|
| 509 |
-
<p class="text-gray-300-var text-sm">Limitation de taux (Rate Limiting), détection de bots et blocage des IP malveillantes automatique.</p>
|
| 510 |
-
</div>
|
| 511 |
-
<div class="card-bg p-6 space-y-2">
|
| 512 |
-
<span class="material-symbols-rounded text-2xl text-indigo-400">bug_report</span>
|
| 513 |
-
<h3 class="font-semibold text-color">Programme Bug Bounty</h3>
|
| 514 |
-
<p class="text-gray-300-var text-sm">Collaboration avec la communauté de la sécurité pour identifier et corriger les vulnérabilités en continu.</p>
|
| 515 |
-
</div>
|
| 516 |
-
</div>
|
| 517 |
-
</section>
|
| 518 |
-
|
| 519 |
-
<section>
|
| 520 |
-
<h2 class="text-4xl font-bold text-color mb-4 text-center"> Statistiques de Performance Clés
|
| 521 |
-
</h2>
|
| 522 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 523 |
-
L'architecture globale de Mailix garantit fiabilité et rapidité, essentielles à votre infrastructure.
|
| 524 |
-
</p>
|
| 525 |
-
|
| 526 |
-
<div class="grid md:grid-cols-3 gap-8 mb-12 text-center">
|
| 527 |
-
<div class="card-bg p-6 shadow-xl">
|
| 528 |
-
<h4 class="text-5xl font-bold text-green-400 mb-2">99.99%</h4>
|
| 529 |
-
<p class="text-lg font-semibold text-color">SLA Garanti</p>
|
| 530 |
-
<p class="text-gray-300-var text-sm">Fiabilité maximale, votre service est toujours disponible.</p>
|
| 531 |
-
</div>
|
| 532 |
-
<div class="card-bg p-6 shadow-xl">
|
| 533 |
-
<h4 class="text-5xl font-bold text-orange-400 mb-2">< 50ms</h4>
|
| 534 |
-
<p class="text-lg font-semibold text-color">Latence Globale</p>
|
| 535 |
-
<p class="text-gray-300-var text-sm">Temps de réponse de l'API optimisé pour une expérience utilisateur rapide.</p>
|
| 536 |
-
</div>
|
| 537 |
-
<div class="card-bg p-6 shadow-xl">
|
| 538 |
-
<h4 class="text-5xl font-bold text-lime-400 mb-2">10M+</h4>
|
| 539 |
-
<p class="text-lg font-semibold text-color">Validations / Mois</p>
|
| 540 |
-
<p class="text-gray-300-var text-sm">Capacité à gérer la croissance horizontale et les pics de trafic sans effort.</p>
|
| 541 |
-
</div>
|
| 542 |
-
</div>
|
| 543 |
-
</section>
|
| 544 |
-
|
| 545 |
-
<section class="py-12"> <h2 class="text-4xl font-bold text-color mb-4 text-center"> Ce que nos clients disent de Mailix.
|
| 546 |
-
</h2>
|
| 547 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 548 |
-
Plus de 15 témoignages qui illustrent la puissance et la fiabilité de notre plateforme.
|
| 549 |
-
</p>
|
| 550 |
-
|
| 551 |
-
<div class="testimonial-container">
|
| 552 |
-
<div class="testimonials-track" id="testimonials-track-content">
|
| 553 |
-
<div class="testimonial-card p-6">
|
| 554 |
-
<p class="text-xl italic text-gray-300-var mb-4">"Mailix a réduit nos temps d'intégration de trois semaines à deux jours. La documentation est impeccable et le support réactif."</p>
|
| 555 |
-
<div class="flex flex-col">
|
| 556 |
-
<div class="flex items-center mb-2">
|
| 557 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 558 |
-
J
|
| 559 |
-
</div>
|
| 560 |
-
<div>
|
| 561 |
-
<p class="font-bold text-color">Jean Dupont</p>
|
| 562 |
-
<p class="text-sm text-gray-400-var">CTO chez TechFusion</p>
|
| 563 |
-
</div>
|
| 564 |
-
</div>
|
| 565 |
-
<a href="mailto:jean.dupont@techfusion.com" class="text-sm font-medium text-blue-500-var hover:underline">jean.dupont@techfusion.com</a>
|
| 566 |
-
</div>
|
| 567 |
-
</div>
|
| 568 |
-
<div class="testimonial-card p-6">
|
| 569 |
-
<p class="text-xl italic text-gray-300-var mb-4">"La bascule vers Mailix a été un jeu d'enfant. Notre taux d'erreur d'authentification est tombé à presque zéro."</p>
|
| 570 |
-
<div class="flex flex-col">
|
| 571 |
-
<div class="flex items-center mb-2">
|
| 572 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 573 |
-
S
|
| 574 |
-
</div>
|
| 575 |
-
<div>
|
| 576 |
-
<p class="font-bold text-color">Sophie Martin</p>
|
| 577 |
-
<p class="text-sm text-gray-400-var">Développeuse Lead chez InnovApp</p>
|
| 578 |
-
</div>
|
| 579 |
-
</div>
|
| 580 |
-
<a href="mailto:sophie.martin@innovapp.fr" class="text-sm font-medium text-blue-500-var hover:underline">sophie.martin@innovapp.fr</a>
|
| 581 |
-
</div>
|
| 582 |
-
</div>
|
| 583 |
-
<div class="testimonial-card p-6">
|
| 584 |
-
<p class="text-xl italic text-gray-300-var mb-4">"La fonction MFA intégrée a été essentielle pour la conformité de notre plateforme B2B. Un outil robuste et fiable."</p>
|
| 585 |
-
<div class="flex flex-col">
|
| 586 |
-
<div class="flex items-center mb-2">
|
| 587 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 588 |
-
D
|
| 589 |
-
</div>
|
| 590 |
-
<div>
|
| 591 |
-
<p class="font-bold text-color">David Dubois</p>
|
| 592 |
-
<p class="text-sm text-gray-400-var">Chef de Produit chez GlobalSec</p>
|
| 593 |
-
</div>
|
| 594 |
-
</div>
|
| 595 |
-
<a href="mailto:david.dubois@globalsec.com" class="text-sm font-medium text-blue-500-var hover:underline">david.dubois@globalsec.com</a>
|
| 596 |
-
</div>
|
| 597 |
-
</div>
|
| 598 |
-
<div class="testimonial-card p-6">
|
| 599 |
-
<p class="text-xl italic text-gray-300-var mb-4">"Scalabilité prouvée : nous avons géré notre pic de Noël sans la moindre latence. Chapeau à l'équipe Mailix."</p>
|
| 600 |
-
<div class="flex flex-col">
|
| 601 |
-
<div class="flex items-center mb-2">
|
| 602 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 603 |
-
M
|
| 604 |
-
</div>
|
| 605 |
-
<div>
|
| 606 |
-
<p class="font-bold text-color">Marc Lavoie</p>
|
| 607 |
-
<p class="text-sm text-gray-400-var">Architecte Cloud chez E-Commerce X</p>
|
| 608 |
-
</div>
|
| 609 |
-
</div>
|
| 610 |
-
<a href="mailto:marc.lavoie@ecommercex.ca" class="text-sm font-medium text-blue-500-var hover:underline">marc.lavoie@ecommercex.ca</a>
|
| 611 |
-
</div>
|
| 612 |
-
</div>
|
| 613 |
-
<div class="testimonial-card p-6">
|
| 614 |
-
<p class="text-xl italic text-gray-300-var mb-4">"La rapidité de validation nous a permis de réduire notre taux de bounce de 15%."</p>
|
| 615 |
-
<div class="flex flex-col">
|
| 616 |
-
<div class="flex items-center mb-2">
|
| 617 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 618 |
-
E
|
| 619 |
-
</div>
|
| 620 |
-
<div>
|
| 621 |
-
<p class="font-bold text-color">Emma Tremblay</p>
|
| 622 |
-
<p class="text-sm text-gray-400-var">Responsable Marketing chez CreativeHub</p>
|
| 623 |
-
</div>
|
| 624 |
-
</div>
|
| 625 |
-
<a href="mailto:emma.tremblay@creativehub.com" class="text-sm font-medium text-blue-500-var hover:underline">emma.tremblay@creativehub.com</a>
|
| 626 |
-
</div>
|
| 627 |
-
</div>
|
| 628 |
-
<div class="testimonial-card p-6">
|
| 629 |
-
<p class="text-xl italic text-gray-300-var mb-4">"Une API propre et simple. Moins de temps passé sur la validation, plus sur notre cœur de métier."</p>
|
| 630 |
-
<div class="flex flex-col">
|
| 631 |
-
<div class="flex items-center mb-2">
|
| 632 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 633 |
-
L
|
| 634 |
-
</div>
|
| 635 |
-
<div>
|
| 636 |
-
<p class="font-bold text-color">Lucas Petit</p>
|
| 637 |
-
<p class="text-sm text-gray-400-var">Dev Backend chez DataStream</p>
|
| 638 |
-
</div>
|
| 639 |
-
</div>
|
| 640 |
-
<a href="mailto:lucas.petit@datastream.io" class="text-sm font-medium text-blue-500-var hover:underline">lucas.petit@datastream.io</a>
|
| 641 |
-
</div>
|
| 642 |
-
</div>
|
| 643 |
-
<div class="testimonial-card p-6">
|
| 644 |
-
<p class="text-xl italic text-gray-300-var mb-4">"Le meilleur rapport performance/prix pour une solution d'authentification d'entreprise. Je recommande fortement."</p>
|
| 645 |
-
<div class="flex flex-col">
|
| 646 |
-
<div class="flex items-center mb-2">
|
| 647 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 648 |
-
C
|
| 649 |
-
</div>
|
| 650 |
-
<div>
|
| 651 |
-
<p class="font-bold text-color">Chloé Lefevre</p>
|
| 652 |
-
<p class="text-sm text-gray-400-var">COO chez FinTech Z</p>
|
| 653 |
-
</div>
|
| 654 |
-
</div>
|
| 655 |
-
<a href="mailto:chloe.lefevre@fintechz.com" class="text-sm font-medium text-blue-500-var hover:underline">chloe.lefevre@fintechz.com</a>
|
| 656 |
-
</div>
|
| 657 |
-
</div>
|
| 658 |
-
<div class="testimonial-card p-6">
|
| 659 |
-
<p class="text-xl italic text-gray-300-var mb-4">"La transition des données de notre ancien système a été la partie la plus facile de notre refonte, grâce aux outils Mailix."</p>
|
| 660 |
-
<div class="flex flex-col">
|
| 661 |
-
<div class="flex items-center mb-2">
|
| 662 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 663 |
-
A
|
| 664 |
-
</div>
|
| 665 |
-
<div>
|
| 666 |
-
<p class="font-bold text-color">Alexandre Roy</p>
|
| 667 |
-
<p class="text-sm text-gray-400-var">Ingénieur DevOps chez Legacy Solutions</p>
|
| 668 |
-
</div>
|
| 669 |
-
</div>
|
| 670 |
-
<a href="mailto:alexandre.roy@legacy.io" class="text-sm font-medium text-blue-500-var hover:underline">alexandre.roy@legacy.io</a>
|
| 671 |
-
</div>
|
| 672 |
-
</div>
|
| 673 |
-
<div class="testimonial-card p-6">
|
| 674 |
-
<p class="text-xl italic text-gray-300-var mb-4">"Mailix est le standard de facto pour la gestion des identités modernes. Nous ne regardons plus en arrière."</p>
|
| 675 |
-
<div class="flex flex-col">
|
| 676 |
-
<div class="flex items-center mb-2">
|
| 677 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 678 |
-
J
|
| 679 |
-
</div>
|
| 680 |
-
<div>
|
| 681 |
-
<p class="font-bold text-color">Julie Gauthier</p>
|
| 682 |
-
<p class="text-sm text-gray-400-var">VP Engineering chez FuturePath</p>
|
| 683 |
-
</div>
|
| 684 |
-
</div>
|
| 685 |
-
<a href="mailto:julie.gauthier@futurepath.com" class="text-sm font-medium text-blue-500-var hover:underline">julie.gauthier@futurepath.com</a>
|
| 686 |
-
</div>
|
| 687 |
-
</div>
|
| 688 |
-
<div class="testimonial-card p-6">
|
| 689 |
-
<p class="text-xl italic text-gray-300-var mb-4">"La surveillance des logs en temps réel nous permet d'identifier et de répondre aux menaces instantanément."</p>
|
| 690 |
-
<div class="flex flex-col">
|
| 691 |
-
<div class="flex items-center mb-2">
|
| 692 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 693 |
-
N
|
| 694 |
-
</div>
|
| 695 |
-
<div>
|
| 696 |
-
<p class="font-bold text-color">Nicolas Bernard</p>
|
| 697 |
-
<p class="text-sm text-gray-400-var">Spécialiste Cybersécurité chez SecureNet</p>
|
| 698 |
-
</div>
|
| 699 |
-
</div>
|
| 700 |
-
<a href="mailto:nicolas.bernard@securenet.io" class="text-sm font-medium text-blue-500-var hover:underline">nicolas.bernard@securenet.io</a>
|
| 701 |
-
</div>
|
| 702 |
-
</div>
|
| 703 |
-
<div class="testimonial-card p-6">
|
| 704 |
-
<p class="text-xl italic text-gray-300-var mb-4">"Nos clients B2B apprécient la facilité du SSO. C'est un argument de vente majeur pour nous."</p>
|
| 705 |
-
<div class="flex flex-col">
|
| 706 |
-
<div class="flex items-center mb-2">
|
| 707 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 708 |
-
C
|
| 709 |
-
</div>
|
| 710 |
-
<div>
|
| 711 |
-
<p class="font-bold text-color">Caroline Gagnon</p>
|
| 712 |
-
<p class="text-sm text-gray-400-var">Directrice Commerciale chez B2B Connect</p>
|
| 713 |
-
</div>
|
| 714 |
-
</div>
|
| 715 |
-
<a href="mailto:caroline.gagnon@b2bconnect.ca" class="text-sm font-medium text-blue-500-var hover:underline">caroline.gagnon@b2bconnect.ca</a>
|
| 716 |
-
</div>
|
| 717 |
-
</div>
|
| 718 |
-
<div class="testimonial-card p-6">
|
| 719 |
-
<p class="text-xl italic text-gray-300-var mb-4">"Les SDKs sont incroyablement bien documentés. Intégration en moins d'une heure pour notre application React."</p>
|
| 720 |
-
<div class="flex flex-col">
|
| 721 |
-
<div class="flex items-center mb-2">
|
| 722 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 723 |
-
F
|
| 724 |
-
</div>
|
| 725 |
-
<div>
|
| 726 |
-
<p class="font-bold text-color">Frédéric Leblanc</p>
|
| 727 |
-
<p class="text-sm text-gray-400-var">Développeur Frontend chez App Studio</p>
|
| 728 |
-
</div>
|
| 729 |
-
</div>
|
| 730 |
-
<a href="mailto:frederic.leblanc@appstudio.com" class="text-sm font-medium text-blue-500-var hover:underline">frederic.leblanc@appstudio.com</a>
|
| 731 |
-
</div>
|
| 732 |
-
</div>
|
| 733 |
-
<div class="testimonial-card p-6">
|
| 734 |
-
<p class="text-xl italic text-gray-300-var mb-4">"Mailix a réduit nos temps d'intégration de trois semaines à deux jours. La documentation est impeccable et le support réactif."</p>
|
| 735 |
-
<div class="flex flex-col">
|
| 736 |
-
<div class="flex items-center mb-2">
|
| 737 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 738 |
-
J
|
| 739 |
-
</div>
|
| 740 |
-
<div>
|
| 741 |
-
<p class="font-bold text-color">Jean Dupont</p>
|
| 742 |
-
<p class="text-sm text-gray-400-var">CTO chez TechFusion</p>
|
| 743 |
-
</div>
|
| 744 |
-
</div>
|
| 745 |
-
<a href="mailto:jean.dupont@techfusion.com" class="text-sm font-medium text-blue-500-var hover:underline">jean.dupont@techfusion.com</a>
|
| 746 |
-
</div>
|
| 747 |
-
</div>
|
| 748 |
-
<div class="testimonial-card p-6">
|
| 749 |
-
<p class="text-xl italic text-gray-300-var mb-4">"La bascule vers Mailix a été un jeu d'enfant. Notre taux d'erreur d'authentification est tombé à presque zéro."</p>
|
| 750 |
-
<div class="flex flex-col">
|
| 751 |
-
<div class="flex items-center mb-2">
|
| 752 |
-
<div class="w-10 h-10 bg-green-500 flex items-center justify-center text-black font-bold text-lg mr-3">
|
| 753 |
-
S
|
| 754 |
-
</div>
|
| 755 |
-
<div>
|
| 756 |
-
<p class="font-bold text-color">Sophie Martin</p>
|
| 757 |
-
<p class="text-sm text-gray-400-var">Développeuse Lead chez InnovApp</p>
|
| 758 |
-
</div>
|
| 759 |
-
</div>
|
| 760 |
-
<a href="mailto:sophie.martin@innovapp.fr" class="text-sm font-medium text-blue-500-var hover:underline">sophie.martin@innovapp.fr</a>
|
| 761 |
-
</div>
|
| 762 |
-
</div>
|
| 763 |
-
</div>
|
| 764 |
-
</div>
|
| 765 |
-
</section>
|
| 766 |
-
|
| 767 |
-
<section class="py-12">
|
| 768 |
-
<h2 class="text-4xl font-bold text-color mb-4 text-center">
|
| 769 |
-
FAQ (Foire Aux Questions)
|
| 770 |
-
</h2>
|
| 771 |
-
<p class="text-lg text-gray-400-var max-w-3xl mx-auto text-center mb-12">
|
| 772 |
-
Trouvez rapidement les réponses à vos questions techniques et commerciales.
|
| 773 |
-
</p>
|
| 774 |
-
|
| 775 |
-
<div class="max-w-4xl mx-auto divide-y divide-[var(--border-color)] border-y border-[var(--border-color)]">
|
| 776 |
-
|
| 777 |
-
<details class="faq-item">
|
| 778 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 779 |
-
Qu'est-ce que la "Simulation SMTP" ?
|
| 780 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 781 |
-
</summary>
|
| 782 |
-
<p class="pb-4 text-gray-300-var">
|
| 783 |
-
La simulation SMTP est un test non intrusif où notre API se connecte au serveur de messagerie du destinataire et commence la procédure d'envoi, mais coupe la connexion avant d'envoyer le message final. Cela permet de confirmer l'existence et la validité de la boîte de réception sans générer de trafic e-mail indésirable.
|
| 784 |
-
</p>
|
| 785 |
-
</details>
|
| 786 |
-
|
| 787 |
-
<details class="faq-item">
|
| 788 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 789 |
-
Quel est le temps de latence moyen de l'API Mailix ?
|
| 790 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 791 |
-
</summary>
|
| 792 |
-
<p class="pb-4 text-gray-300-var">
|
| 793 |
-
Notre architecture distribuée et optimisée nous permet d'atteindre une latence moyenne inférieure à 50ms pour la majorité des requêtes. Cette vitesse est cruciale pour la validation d'e-mails en temps réel sur les formulaires de vos utilisateurs.
|
| 794 |
-
</p>
|
| 795 |
-
</details>
|
| 796 |
-
|
| 797 |
-
<details class="faq-item">
|
| 798 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 799 |
-
Comment gérez-vous la conformité RGPD et CCPA ?
|
| 800 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 801 |
-
</summary>
|
| 802 |
-
<p class="pb-4 text-gray-300-var">
|
| 803 |
-
Nous sommes entièrement conformes aux réglementations RGPD (Europe) et CCPA (Californie). Nous ne stockons aucune donnée personnelle au-delà de la durée nécessaire à la validation et nos serveurs sont configurés pour respecter les exigences de résidence des données.
|
| 804 |
-
</p>
|
| 805 |
-
</details>
|
| 806 |
-
|
| 807 |
-
<details class="faq-item">
|
| 808 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 809 |
-
Qu'est-ce qu'un "E-mail Jetable" et pourquoi le bloquer ?
|
| 810 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 811 |
-
</summary>
|
| 812 |
-
<p class="pb-4 text-gray-300-var">
|
| 813 |
-
Un e-mail jetable (ou temp mail) est une adresse éphémère qui expire après une courte période. Les utilisateurs les emploient souvent pour s'inscrire à des services sans intention d'engagement à long terme. Les bloquer permet de maintenir la qualité de votre liste et d'éviter les faux utilisateurs.
|
| 814 |
-
</p>
|
| 815 |
-
</details>
|
| 816 |
-
|
| 817 |
-
<details class="faq-item">
|
| 818 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 819 |
-
L'API supporte-t-elle les validations en masse ?
|
| 820 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 821 |
-
</summary>
|
| 822 |
-
<p class="pb-4 text-gray-300-var">
|
| 823 |
-
Oui, notre API est conçue pour la scalabilité et peut gérer de grands volumes de validation. Pour les nettoyages de base de données massifs, nous proposons également une fonctionnalité de validation de liste asynchrone pour traiter des millions d'adresses efficacement.
|
| 824 |
-
</p>
|
| 825 |
-
</details>
|
| 826 |
-
|
| 827 |
-
<details class="faq-item">
|
| 828 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 829 |
-
Quels sont les mécanismes de sécurité mis en place pour l'accès API ?
|
| 830 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 831 |
-
</summary>
|
| 832 |
-
<p class="pb-4 text-gray-300-var">
|
| 833 |
-
Nous utilisons des clés API sécurisées, conformes à OAuth 2.0. Toutes les communications sont chiffrées via TLS/SSL. De plus, nous appliquons une limitation de taux (Rate Limiting) agressive et une détection de bots pour prévenir les abus et les attaques DDoS.
|
| 834 |
-
</p>
|
| 835 |
-
</details>
|
| 836 |
-
|
| 837 |
-
<details class="faq-item">
|
| 838 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 839 |
-
Puis-je tester la validité d'un e-mail directement sur votre site ?
|
| 840 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 841 |
-
</summary>
|
| 842 |
-
<p class="pb-4 text-gray-300-var">
|
| 843 |
-
Absolument. La section d'introduction de cette page contient un champ de test en temps réel qui utilise notre API principale pour vous donner un aperçu instantané de nos capacités de validation.
|
| 844 |
-
</p>
|
| 845 |
-
</details>
|
| 846 |
-
|
| 847 |
-
<details class="faq-item">
|
| 848 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 849 |
-
Qu'est-ce qu'une vérification des Enregistrements MX ?
|
| 850 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 851 |
-
</summary>
|
| 852 |
-
<p class="pb-4 text-gray-300-var">
|
| 853 |
-
C'est la première étape technique pour s'assurer que le domaine de l'e-mail peut recevoir du courrier. Nous vérifions l'existence d'un enregistrement MX (Mail Exchanger) dans le DNS du domaine, ce qui est essentiel pour la livrabilité. Si cet enregistrement est manquant, l'e-mail est invalide.
|
| 854 |
-
</p>
|
| 855 |
-
</details>
|
| 856 |
-
|
| 857 |
-
<details class="faq-item">
|
| 858 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 859 |
-
Comment puis-je suivre ma consommation de crédits API ?
|
| 860 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 861 |
-
</summary>
|
| 862 |
-
<p class="pb-4 text-gray-300-var">
|
| 863 |
-
Chaque client a accès à un tableau de bord intuitif où il peut suivre en temps réel l'utilisation des crédits, les taux de validation, les statistiques d'erreur et l'historique détaillé de tous les appels API effectués.
|
| 864 |
-
</p>
|
| 865 |
-
</details>
|
| 866 |
-
|
| 867 |
-
<details class="faq-item">
|
| 868 |
-
<summary class="text-lg text-color hover:text-green-400 transition duration-200">
|
| 869 |
-
Supportez-vous l'Authentification Fédérée (SSO) pour les clients B2B ?
|
| 870 |
-
<span class="material-symbols-rounded faq-icon text-green-400">add</span>
|
| 871 |
-
</summary>
|
| 872 |
-
<p class="pb-4 text-gray-300-var">
|
| 873 |
-
Oui, nous supportons entièrement l'Authentification Fédérée via des protocoles comme OAuth 2.0, OpenID Connect et SAML 2.0, permettant une connexion simplifiée pour vos clients d'entreprise via leurs fournisseurs d'identité (Google, Microsoft, Okta, etc.).
|
| 874 |
-
</p>
|
| 875 |
-
</details>
|
| 876 |
-
|
| 877 |
-
</div>
|
| 878 |
-
</section>
|
| 879 |
-
</main>
|
| 880 |
-
|
| 881 |
-
<script>
|
| 882 |
-
document.addEventListener('DOMContentLoaded', () => {
|
| 883 |
-
const track = document.getElementById('testimonials-track-content');
|
| 884 |
-
if (track) {
|
| 885 |
-
const cards = track.querySelectorAll('.testimonial-card');
|
| 886 |
-
// Dupliquer les cartes pour créer l'effet de défilement infini
|
| 887 |
-
cards.forEach(card => {
|
| 888 |
-
const clone = card.cloneNode(true);
|
| 889 |
-
track.appendChild(clone);
|
| 890 |
-
});
|
| 891 |
-
}
|
| 892 |
-
});
|
| 893 |
-
</script>
|
| 894 |
-
</div>
|
| 895 |
-
|
| 896 |
-
<script>
|
| 897 |
-
document.addEventListener('DOMContentLoaded', () => {
|
| 898 |
-
const track = document.getElementById('logos-track-content');
|
| 899 |
-
if (track) {
|
| 900 |
-
const logos = track.querySelectorAll('.logo-item');
|
| 901 |
-
// Dupliquer les logos pour créer l'effet de défilement infini
|
| 902 |
-
logos.forEach(logo => {
|
| 903 |
-
const clone = logo.cloneNode(true);
|
| 904 |
-
track.appendChild(clone);
|
| 905 |
-
});
|
| 906 |
-
}
|
| 907 |
-
});
|
| 908 |
-
</script>
|
| 909 |
-
|
| 910 |
-
|
| 911 |
-
|
| 912 |
-
|
| 913 |
-
<footer class="mt-20 py-10 bg-header border-t header-border">
|
| 914 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
| 915 |
-
<div class="grid grid-cols-4 gap-8 text-sm">
|
| 916 |
-
|
| 917 |
-
<div class="col-span-4 md:col-span-1">
|
| 918 |
-
<h3 class="text-2xl font-bold text-green-500 mb-4">Mailix</h3> <p class="text-gray-400-var">La plateforme de validation d'e-mails la plus rapide pour vos besoins d'entreprise. Zéro Spam, Zéro Bounce.</p>
|
| 919 |
-
</div>
|
| 920 |
-
|
| 921 |
-
<div class="col-span-2 md:col-span-1">
|
| 922 |
-
<h3 class="text-lg font-semibold text-color mb-4">Produit</h3>
|
| 923 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 924 |
-
<li><a href="/tarifs" class="hover:text-blue-500-var transition duration-200">Tarifs</a></li>
|
| 925 |
-
<li><a href="/fonctionnalites" class="hover:text-blue-500-var transition duration-200">Fonctionnalités</a></li>
|
| 926 |
-
<li><a href="/documentation" class="hover:text-blue-500-var transition duration-200">Documentation</a></li>
|
| 927 |
-
<li><a href="/support" class="hover:text-blue-500-var transition duration-200">Support</a></li>
|
| 928 |
-
</ul>
|
| 929 |
-
</div>
|
| 930 |
-
|
| 931 |
-
<div class="col-span-2 md:col-span-1">
|
| 932 |
-
<h3 class="text-lg font-semibold text-color mb-4">Légal</h3>
|
| 933 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 934 |
-
<li><a href="/politique-confidentialite" class="hover:text-blue-500-var transition duration-200">Politique de Confidentialité</a></li>
|
| 935 |
-
<li><a href="/mentions-legales" class="hover:text-blue-500-var transition duration-200">Mentions Légales</a></li>
|
| 936 |
-
<li><a href="/conditions-utilisation" class="hover:text-blue-500-var transition duration-200">Conditions d'Utilisation</a></li>
|
| 937 |
-
<li><a href="/a-propos" class="hover:text-blue-500-var transition duration-200">À Propos</a></li>
|
| 938 |
-
</ul>
|
| 939 |
-
</div>
|
| 940 |
-
|
| 941 |
-
<div class="col-span-2 md:col-span-1">
|
| 942 |
-
<h3 class="text-lg font-semibold text-color mb-4">Ressources</h3>
|
| 943 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 944 |
-
<li><a href="mailto:support@mailix.com" class="hover:text-blue-500-var transition duration-200">Contact Email</a></li>
|
| 945 |
-
<li><a href="/dashboard" class="hover:text-blue-500-var transition duration-200">Espace Client</a></li>
|
| 946 |
-
<li><a href="/api-logs" class="hover:text-blue-500-var transition duration-200">Statut API</a></li>
|
| 947 |
-
</ul>
|
| 948 |
-
</div>
|
| 949 |
-
|
| 950 |
-
</div>
|
| 951 |
-
|
| 952 |
-
<div class="mt-10 pt-6 border-t border-[var(--border-color)]">
|
| 953 |
-
<p class="text-center text-sm text-gray-500-var">
|
| 954 |
-
© 2025 Mailix. Tous droits réservés. Propulsé par la <a href="/" class="hover:text-blue-500-var transition duration-200">Validation d'E-mail la plus rapide</a>.
|
| 955 |
-
</p>
|
| 956 |
-
</div>
|
| 957 |
-
</div>
|
| 958 |
-
</footer>
|
| 959 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
| 960 |
-
<script>
|
| 961 |
-
// Initialiser Highlight.js pour les blocs de code
|
| 962 |
-
hljs.highlightAll();
|
| 963 |
-
|
| 964 |
-
// Logique de l'onglet de code mise à jour (couleurs déjà en CSS)
|
| 965 |
-
document.getElementById('language-tabs').addEventListener('click', function(e) {
|
| 966 |
-
if (e.target.classList.contains('tab-button')) {
|
| 967 |
-
// Désactiver tous les onglets
|
| 968 |
-
document.querySelectorAll('.tab-button').forEach(btn => {
|
| 969 |
-
btn.classList.remove('border-green-500', 'text-green-500', 'bg-gray-800');
|
| 970 |
-
btn.classList.add('border-transparent', 'text-gray-400-var', 'hover:text-white', 'hover:bg-gray-800');
|
| 971 |
-
});
|
| 972 |
-
|
| 973 |
-
// Cacher tous les blocs de code
|
| 974 |
-
document.querySelectorAll('.tab-code').forEach(code => {
|
| 975 |
-
code.closest('pre').classList.add('hidden');
|
| 976 |
-
});
|
| 977 |
-
|
| 978 |
-
// Activer l'onglet cliqué
|
| 979 |
-
e.target.classList.add('border-green-500', 'text-green-500', 'bg-gray-800');
|
| 980 |
-
e.target.classList.remove('border-transparent', 'text-gray-400-var', 'hover:text-white', 'hover:bg-gray-800');
|
| 981 |
-
|
| 982 |
-
// Afficher le bloc de code correspondant
|
| 983 |
-
const lang = e.target.getAttribute('data-lang');
|
| 984 |
-
document.getElementById('code-' + lang).closest('pre').classList.remove('hidden');
|
| 985 |
-
|
| 986 |
-
// Réinitialiser la coloration syntaxique
|
| 987 |
-
hljs.highlightAll();
|
| 988 |
-
}
|
| 989 |
-
});
|
| 990 |
-
</script>
|
| 991 |
-
</body>
|
| 992 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/inscription.html
DELETED
|
@@ -1,231 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Mailix | Inscription</title>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 11 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 12 |
-
<style>
|
| 13 |
-
/* PHASE 1 : Configuration et Base du Style (Dark Mode Exclusif & Pro, Copié de index.html) */
|
| 14 |
-
:root {
|
| 15 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 16 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil */
|
| 17 |
-
--bg-section: #141414;
|
| 18 |
-
--bg-code: #141414; /* Utilisé pour le fond des inputs */
|
| 19 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 20 |
-
--color-accent: #4ade80; /* Vert Néon */
|
| 21 |
-
--color-text: #E5E5E5; /* Gris très clair */
|
| 22 |
-
--color-text-dim: #A0A0A0; /* Texte secondaire */
|
| 23 |
-
--color-text-light: #F5F5F5;
|
| 24 |
-
--blue-500-var: #3b82f6; /* Bleu par défaut de Tailwind */
|
| 25 |
-
--gray-400-var: #9ca3af; /* Gris par défaut de Tailwind */
|
| 26 |
-
--blue-600-var: #2563eb;
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
body {
|
| 30 |
-
background-color: var(--bg-body);
|
| 31 |
-
color: var(--color-text);
|
| 32 |
-
font-family: sans-serif;
|
| 33 |
-
margin: 0;
|
| 34 |
-
padding: 0;
|
| 35 |
-
/* Changement: Rendre la hauteur minimale de l'écran pour l'alignement */
|
| 36 |
-
min-height: 100vh;
|
| 37 |
-
/* Suppression du 'display: flex' sur le body pour permettre au conteneur principal de gérer la largeur */
|
| 38 |
-
}
|
| 39 |
-
|
| 40 |
-
.text-color { color: var(--color-text); }
|
| 41 |
-
.card-bg { background-color: var(--bg-card); border: 1px solid var(--border-color); }
|
| 42 |
-
.input-bg { background-color: var(--bg-code); }
|
| 43 |
-
.btn-primary { background-color: var(--color-accent); color: var(--bg-card); }
|
| 44 |
-
.btn-primary:hover { opacity: 0.9; }
|
| 45 |
-
|
| 46 |
-
input[type="text"],
|
| 47 |
-
input[type="email"],
|
| 48 |
-
input[type="password"] {
|
| 49 |
-
background-color: var(--bg-code);
|
| 50 |
-
border-color: var(--border-color);
|
| 51 |
-
color: var(--color-text);
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
input:focus {
|
| 55 |
-
border-color: var(--color-accent) !important;
|
| 56 |
-
box-shadow: 0 0 0 1px var(--color-accent) !important;
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
-
/* Styles spécifiques pour l'icône de mot de passe */
|
| 60 |
-
.password-input-wrapper {
|
| 61 |
-
position: relative;
|
| 62 |
-
}
|
| 63 |
-
|
| 64 |
-
.password-input-wrapper input {
|
| 65 |
-
padding-right: 2.5rem; /* Espace pour l'icône */
|
| 66 |
-
}
|
| 67 |
-
|
| 68 |
-
.password-toggle {
|
| 69 |
-
position: absolute;
|
| 70 |
-
top: 50%;
|
| 71 |
-
right: 0.75rem;
|
| 72 |
-
transform: translateY(-50%);
|
| 73 |
-
cursor: pointer;
|
| 74 |
-
color: var(--gray-400-var);
|
| 75 |
-
}
|
| 76 |
-
|
| 77 |
-
/* Variables pour Tailwind CSS (utilisées dans les classes) */
|
| 78 |
-
.text-blue-500-var { color: var(--blue-500-var); }
|
| 79 |
-
.hover\:underline:hover { text-decoration: underline; }
|
| 80 |
-
.text-gray-400-var { color: var(--gray-400-var); }
|
| 81 |
-
.text-blue-600-var { color: var(--blue-600-var); }
|
| 82 |
-
</style>
|
| 83 |
-
</head>
|
| 84 |
-
<body class="flex justify-center items-center min-h-screen">
|
| 85 |
-
<div class="w-full h-full p-0 md:p-4 flex justify-center items-center">
|
| 86 |
-
<div class="w-full max-w-6xl flex flex-col md:flex-row shadow-lg rounded-xl overflow-hidden min-h-[70vh]">
|
| 87 |
-
<div class="w-full md:w-1/2 card-bg hidden md:block">
|
| 88 |
-
<div class="p-8 h-full flex flex-col justify-between">
|
| 89 |
-
<h1 class="text-4xl font-bold text-white leading-tight">
|
| 90 |
-
<span class="text-[var(--color-accent)]">Mailix.</span> <br>
|
| 91 |
-
Sécurité Email Pro.
|
| 92 |
-
</h1>
|
| 93 |
-
<p class="text-gray-300 mt-4">
|
| 94 |
-
Créez votre compte pour accéder à la validation d'e-mail la plus rapide et fiable du marché.
|
| 95 |
-
Protégez vos listes contre les adresses jetables.
|
| 96 |
-
</p>
|
| 97 |
-
</div>
|
| 98 |
-
</div>
|
| 99 |
-
<div class="w-full md:w-1/2 card-bg p-8 md:p-12">
|
| 100 |
-
<h2 class="text-3xl font-bold text-center text-color mb-8">Créer votre compte</h2>
|
| 101 |
-
|
| 102 |
-
{% with messages = get_flashed_messages(with_categories=true) %}
|
| 103 |
-
{% if messages %}
|
| 104 |
-
{% for category, message in messages %}
|
| 105 |
-
<p id="message-flash" class="text-center mb-4
|
| 106 |
-
{% if category == 'error' %}text-red-500
|
| 107 |
-
{% elif category == 'success' %}text-green-500
|
| 108 |
-
{% else %}text-yellow-500{% endif %}">
|
| 109 |
-
{{ message }}
|
| 110 |
-
</p>
|
| 111 |
-
{% endfor %}
|
| 112 |
-
{% endif %}
|
| 113 |
-
{% endwith %}
|
| 114 |
-
<p id="message" class="text-center text-red-500 mb-4"></p>
|
| 115 |
-
|
| 116 |
-
<form id="registerForm" method="POST" action="{{ url_for('user_bp.inscription') }}">
|
| 117 |
-
<div class="flex flex-wrap -mx-2 mb-4">
|
| 118 |
-
<div class="w-full md:w-1/2 px-2 mb-4 md:mb-0">
|
| 119 |
-
<label for="username" class="block text-sm font-medium text-color">Nom d'utilisateur</label>
|
| 120 |
-
<input type="text" id="username" name="username" placeholder="Choisissez un nom" required
|
| 121 |
-
class="mt-1 block w-full px-3 py-2 border rounded-md shadow-sm"
|
| 122 |
-
>
|
| 123 |
-
</div>
|
| 124 |
-
<div class="w-full md:w-1/2 px-2">
|
| 125 |
-
<label for="email" class="block text-sm font-medium text-color">Adresse Email</label>
|
| 126 |
-
<input type="email" id="email" name="email" placeholder="votre@email.com" required
|
| 127 |
-
class="mt-1 block w-full px-3 py-2 border rounded-md shadow-sm"
|
| 128 |
-
>
|
| 129 |
-
</div>
|
| 130 |
-
</div>
|
| 131 |
-
|
| 132 |
-
<div class="mb-4">
|
| 133 |
-
<label for="password" class="block text-sm font-medium text-color">Mot de Passe</label>
|
| 134 |
-
<div class="password-input-wrapper">
|
| 135 |
-
<input type="password" id="password" name="password" placeholder="Min. 8 caractères" required
|
| 136 |
-
class="mt-1 block w-full px-3 py-2 border rounded-md shadow-sm pr-10"
|
| 137 |
-
>
|
| 138 |
-
<i class="fa-solid fa-eye password-toggle" id="togglePassword"></i>
|
| 139 |
-
</div>
|
| 140 |
-
</div>
|
| 141 |
-
|
| 142 |
-
<div class="mb-6">
|
| 143 |
-
<label for="confirm_password" class="block text-sm font-medium text-color">Confirmer le Mot de Passe</label>
|
| 144 |
-
<div class="password-input-wrapper">
|
| 145 |
-
<input type="password" id="confirm_password" name="confirm_password" placeholder="Confirmer votre mot de passe" required
|
| 146 |
-
class="mt-1 block w-full px-3 py-2 border rounded-md shadow-sm pr-10"
|
| 147 |
-
>
|
| 148 |
-
<i class="fa-solid fa-eye password-toggle" id="toggleConfirmPassword"></i>
|
| 149 |
-
</div>
|
| 150 |
-
</div>
|
| 151 |
-
|
| 152 |
-
<div class="mb-6 flex items-center">
|
| 153 |
-
<input type="checkbox" id="terms" name="terms" required
|
| 154 |
-
class="h-4 w-4 text-green-500 focus:ring-green-500 border-gray-300 rounded"
|
| 155 |
-
>
|
| 156 |
-
<label for="terms" class="ml-2 block text-sm text-gray-400-var">
|
| 157 |
-
J'accepte les <a href="#" class="text-blue-500-var hover:underline">Conditions Générales d'Utilisation</a>.
|
| 158 |
-
</label>
|
| 159 |
-
</div>
|
| 160 |
-
|
| 161 |
-
<button type="submit"
|
| 162 |
-
class="w-full px-4 py-3 btn-primary rounded-md text-lg font-semibold shadow-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500">
|
| 163 |
-
S'inscrire
|
| 164 |
-
</button>
|
| 165 |
-
</form>
|
| 166 |
-
|
| 167 |
-
<p class="mt-6 text-center text-sm text-gray-400-var">
|
| 168 |
-
Déjà un compte ? <a href="{{ url_for('user_bp.connexion') }}" class="text-blue-500-var hover:underline">Connectez-vous</a>
|
| 169 |
-
</p>
|
| 170 |
-
</div>
|
| 171 |
-
</div>
|
| 172 |
-
</div>
|
| 173 |
-
|
| 174 |
-
<script>
|
| 175 |
-
// Logiques d'affichage/masquage des mots de passe
|
| 176 |
-
const togglePassword = document.getElementById('togglePassword');
|
| 177 |
-
const password = document.getElementById('password');
|
| 178 |
-
|
| 179 |
-
if (togglePassword && password) {
|
| 180 |
-
togglePassword.addEventListener('click', function (e) {
|
| 181 |
-
// Basculer le type entre 'password' et 'text'
|
| 182 |
-
const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
|
| 183 |
-
password.setAttribute('type', type);
|
| 184 |
-
// Basculer l'icône
|
| 185 |
-
this.classList.toggle('fa-eye-slash');
|
| 186 |
-
this.classList.toggle('fa-eye');
|
| 187 |
-
});
|
| 188 |
-
}
|
| 189 |
-
|
| 190 |
-
const toggleConfirmPassword = document.getElementById('toggleConfirmPassword');
|
| 191 |
-
const confirmPasswordInput = document.getElementById('confirm_password');
|
| 192 |
-
|
| 193 |
-
if (toggleConfirmPassword && confirmPasswordInput) {
|
| 194 |
-
toggleConfirmPassword.addEventListener('click', function (e) {
|
| 195 |
-
// Basculer le type entre 'password' et 'text'
|
| 196 |
-
const type = confirmPasswordInput.getAttribute('type') === 'password' ? 'text' : 'password';
|
| 197 |
-
confirmPasswordInput.setAttribute('type', type);
|
| 198 |
-
// Basculer l'icône
|
| 199 |
-
this.classList.toggle('fa-eye-slash');
|
| 200 |
-
this.classList.toggle('fa-eye');
|
| 201 |
-
});
|
| 202 |
-
}
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
// Logique de soumission du formulaire : Vérification côté client avant envoi POST (MODIFIÉE)
|
| 206 |
-
document.getElementById('registerForm').addEventListener('submit', function(e) {
|
| 207 |
-
// Ne pas empêcher la soumission immédiatement
|
| 208 |
-
|
| 209 |
-
const password = document.getElementById('password').value;
|
| 210 |
-
// CORRECTION ID: Utiliser le bon ID/Name pour la confirmation
|
| 211 |
-
const confirmPassword = document.getElementById('confirm_password').value;
|
| 212 |
-
const message = document.getElementById('message');
|
| 213 |
-
|
| 214 |
-
// Nettoyer le message d'erreur si l'utilisateur corrige
|
| 215 |
-
message.textContent = '';
|
| 216 |
-
message.className = 'text-center text-red-500 mb-4';
|
| 217 |
-
|
| 218 |
-
if (password !== confirmPassword) {
|
| 219 |
-
message.textContent = 'Les mots de passe ne correspondent pas.';
|
| 220 |
-
message.className = 'text-red-500 mb-4';
|
| 221 |
-
// Empêcher la soumission du formulaire
|
| 222 |
-
e.preventDefault();
|
| 223 |
-
return;
|
| 224 |
-
}
|
| 225 |
-
|
| 226 |
-
// Si la vérification est OK, l'événement n'est pas empêché (pas de e.preventDefault()),
|
| 227 |
-
// et le formulaire se soumettra naturellement à la route Flask en POST.
|
| 228 |
-
});
|
| 229 |
-
</script>
|
| 230 |
-
</body>
|
| 231 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/mentions_legales.html
DELETED
|
@@ -1,258 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Mentions Légales | Mailix - Service de Validation d'Email</title>
|
| 8 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 9 |
-
<link rel="stylesheet"
|
| 10 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 11 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 12 |
-
<style>
|
| 13 |
-
/* PHASE 1 : Configuration et Base du Style (Dark Mode Exclusif & Pro) */
|
| 14 |
-
/* Suppression de toute la logique du mode clair. */
|
| 15 |
-
:root {
|
| 16 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 17 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil */
|
| 18 |
-
--bg-section: #141414;
|
| 19 |
-
--bg-code: #141414;
|
| 20 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 21 |
-
--color-accent: #4ade80; /* Vert Vif */
|
| 22 |
-
--text-color: #ffffff;
|
| 23 |
-
--text-secondary: #d1d5db; /* gray-300 */
|
| 24 |
-
--text-muted: #9ca3af; /* gray-400 */
|
| 25 |
-
--text-blue: var(--color-accent); /* Remplacer le bleu par le vert accent partout (pour compatibilité des classes) */
|
| 26 |
-
--shadow-color: rgba(0, 0, 0, 0.5);
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
-
/* Application des variables aux styles existants et aux nouveaux éléments */
|
| 30 |
-
body {
|
| 31 |
-
font-family: 'Inter', sans-serif;
|
| 32 |
-
background-color: var(--bg-body);
|
| 33 |
-
color: var(--text-color);
|
| 34 |
-
min-height: 100vh;
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
/* Fix pour le header qui est maintenant sticky */
|
| 38 |
-
.header-border { border-color: var(--border-color); }
|
| 39 |
-
.bg-header { background-color: var(--bg-body); }
|
| 40 |
-
|
| 41 |
-
/* Styles pour les sections/cartes */
|
| 42 |
-
.card-bg {
|
| 43 |
-
background-color: var(--bg-card);
|
| 44 |
-
border: 1px solid var(--border-color);
|
| 45 |
-
}
|
| 46 |
-
|
| 47 |
-
.text-blue-500-var { color: var(--text-blue); }
|
| 48 |
-
.text-gray-300-var { color: var(--text-secondary); }
|
| 49 |
-
.text-gray-400-var { color: var(--text-muted); }
|
| 50 |
-
|
| 51 |
-
/* Style pour les titres h2 pour correspondre au vert de l'index */
|
| 52 |
-
.text-color { color: var(--text-color); }
|
| 53 |
-
.text-green-500 { color: var(--color-accent) !important; }
|
| 54 |
-
|
| 55 |
-
/* Remplacement du bleu par le vert pour les boutons CTA */
|
| 56 |
-
.btn-primary {
|
| 57 |
-
background-color: var(--color-accent);
|
| 58 |
-
color: var(--bg-body) !important; /* Texte noir sur vert */
|
| 59 |
-
font-weight: bold;
|
| 60 |
-
box-shadow: 0 4px 6px -1px rgba(74, 222, 128, 0.3), 0 2px 4px -2px rgba(74, 222, 128, 0.3);
|
| 61 |
-
transition: background-color 0.2s;
|
| 62 |
-
}
|
| 63 |
-
.btn-primary:hover {
|
| 64 |
-
opacity: 0.9;
|
| 65 |
-
}
|
| 66 |
-
|
| 67 |
-
/* Styles spécifiques pour le footer si nécessaire (copié de l'index) */
|
| 68 |
-
.text-white { color: var(--text-color) !important; }
|
| 69 |
-
.text-gray-400 { color: var(--text-muted) !important; }
|
| 70 |
-
.border-gray-700 { border-color: var(--border-color) !important; }
|
| 71 |
-
|
| 72 |
-
</style>
|
| 73 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 74 |
-
|
| 75 |
-
</head>
|
| 76 |
-
<body>
|
| 77 |
-
|
| 78 |
-
<header class="fixed top-0 left-0 right-0 z-50 flex justify-center py-3 border-b header-border bg-header shadow-xl transition-colors duration-300">
|
| 79 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center w-full">
|
| 80 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-2 sm:mb-0">
|
| 81 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 82 |
-
</a>
|
| 83 |
-
<nav class="flex items-center space-x-2 sm:space-x-4">
|
| 84 |
-
|
| 85 |
-
<a href="/documentation" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 86 |
-
Docs
|
| 87 |
-
</a>
|
| 88 |
-
<a href="/tarifs" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 89 |
-
Tarifs
|
| 90 |
-
</a>
|
| 91 |
-
<a href="/a-propos" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden md:block">
|
| 92 |
-
Enterprise
|
| 93 |
-
</a>
|
| 94 |
-
<a href="/support" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden sm:block">
|
| 95 |
-
Support
|
| 96 |
-
</a>
|
| 97 |
-
<a href="/connexion" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 98 |
-
Connexion
|
| 99 |
-
</a>
|
| 100 |
-
|
| 101 |
-
</nav>
|
| 102 |
-
</div>
|
| 103 |
-
</header>
|
| 104 |
-
|
| 105 |
-
<div class="pt-20 container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 106 |
-
|
| 107 |
-
<main class="space-y-12">
|
| 108 |
-
|
| 109 |
-
<div class="w-full">
|
| 110 |
-
|
| 111 |
-
<h1 class="text-4xl font-extrabold text-white mb-6">
|
| 112 |
-
Mentions Légales
|
| 113 |
-
</h1>
|
| 114 |
-
<p class="text-gray-400-var text-lg mb-10 border-l-4 border-green-500 pl-4 italic">
|
| 115 |
-
Ces mentions légales définissent les obligations légales de la plateforme de validation d'email **Mailix**.
|
| 116 |
-
</p>
|
| 117 |
-
|
| 118 |
-
<h2 id="editeur" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 119 |
-
1. Informations sur l'Éditeur du Site et du Service
|
| 120 |
-
</h2>
|
| 121 |
-
<p class="text-gray-300-var mb-6">
|
| 122 |
-
Le présent site web, le service de validation d'email **Mailix** et son API sont édités par :
|
| 123 |
-
</p>
|
| 124 |
-
<ul class="list-disc list-inside text-gray-300-var space-y-2 ml-4 mb-6">
|
| 125 |
-
<li>Dénomination Sociale : [Nom de l'Entreprise / Nom Personnel]</li>
|
| 126 |
-
<li>Forme Juridique : [SARL / SAS / Entrepreneur Individuel, etc.]</li>
|
| 127 |
-
<li>Adresse du Siège Social : [Adresse complète, Pays]</li>
|
| 128 |
-
<li>Numéro d'immatriculation (RCS/SIRET) : [Numéro d'enregistrement légal]</li>
|
| 129 |
-
<li>Capital Social : [Montant du Capital, si applicable]</li>
|
| 130 |
-
<li>Adresse e-mail : contact@[votre-domaine].com (pour le support lié au service Mailix)</li>
|
| 131 |
-
<li>Numéro de téléphone : [Numéro de téléphone de contact]</li>
|
| 132 |
-
<li>Directeur de la publication : [Nom du Responsable Légal]</li>
|
| 133 |
-
</ul>
|
| 134 |
-
<p class="text-gray-400-var mt-8">
|
| 135 |
-
Le service Mailix est un outil en ligne et une API dédié à la vérification et à la validation de la délivrabilité des adresses e-mail.
|
| 136 |
-
</p>
|
| 137 |
-
|
| 138 |
-
<h2 id="hebergement" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 139 |
-
2. Hébergement
|
| 140 |
-
</h2>
|
| 141 |
-
<p class="text-gray-300-var mb-6">
|
| 142 |
-
L'hébergement du site web et de l'infrastructure API du service de validation Mailix est assuré par :
|
| 143 |
-
</p>
|
| 144 |
-
<ul class="list-disc list-inside text-gray-300-var space-y-2 ml-4 mb-6">
|
| 145 |
-
<li>Nom de l'Hébergeur : [Nom de l'Hébergeur Ex: Vercel, AWS, OVH]</li>
|
| 146 |
-
<li>Adresse du Siège Social : [Adresse complète de l'Hébergeur]</li>
|
| 147 |
-
<li>Contact : [Lien vers la page de contact/support de l'Hébergeur]</li>
|
| 148 |
-
</ul>
|
| 149 |
-
|
| 150 |
-
<h2 id="propriete-intellectuelle" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 151 |
-
3. Propriété Intellectuelle
|
| 152 |
-
</h2>
|
| 153 |
-
<h3 id="droits-auteur" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 154 |
-
3.1. Droits d'Auteur et Marques
|
| 155 |
-
</h3>
|
| 156 |
-
<p class="text-gray-300-var mb-4">
|
| 157 |
-
L'ensemble des éléments constituant le Service **Mailix** (structure, textes, logos, code source de l'API de validation, bases de données et interface du site web) sont la propriété exclusive de [Nom de l'Entreprise] ou sont utilisés avec l'autorisation de leurs titulaires, et sont protégés par le droit d'auteur.
|
| 158 |
-
</p>
|
| 159 |
-
<p class="text-gray-300-var mb-6">
|
| 160 |
-
Toute reproduction, représentation, modification, publication, transmission ou dénaturation, totale ou partielle, du site, de l'API ou de son contenu, par quelque procédé que ce soit, et sur quelque support que ce soit, est interdite sans autorisation préalable. Les utilisateurs sont autorisés à utiliser l'API de validation d'e-mail uniquement via la clé d'accès fournie et conformément aux Conditions d'Utilisation.
|
| 161 |
-
</p>
|
| 162 |
-
|
| 163 |
-
<h2 id="limitation-responsabilite" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 164 |
-
4. Limitation de Responsabilité
|
| 165 |
-
</h2>
|
| 166 |
-
<p class="text-gray-300-var mb-6">
|
| 167 |
-
Mailix s'efforce d'assurer l'exactitude et la mise à jour des informations fournies sur son site et via son API, mais ne peut garantir la précision absolue des résultats de validation d'e-mail. Le service est fourni "tel quel". En cas d'erreurs ou omissions, la responsabilité de [Nom de l'Entreprise] ne pourra être engagée.
|
| 168 |
-
</p>
|
| 169 |
-
<ul class="list-disc list-inside text-gray-300-var space-y-2 ml-4 mb-6">
|
| 170 |
-
<li>Validité des Emails : Bien que l'API utilise des technologies avancées (MX Check, Simulation SMTP, etc.), la validation d'email ne peut être garantie à 100% en raison des politiques des serveurs de messagerie tiers. Les résultats sont fournis à titre indicatif pour aider à la gestion de la délivrabilité.</li>
|
| 171 |
-
<li>Dommages : [Nom de l'Entreprise] ne peut être tenu responsable des dommages directs ou indirects résultant de l'utilisation du site, de l'API de validation, ou de l'impossibilité de l'utiliser (y compris les pertes de données ou de bénéfices).</li>
|
| 172 |
-
</ul>
|
| 173 |
-
|
| 174 |
-
<h2 id="donnees-personnelles" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 175 |
-
5. Données Personnelles et Politique de Confidentialité
|
| 176 |
-
</h2>
|
| 177 |
-
<p class="text-gray-300-var mb-4">
|
| 178 |
-
Toutes les informations personnelles recueillies (notamment lors de l'inscription pour l'API) sont traitées conformément à notre Politique de Confidentialité dédiée.
|
| 179 |
-
</p>
|
| 180 |
-
<p class="text-gray-300-var mb-6">
|
| 181 |
-
Le service **Mailix** s'engage à ne jamais stocker ni enregistrer les adresses e-mail soumises à la validation au-delà du temps nécessaire au traitement de la requête. Les données de validation sont utilisées uniquement pour fournir le service d'analyse.
|
| 182 |
-
</p>
|
| 183 |
-
<p class="text-gray-300-var mb-6">
|
| 184 |
-
Nous nous engageons à respecter les réglementations en vigueur, notamment le Règlement Général sur la Protection des Données (RGPD) et la loi Informatique et Libertés.
|
| 185 |
-
</p>
|
| 186 |
-
<p class="text-gray-300-var mb-6">
|
| 187 |
-
Pour toute information complémentaire ou l'exercice de vos droits, veuillez consulter notre <a href="/politique-confidentialite" class="text-green-500 hover:text-green-400 font-semibold underline">Politique de Confidentialité</a>.
|
| 188 |
-
</p>
|
| 189 |
-
|
| 190 |
-
<h2 id="droit-applicable" class="text-3xl font-bold text-green-500 mt-10 mb-4 pt-2">
|
| 191 |
-
6. Droit Applicable et Juridiction
|
| 192 |
-
</h2>
|
| 193 |
-
<p class="text-gray-300-var mb-6">
|
| 194 |
-
Les présentes mentions légales sont régies par le droit [Pays du siège social]. Tout litige sera soumis à la compétence exclusive des tribunaux de [Ville du siège social].
|
| 195 |
-
</p>
|
| 196 |
-
</div>
|
| 197 |
-
|
| 198 |
-
</main>
|
| 199 |
-
|
| 200 |
-
<footer class="mt-20 py-10 border-t border-[var(--border-color)]">
|
| 201 |
-
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
|
| 202 |
-
|
| 203 |
-
<div class="col-span-2 md:col-span-1">
|
| 204 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-4 block">
|
| 205 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 206 |
-
</a>
|
| 207 |
-
<p class="text-gray-400-var text-sm mt-4">
|
| 208 |
-
Validation d'e-mail en temps réel pour des listes propres et une meilleure délivrabilité.
|
| 209 |
-
</p>
|
| 210 |
-
<div class="flex space-x-4 mt-6">
|
| 211 |
-
<a href="https://twitter.com/[votrepseudo]" target="_blank" class="text-gray-400 hover:text-green-500 transition duration-200">
|
| 212 |
-
<i class="fab fa-twitter text-xl"></i>
|
| 213 |
-
</a>
|
| 214 |
-
<a href="https://linkedin.com/[votrepseudo]" target="_blank" class="text-gray-400 hover:text-green-500 transition duration-200">
|
| 215 |
-
<i class="fab fa-linkedin-in text-xl"></i>
|
| 216 |
-
</a>
|
| 217 |
-
</div>
|
| 218 |
-
</div>
|
| 219 |
-
|
| 220 |
-
<div>
|
| 221 |
-
<h3 class="text-lg font-semibold text-white mb-4">Produit</h3>
|
| 222 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 223 |
-
<li><a href="/tarifs" class="hover:text-green-500 transition duration-200">Tarifs</a></li>
|
| 224 |
-
<li><a href="/documentation" class="hover:text-green-500 transition duration-200">Documentation API</a></li>
|
| 225 |
-
<li><a href="/dashboard" class="hover:text-green-500 transition duration-200">Dashboard</a></li>
|
| 226 |
-
<li><a href="/statut" class="hover:text-green-500 transition duration-200">Statut de l'API</a></li>
|
| 227 |
-
</ul>
|
| 228 |
-
</div>
|
| 229 |
-
|
| 230 |
-
<div>
|
| 231 |
-
<h3 class="text-lg font-semibold text-white mb-4">Entreprise</h3>
|
| 232 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 233 |
-
<li><a href="/a-propos" class="hover:text-green-500 transition duration-200">À Propos</a></li>
|
| 234 |
-
<li><a href="/contact" class="hover:text-green-500 transition duration-200">Support</a></li>
|
| 235 |
-
<li><a href="/documentation" class="hover:text-green-500 transition duration-200">Integration</a></li>
|
| 236 |
-
</ul>
|
| 237 |
-
</div>
|
| 238 |
-
|
| 239 |
-
<div>
|
| 240 |
-
<h3 class="text-lg font-semibold text-white mb-4">Légal</h3>
|
| 241 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 242 |
-
<li><a href="/conditions-utilisation" class="hover:text-green-500 transition duration-200">Conditions d'Utilisation</a></li>
|
| 243 |
-
<li><a href="/politique-confidentialite" class="hover:text-green-500 transition duration-200">Politique de Confidentialité</a></li>
|
| 244 |
-
<li><a href="/mentions-legales" class="hover:text-green-500 transition duration-200">Mentions Légales</a></li>
|
| 245 |
-
</ul>
|
| 246 |
-
</div>
|
| 247 |
-
|
| 248 |
-
</div>
|
| 249 |
-
|
| 250 |
-
<div class="mt-10 pt-6 border-t border-[var(--border-color)] text-center">
|
| 251 |
-
<p class="text-sm text-gray-500-var">© 2025 Mailix. Tous droits réservés. Construit pour la délivrabilité.</p>
|
| 252 |
-
</div>
|
| 253 |
-
</footer>
|
| 254 |
-
|
| 255 |
-
</div>
|
| 256 |
-
|
| 257 |
-
</body>
|
| 258 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/mot_de_passe_oublie.html
DELETED
|
@@ -1,199 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Réinitialisation de Mot de Passe - Mailix</title>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 11 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 12 |
-
<style>
|
| 13 |
-
/* Styles inspirés de index.html (Dark Mode Exclusif & Pro - Noir Profond) */
|
| 14 |
-
|
| 15 |
-
:root {
|
| 16 |
-
--bg-body: #0A0A0A; /* Noir Profond (comme index.html) */
|
| 17 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil (comme index.html) */
|
| 18 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures (comme index.html) */
|
| 19 |
-
--color-accent: #4ade80; /* Vert Vif (comme index.html) */
|
| 20 |
-
--text-color: #ffffff; /* Texte blanc */
|
| 21 |
-
--input-bg: #1F1F1F; /* Fond d'entrée légèrement plus clair que le card pour le contraste */
|
| 22 |
-
--input-text: #ffffff; /* Couleur du texte dans les champs */
|
| 23 |
-
}
|
| 24 |
-
|
| 25 |
-
body {
|
| 26 |
-
font-family: 'Inter', sans-serif;
|
| 27 |
-
background-color: var(--bg-body);
|
| 28 |
-
color: var(--text-color);
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/* Classes d'application des variables */
|
| 32 |
-
.bg-page-var { background-color: var(--bg-body); }
|
| 33 |
-
.bg-card-var {
|
| 34 |
-
background-color: var(--bg-card);
|
| 35 |
-
/* Ajout d'une bordure subtile comme les cartes de index.html */
|
| 36 |
-
border: 1px solid var(--border-color);
|
| 37 |
-
}
|
| 38 |
-
.text-color-var { color: var(--text-color); }
|
| 39 |
-
.bg-input-var { background-color: var(--input-bg); }
|
| 40 |
-
.border-color-var { border-color: var(--border-color); }
|
| 41 |
-
.text-primary-color-var { color: var(--color-accent); }
|
| 42 |
-
|
| 43 |
-
/* Bouton Primaire (Style de index.html .btn-primary) */
|
| 44 |
-
.btn-primary {
|
| 45 |
-
background-color: var(--color-accent);
|
| 46 |
-
color: var(--bg-body) !important; /* Texte noir sur vert */
|
| 47 |
-
font-weight: bold;
|
| 48 |
-
box-shadow: 0 4px 6px -1px rgba(74, 222, 128, 0.3), 0 2px 4px -2px rgba(74, 222, 128, 0.3);
|
| 49 |
-
transition: background-color 0.2s;
|
| 50 |
-
}
|
| 51 |
-
.btn-primary:hover { opacity: 0.9; }
|
| 52 |
-
|
| 53 |
-
.focus\:ring-primary-color-var:focus { --tw-ring-color: var(--color-accent); }
|
| 54 |
-
.focus\:border-primary-color-var:focus { border-color: var(--color-accent); }
|
| 55 |
-
|
| 56 |
-
/* Style des inputs */
|
| 57 |
-
input[type="text"],
|
| 58 |
-
input[type="email"],
|
| 59 |
-
input[type="password"] {
|
| 60 |
-
color: var(--input-text) !important;
|
| 61 |
-
background-color: var(--input-bg) !important;
|
| 62 |
-
border-color: var(--border-color) !important;
|
| 63 |
-
padding-right: 2.5rem; /* Espace pour l'icône de l'œil */
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
/* Style pour l'icône de l'œil */
|
| 67 |
-
.password-wrapper {
|
| 68 |
-
position: relative;
|
| 69 |
-
}
|
| 70 |
-
.toggle-password {
|
| 71 |
-
position: absolute;
|
| 72 |
-
right: 0.75rem; /* Ajustement de la position pour le padding de l'input */
|
| 73 |
-
top: 50%;
|
| 74 |
-
transform: translateY(-50%);
|
| 75 |
-
cursor: pointer;
|
| 76 |
-
color: var(--border-color); /* Couleur d'un gris très foncé */
|
| 77 |
-
z-index: 20;
|
| 78 |
-
transition: color 0.2s;
|
| 79 |
-
}
|
| 80 |
-
.toggle-password:hover {
|
| 81 |
-
color: var(--text-color);
|
| 82 |
-
}
|
| 83 |
-
</style>
|
| 84 |
-
</head>
|
| 85 |
-
<body class="bg-page-var min-h-screen flex items-center justify-center p-4">
|
| 86 |
-
|
| 87 |
-
<div class="w-full max-w-6xl flex flex-col md:flex-row shadow-2xl rounded-lg overflow-hidden border border-[var(--border-color)]">
|
| 88 |
-
|
| 89 |
-
<div class="hidden md:block md:w-1/2 bg-[var(--color-accent)] p-12 flex flex-col justify-center items-center text-white transition-colors-theme">
|
| 90 |
-
<span class="material-symbols-rounded w-32 h-32 mb-6 text-black" style="font-size: 8rem;">mail_lock</span>
|
| 91 |
-
<h3 class="text-4xl font-extrabold mb-4 text-center text-black">Validation d'Email</h3>
|
| 92 |
-
<p class="text-center text-lg text-black">Processus sécurisé de Mailix pour la récupération de votre accès.</p>
|
| 93 |
-
</div>
|
| 94 |
-
|
| 95 |
-
<div class="w-full md:w-1/2 bg-card-var p-8 md:p-12">
|
| 96 |
-
<h2 class="text-3xl font-bold text-center text-color-var mb-3">Réinitialisation du Mot de Passe</h2>
|
| 97 |
-
<p class="text-center text-color-var text-sm mb-6">Veuillez répondre à la question de sécurité et choisir un nouveau mot de passe.</p>
|
| 98 |
-
|
| 99 |
-
<p id="message" class="text-center text-red-500 mb-4"></p>
|
| 100 |
-
|
| 101 |
-
<form id="forgotPasswordForm">
|
| 102 |
-
<div class="mb-4">
|
| 103 |
-
<label for="username_or_email" class="block text-sm font-medium text-color-var">Nom d'utilisateur ou Email</label>
|
| 104 |
-
<input type="text" id="username_or_email" name="username_or_email" placeholder="Votre identifiant" required
|
| 105 |
-
class="mt-1 block w-full px-3 py-2 border border-border-color-var rounded-md shadow-sm bg-input-bg-var text-color-var focus:outline-none focus:ring-primary-color-var focus:border-primary-color-var">
|
| 106 |
-
</div>
|
| 107 |
-
|
| 108 |
-
<div class="mb-4">
|
| 109 |
-
<label for="security_answer" class="block text-sm font-medium text-color-var">Réponse à la Question Secrète</label>
|
| 110 |
-
<input type="text" id="security_answer" name="security_answer" placeholder="Votre réponse secrète" required
|
| 111 |
-
class="mt-1 block w-full px-3 py-2 border border-border-color-var rounded-md shadow-sm bg-input-bg-var text-color-var focus:outline-none focus:ring-primary-color-var focus:border-primary-color-var">
|
| 112 |
-
</div>
|
| 113 |
-
|
| 114 |
-
<div class="flex flex-wrap -mx-2 mb-4">
|
| 115 |
-
<div class="w-full md:w-1/2 px-2 mb-4 md:mb-0">
|
| 116 |
-
<label for="new_password" class="block text-sm font-medium text-color-var">Nouveau Mot de Passe</label>
|
| 117 |
-
<div class="password-wrapper">
|
| 118 |
-
<input type="password" id="new_password" name="new_password" placeholder="Votre nouveau mot de passe" required
|
| 119 |
-
class="mt-1 block w-full px-3 py-2 border border-border-color-var rounded-md shadow-sm bg-input-bg-var text-color-var focus:outline-none focus:ring-primary-color-var focus:border-primary-color-var">
|
| 120 |
-
<span id="toggle-new-password" class="material-symbols-rounded toggle-password">visibility_off</span>
|
| 121 |
-
</div>
|
| 122 |
-
</div>
|
| 123 |
-
|
| 124 |
-
<div class="w-full md:w-1/2 px-2">
|
| 125 |
-
<label for="confirm_new_password" class="block text-sm font-medium text-color-var">Confirmer Mot de Passe</label>
|
| 126 |
-
<div class="password-wrapper">
|
| 127 |
-
<input type="password" id="confirm_new_password" name="confirm_new_password" placeholder="Confirmer le mot de passe" required
|
| 128 |
-
class="mt-1 block w-full px-3 py-2 border border-border-color-var rounded-md shadow-sm bg-input-bg-var text-color-var focus:outline-none focus:ring-primary-color-var focus:border-primary-color-var">
|
| 129 |
-
<span id="toggle-confirm-password" class="material-symbols-rounded toggle-password">visibility_off</span>
|
| 130 |
-
</div>
|
| 131 |
-
</div>
|
| 132 |
-
</div>
|
| 133 |
-
|
| 134 |
-
<button type="submit"
|
| 135 |
-
class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-black btn-primary focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-[var(--color-accent)]">
|
| 136 |
-
Réinitialiser le Mot de Passe
|
| 137 |
-
</button>
|
| 138 |
-
</form>
|
| 139 |
-
|
| 140 |
-
<p class="mt-6 text-center text-sm text-color-var">
|
| 141 |
-
Vous vous souvenez ? <a href="/connexion" class="font-medium text-primary-color-var hover:underline">Retour à la Connexion</a>
|
| 142 |
-
</p>
|
| 143 |
-
</div>
|
| 144 |
-
|
| 145 |
-
</div>
|
| 146 |
-
|
| 147 |
-
<script>
|
| 148 |
-
document.getElementById('forgotPasswordForm').addEventListener('submit', function(e) {
|
| 149 |
-
e.preventDefault();
|
| 150 |
-
|
| 151 |
-
const newPassword = document.getElementById('new_password').value;
|
| 152 |
-
const confirmPassword = document.getElementById('confirm_new_password').value;
|
| 153 |
-
const message = document.getElementById('message');
|
| 154 |
-
|
| 155 |
-
if (newPassword !== confirmPassword) {
|
| 156 |
-
message.textContent = 'Erreur: Les mots de passe ne correspondent pas.';
|
| 157 |
-
message.className = 'text-center text-red-500 mb-4';
|
| 158 |
-
return;
|
| 159 |
-
}
|
| 160 |
-
|
| 161 |
-
// Ici, vous ajouteriez la logique d'envoi des données (Ajax/Fetch)
|
| 162 |
-
// Pour l'exemple, nous simulons le succès
|
| 163 |
-
message.textContent = 'Succès! Votre mot de passe a été réinitialisé. Redirection...';
|
| 164 |
-
message.className = 'text-center text-green-500 mb-4';
|
| 165 |
-
|
| 166 |
-
// Simulation d'une redirection
|
| 167 |
-
// setTimeout(() => {
|
| 168 |
-
// window.location.href = '/connexion';
|
| 169 |
-
// }, 2000);
|
| 170 |
-
});
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
// Logique de l'icône "œil" pour afficher/masquer le mot de passe
|
| 174 |
-
const togglePasswordVisibility = (fieldId, iconId) => {
|
| 175 |
-
const passwordField = document.getElementById(fieldId);
|
| 176 |
-
const toggleIcon = document.getElementById(iconId);
|
| 177 |
-
|
| 178 |
-
if (passwordField.type === 'password') {
|
| 179 |
-
passwordField.type = 'text';
|
| 180 |
-
toggleIcon.textContent = 'visibility';
|
| 181 |
-
} else {
|
| 182 |
-
passwordField.type = 'password';
|
| 183 |
-
toggleIcon.textContent = 'visibility_off';
|
| 184 |
-
}
|
| 185 |
-
};
|
| 186 |
-
|
| 187 |
-
// Attachement de la fonction aux deux champs
|
| 188 |
-
document.getElementById('toggle-new-password').addEventListener('click', () => {
|
| 189 |
-
togglePasswordVisibility('new_password', 'toggle-new-password');
|
| 190 |
-
});
|
| 191 |
-
|
| 192 |
-
document.getElementById('toggle-confirm-password').addEventListener('click', () => {
|
| 193 |
-
togglePasswordVisibility('confirm_new_password', 'toggle-confirm-password');
|
| 194 |
-
});
|
| 195 |
-
|
| 196 |
-
// Suppression de l'ancienne logique de thème
|
| 197 |
-
</script>
|
| 198 |
-
</body>
|
| 199 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
templates/politique_confidentialite.html
DELETED
|
@@ -1,367 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Politique de Confidentialité - Mailix</title>
|
| 8 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 9 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 10 |
-
<link rel="stylesheet"
|
| 11 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 12 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 13 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.21.0/tocbot.css">
|
| 14 |
-
<style>
|
| 15 |
-
/* PHASE 1 : Configuration et Base du Style (Dark Mode Exclusif & Pro) */
|
| 16 |
-
/* Suppression de toute la logique du mode clair. */
|
| 17 |
-
:root {
|
| 18 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 19 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil */
|
| 20 |
-
--bg-section: #141414;
|
| 21 |
-
--bg-code: #141414;
|
| 22 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 23 |
-
--color-accent: #4ade80; /* Vert Vif */
|
| 24 |
-
--text-color: #ffffff;
|
| 25 |
-
--text-secondary: #d1d5db; /* gray-300 */
|
| 26 |
-
--text-muted: #9ca3af; /* gray-400 */
|
| 27 |
-
--text-blue: var(--color-accent); /* Remplacer le bleu par le vert accent partout */
|
| 28 |
-
--shadow-color: rgba(0, 0, 0, 0.5);
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
/* Application des variables aux styles existants et aux nouveaux éléments */
|
| 32 |
-
body {
|
| 33 |
-
font-family: 'Inter', sans-serif;
|
| 34 |
-
background-color: var(--bg-body);
|
| 35 |
-
color: var(--text-color);
|
| 36 |
-
min-height: 100vh;
|
| 37 |
-
}
|
| 38 |
-
|
| 39 |
-
/* Fix pour le header qui est maintenant sticky */
|
| 40 |
-
.header-border { border-color: var(--border-color); }
|
| 41 |
-
.bg-header { background-color: var(--bg-body); }
|
| 42 |
-
|
| 43 |
-
.code-block {
|
| 44 |
-
border: 1px solid var(--border-color);
|
| 45 |
-
overflow-x: auto;
|
| 46 |
-
background-color: var(--bg-code);
|
| 47 |
-
}
|
| 48 |
-
|
| 49 |
-
/* Adaptation Tailwind pour les autres éléments */
|
| 50 |
-
.section-bg {
|
| 51 |
-
background-color: var(--bg-section);
|
| 52 |
-
border-color: var(--border-color);
|
| 53 |
-
box-shadow: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
|
| 54 |
-
}
|
| 55 |
-
|
| 56 |
-
/* Cartes et Contraste (Border Subtile) */
|
| 57 |
-
.card-bg {
|
| 58 |
-
background-color: var(--bg-card);
|
| 59 |
-
border: 1px solid var(--border-color);
|
| 60 |
-
}
|
| 61 |
-
|
| 62 |
-
.text-blue-500-var { color: var(--text-blue); }
|
| 63 |
-
.text-gray-300-var { color: var(--text-secondary); }
|
| 64 |
-
.text-gray-400-var { color: var(--text-muted); }
|
| 65 |
-
|
| 66 |
-
/* Styles de la Table des Matières (TOC) adaptés au thème vert */
|
| 67 |
-
.toc-list {
|
| 68 |
-
list-style: none;
|
| 69 |
-
padding-left: 0;
|
| 70 |
-
margin: 0;
|
| 71 |
-
}
|
| 72 |
-
.toc-list-item {
|
| 73 |
-
margin-bottom: 0.25rem;
|
| 74 |
-
}
|
| 75 |
-
.toc-list-item a {
|
| 76 |
-
display: block;
|
| 77 |
-
padding: 0.5rem 0.75rem;
|
| 78 |
-
color: var(--text-muted); /* gray-400 */
|
| 79 |
-
border-left: 2px solid transparent;
|
| 80 |
-
transition: all 0.2s;
|
| 81 |
-
font-size: 0.9rem;
|
| 82 |
-
}
|
| 83 |
-
.toc-list-item a:hover {
|
| 84 |
-
color: var(--text-color); /* white */
|
| 85 |
-
border-left-color: var(--color-accent); /* green accent */
|
| 86 |
-
}
|
| 87 |
-
.is-active-link {
|
| 88 |
-
font-weight: 700;
|
| 89 |
-
color: var(--color-accent) !important; /* green accent */
|
| 90 |
-
border-left-color: var(--color-accent) !important;
|
| 91 |
-
background-color: var(--bg-card); /* dark card bg */
|
| 92 |
-
border-radius: 0; /* Style carré */
|
| 93 |
-
}
|
| 94 |
-
|
| 95 |
-
/* Fixer la barre latérale pour la rendre moins large et la cacher sur mobile */
|
| 96 |
-
.lg\:w-1\/4 {
|
| 97 |
-
max-width: 300px;
|
| 98 |
-
width: 100%;
|
| 99 |
-
}
|
| 100 |
-
@media (max-width: 1023px) {
|
| 101 |
-
.js-toc-container { display: none; }
|
| 102 |
-
}
|
| 103 |
-
|
| 104 |
-
/* Remplacement des classes Tailwind par des variables CSS pour compatibilité */
|
| 105 |
-
.text-blue-400 { color: var(--color-accent) !important; }
|
| 106 |
-
.border-blue-500 { border-color: var(--color-accent) !important; }
|
| 107 |
-
.text-gray-300 { color: var(--text-secondary) !important; }
|
| 108 |
-
.text-gray-400 { color: var(--text-muted) !important; }
|
| 109 |
-
.text-white { color: var(--text-color) !important; }
|
| 110 |
-
|
| 111 |
-
/* Style des boutons CTA de index.html (pour le header) */
|
| 112 |
-
.btn-primary {
|
| 113 |
-
background-color: var(--color-accent);
|
| 114 |
-
color: var(--bg-body) !important;
|
| 115 |
-
font-weight: bold;
|
| 116 |
-
box-shadow: 0 4px 6px -1px rgba(74, 222, 128, 0.3), 0 2px 4px -2px rgba(74, 222, 128, 0.3);
|
| 117 |
-
transition: background-color 0.2s;
|
| 118 |
-
}
|
| 119 |
-
.btn-primary:hover {
|
| 120 |
-
opacity: 0.9;
|
| 121 |
-
}
|
| 122 |
-
</style>
|
| 123 |
-
</head>
|
| 124 |
-
<body class="min-h-screen">
|
| 125 |
-
|
| 126 |
-
<header class="fixed top-0 left-0 right-0 z-50 flex justify-center py-3 border-b header-border bg-header shadow-xl transition-colors duration-300">
|
| 127 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center w-full">
|
| 128 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-2 sm:mb-0">
|
| 129 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 130 |
-
</a>
|
| 131 |
-
<nav class="flex items-center space-x-2 sm:space-x-4">
|
| 132 |
-
|
| 133 |
-
<a href="/documentation" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 134 |
-
Docs
|
| 135 |
-
</a>
|
| 136 |
-
<a href="/tarifs" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 137 |
-
Tarifs
|
| 138 |
-
</a>
|
| 139 |
-
<a href="/a-propos" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden md:block">
|
| 140 |
-
Enterprise
|
| 141 |
-
</a>
|
| 142 |
-
<a href="/support" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden sm:block">
|
| 143 |
-
Support
|
| 144 |
-
</a>
|
| 145 |
-
|
| 146 |
-
<a href="/connexion" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 147 |
-
Connexion
|
| 148 |
-
|
| 149 |
-
</nav>
|
| 150 |
-
</div>
|
| 151 |
-
</header>
|
| 152 |
-
|
| 153 |
-
<div class="pt-20 container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 154 |
-
|
| 155 |
-
<main class="flex flex-col lg:flex-row lg:space-x-8">
|
| 156 |
-
|
| 157 |
-
<div class="lg:w-3/4 js-toc-content">
|
| 158 |
-
|
| 159 |
-
<h1 class="text-4xl font-extrabold text-white mb-6">
|
| 160 |
-
Politique de Confidentialité
|
| 161 |
-
</h1>
|
| 162 |
-
<p class="text-gray-400 text-lg mb-10 border-l-4 border-blue-500 pl-4 italic">
|
| 163 |
-
Dernière mise à jour : 28 Octobre 2025. Veuillez lire attentivement avant d'utiliser la plateforme Mailix.
|
| 164 |
-
</p>
|
| 165 |
-
|
| 166 |
-
<h2 id="champ-application" class="text-3xl font-bold text-blue-400 mt-10 mb-4 pt-2">
|
| 167 |
-
1. Champ d'Application
|
| 168 |
-
</h2>
|
| 169 |
-
<p class="text-gray-300 mb-6">
|
| 170 |
-
La présente Politique de Confidentialité régit la manière dont Mailix (le **"Service"**), collecte, utilise, maintient et divulgue les informations collectées auprès des utilisateurs (chacun, un "Utilisateur") du site web et de l'API Mailix (la **"Plateforme"**). Elle s'applique au Service et à tous les produits proposés par Mailix.
|
| 171 |
-
</p>
|
| 172 |
-
|
| 173 |
-
<h2 id="collecte-donnees" class="text-3xl font-bold text-blue-400 mt-10 mb-4 pt-2">
|
| 174 |
-
2. Collecte des Données Personnelles
|
| 175 |
-
</h2>
|
| 176 |
-
<p class="text-gray-300 mb-4">
|
| 177 |
-
Nous collectons des informations d'identification personnelle auprès des Utilisateurs de diverses manières, y compris, mais sans s'y limiter, lorsque les Utilisateurs s'inscrivent au Service, utilisent l'API de validation, ou en relation avec d'autres activités, services, fonctionnalités ou ressources que nous mettons à disposition.
|
| 178 |
-
</p>
|
| 179 |
-
|
| 180 |
-
<h3 id="donnees-fournies" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 181 |
-
2.1. Données que vous nous fournissez directement
|
| 182 |
-
</h3>
|
| 183 |
-
<ul class="list-disc list-inside text-gray-300 space-y-2 ml-4 mb-6">
|
| 184 |
-
<li>Informations de Compte : Nom, adresse e-mail, mot de passe chiffré.</li>
|
| 185 |
-
<li>Informations de Facturation : Adresse de facturation, informations de paiement (traitées par un prestataire tiers sécurisé et non stockées par Mailix).</li>
|
| 186 |
-
<li>Communications : Enregistrements de correspondance lorsque vous contactez notre support.</li>
|
| 187 |
-
</ul>
|
| 188 |
-
|
| 189 |
-
<h3 id="donnees-automatiques" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 190 |
-
2.2. Données collectées automatiquement (Logs API de Validation)
|
| 191 |
-
</h3>
|
| 192 |
-
<p class="text-gray-300 mb-6">
|
| 193 |
-
Lors de l'utilisation de notre API de validation d'e-mail, nous enregistrons automatiquement des informations dans nos logs serveurs pour la sécurité, le dépannage et la facturation.
|
| 194 |
-
</p>
|
| 195 |
-
<ul class="list-disc list-inside text-gray-300 space-y-2 ml-4 mb-6">
|
| 196 |
-
<li>Adresses E-mail Soumises : L'adresse e-mail soumise pour la validation (ces adresses sont traitées de manière éphémère et ne sont jamais stockées ni utilisées à des fins de marketing ou de tiers).</li>
|
| 197 |
-
<li>Adresses IP des requêtes.</li>
|
| 198 |
-
<li>Horodatage, méthode et statut de l'appel API.</li>
|
| 199 |
-
<li>Erreurs et avertissements générés.</li>
|
| 200 |
-
<li>Clé API partiellement masquée (pour l'identification du compte).</li>
|
| 201 |
-
</ul>
|
| 202 |
-
|
| 203 |
-
<h2 id="utilisation-donnees" class="text-3xl font-bold text-blue-400 mt-10 mb-4 pt-2">
|
| 204 |
-
3. Comment nous utilisons les informations collectées
|
| 205 |
-
</h2>
|
| 206 |
-
<p class="text-gray-300 mb-4">
|
| 207 |
-
Mailix utilise les données collectées aux fins suivantes :
|
| 208 |
-
</p>
|
| 209 |
-
<ul class="list-decimal list-inside text-gray-300 space-y-2 ml-4 mb-6">
|
| 210 |
-
<li>Pour fournir et maintenir le service : Assurer le bon fonctionnement de l'API de Validation et du Dashboard.</li>
|
| 211 |
-
<li>Pour la facturation : Calculer et traiter les frais d'utilisation de l'API.</li>
|
| 212 |
-
<li>Pour la sécurité : Détecter et prévenir les fraudes et les abus.</li>
|
| 213 |
-
<li>Pour l'amélioration : Améliorer nos produits et services API en fonction des données d'utilisation agrégées (sans utilisation des e-mails soumis).</li>
|
| 214 |
-
<li>Pour la communication : Envoyer des notifications de service importantes et des informations de sécurité.</li>
|
| 215 |
-
</ul>
|
| 216 |
-
|
| 217 |
-
<h2 id="protection-donnees" class="text-3xl font-bold text-blue-400 mt-10 mb-4 pt-2">
|
| 218 |
-
4. Protection et Non-Partage des Adresses E-mail Soumises
|
| 219 |
-
</h2>
|
| 220 |
-
<h3 id="mesures-securite" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 221 |
-
4.1. Mesures de Sécurité
|
| 222 |
-
</h3>
|
| 223 |
-
<p class="text-gray-300 mb-6">
|
| 224 |
-
Mailix adopte des pratiques de collecte, de stockage et de traitement des données appropriées ainsi que des mesures de sécurité pour se protéger contre l'accès non autorisé, l'altération, la divulgation ou la destruction de vos informations personnelles, nom d'utilisateur, mot de passe, informations de transaction et données stockées sur notre Site. Les informations sensibles et privées sont échangées via un canal de communication sécurisé SSL et sont chiffrées.
|
| 225 |
-
</p>
|
| 226 |
-
|
| 227 |
-
<h3 id="non-partage-adresses" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 228 |
-
4.2. Engagement de Non-Partage des Adresses E-mail Soumises
|
| 229 |
-
</h3>
|
| 230 |
-
<p class="text-gray-300 mb-6 font-bold text-green-400">
|
| 231 |
-
Les adresses e-mail que vous soumettez à l'API de Mailix pour validation sont strictement confidentielles.
|
| 232 |
-
</p>
|
| 233 |
-
<p class="text-gray-300 mb-6">
|
| 234 |
-
Nous ne stockons pas, ni ne partageons, ni n'utilisons à des fins promotionnelles ou de tiers les adresses e-mail soumises pour validation. Elles sont traitées de manière **éphémère** pour générer le résultat de la validation et sont immédiatement purgées de nos logs de transactions dès que la réponse de l'API est envoyée. Notre modèle commercial repose sur la facturation de l'utilisation de l'API, et non sur l'exploitation des données.
|
| 235 |
-
</p>
|
| 236 |
-
|
| 237 |
-
<h3 id="partage-limite" class="text-2xl font-semibold text-white mt-8 mb-3 pt-2">
|
| 238 |
-
4.3. Cas Limités de Divulgation
|
| 239 |
-
</h3>
|
| 240 |
-
<p class="text-gray-300 mb-6">
|
| 241 |
-
Nous pouvons partager des informations d'identification personnelle non liées aux adresses e-mail soumises :
|
| 242 |
-
</p>
|
| 243 |
-
<ul class="list-disc list-inside text-gray-300 space-y-2 ml-4 mb-6">
|
| 244 |
-
<li>Avec nos prestataires de services tiers (ex. : plateforme de paiement) uniquement dans la mesure nécessaire pour l'exécution du Service.</li>
|
| 245 |
-
<li>En réponse à une obligation légale valide, telle qu'une assignation à comparaître ou une décision de justice.</li>
|
| 246 |
-
<li>Si Mailix est impliqué dans une fusion, acquisition ou vente d'actifs, sous réserve que la politique de confidentialité demeure en vigueur.</li>
|
| 247 |
-
</ul>
|
| 248 |
-
|
| 249 |
-
<h2 id="conformite-rgpd" class="text-3xl font-bold text-blue-400 mt-10 mb-4 pt-2">
|
| 250 |
-
5. Conformité au RGPD (Europe)
|
| 251 |
-
</h2>
|
| 252 |
-
<p class="text-gray-300 mb-6">
|
| 253 |
-
Mailix s'engage à respecter les normes du Règlement Général sur la Protection des Données (RGPD). Nous traitons les données uniquement pour les finalités explicites et légitimes liées à la prestation du service de validation. En tant qu'utilisateur européen, vous disposez des droits suivants concernant vos données de compte :
|
| 254 |
-
</p>
|
| 255 |
-
<ul class="list-disc list-inside text-gray-300 space-y-2 ml-4 mb-6">
|
| 256 |
-
<li>Droit d'accès : Obtenir la confirmation que vos données sont traitées et y accéder.</li>
|
| 257 |
-
<li>Droit de rectification : Demander la correction des données inexactes.</li>
|
| 258 |
-
<li>Droit à l'effacement (Droit à l'oubli) : Demander la suppression de vos données de compte.</li>
|
| 259 |
-
<li>Droit à la limitation du traitement : Limiter la manière dont nous utilisons vos données.</li>
|
| 260 |
-
</ul>
|
| 261 |
-
|
| 262 |
-
<h2 id="utilisation-cookies" class="text-3xl font-bold text-blue-400 mt-10 mb-4 pt-2">
|
| 263 |
-
6. Utilisation des Cookies
|
| 264 |
-
</h2>
|
| 265 |
-
<p class="text-gray-300 mb-6">
|
| 266 |
-
Notre Plateforme utilise des "cookies" pour améliorer l'expérience Utilisateur. Le navigateur web de l'Utilisateur place des cookies sur son disque dur à des fins d'archivage et parfois pour suivre des informations les concernant (ex : maintien de la session de connexion). L'Utilisateur peut choisir de configurer son navigateur web pour refuser les cookies ou pour l'alerter lorsque des cookies sont envoyés.
|
| 267 |
-
</p>
|
| 268 |
-
|
| 269 |
-
<h2 id="contact" class="text-3xl font-bold text-blue-400 mt-10 mb-4 pt-2">
|
| 270 |
-
7. Nous Contacter
|
| 271 |
-
</h2>
|
| 272 |
-
<p class="text-gray-300 mb-6">
|
| 273 |
-
Si vous avez des questions concernant cette Politique de Confidentialité, les pratiques de cette Plateforme, ou vos relations avec celle-ci, veuillez nous contacter à :
|
| 274 |
-
</p>
|
| 275 |
-
<div class="card-bg p-6 text-center shadow-xl border border-[var(--border-color)]">
|
| 276 |
-
<p class="text-xl font-semibold text-white mb-2">Mailix</p>
|
| 277 |
-
<p class="text-lg text-green-400">Email : <a href="mailto:support@mailix.com" class="underline hover:no-underline">support@mailix.com</a></p>
|
| 278 |
-
<p class="text-sm text-gray-400">Adresse : [Votre Adresse Physique ou Siège Social ici]</p>
|
| 279 |
-
</div>
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
</div>
|
| 283 |
-
|
| 284 |
-
<aside class="lg:w-1/4 pt-10 lg:pt-0 sticky top-24 h-full js-toc-container">
|
| 285 |
-
<div class="card-bg p-4 border border-[var(--border-color)] shadow-xl">
|
| 286 |
-
<h3 class="text-lg font-bold text-white mb-4">Table des Matières</h3>
|
| 287 |
-
<div class="js-toc"></div>
|
| 288 |
-
</div>
|
| 289 |
-
</aside>
|
| 290 |
-
|
| 291 |
-
</main>
|
| 292 |
-
</div>
|
| 293 |
-
|
| 294 |
-
<footer class="mt-20 py-12 border-t header-border text-gray-400-var">
|
| 295 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
| 296 |
-
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
|
| 297 |
-
<div>
|
| 298 |
-
<a href="/" class="text-2xl font-extrabold text-green-500 tracking-wider mb-4 block">
|
| 299 |
-
Mailix
|
| 300 |
-
</a>
|
| 301 |
-
<p class="text-sm text-gray-400-var">
|
| 302 |
-
Validation d'email en temps réel pour des listes propres et un meilleur ROI.
|
| 303 |
-
</p>
|
| 304 |
-
<div class="flex space-x-4 mt-4 text-white">
|
| 305 |
-
<a href="https://twitter.com/mailix" target="_blank" class="hover:text-green-400 transition duration-200"><i class="fab fa-twitter"></i></a>
|
| 306 |
-
<a href="https://linkedin.com/company/mailix" target="_blank" class="hover:text-green-400 transition duration-200"><i class="fab fa-linkedin"></i></a>
|
| 307 |
-
<a href="mailto:support@mailix.com" class="hover:text-green-400 transition duration-200"><i class="fas fa-envelope"></i></a>
|
| 308 |
-
</div>
|
| 309 |
-
</div>
|
| 310 |
-
|
| 311 |
-
<div>
|
| 312 |
-
<h3 class="text-lg font-semibold text-color mb-4">Produit</h3>
|
| 313 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 314 |
-
<li><a href="/tarifs" class="hover:text-green-400 transition duration-200">Tarifs</a></li>
|
| 315 |
-
<li><a href="/documentation" class="hover:text-green-400 transition duration-200">Documentation API</a></li>
|
| 316 |
-
<li><a href="/cas-usage" class="hover:text-green-400 transition duration-200">Cas d'Usage</a></li>
|
| 317 |
-
<li><a href="/documentation" class="hover:text-green-400 transition duration-200">Intégrations</a></li>
|
| 318 |
-
</ul>
|
| 319 |
-
</div>
|
| 320 |
-
|
| 321 |
-
<div>
|
| 322 |
-
<h3 class="text-lg font-semibold text-color mb-4">Entreprise</h3>
|
| 323 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 324 |
-
<li><a href="/a-propos" class="hover:text-green-400 transition duration-200">À Propos</a></li>
|
| 325 |
-
<li><a href="/support" class="hover:text-green-400 transition duration-200">Support</a></li>
|
| 326 |
-
<li><a href="/statut-api" class="hover:text-green-400 transition duration-200">Statut de l'API</a></li>
|
| 327 |
-
<li><a href="mailto:contact@mailix.com" class="hover:text-green-400 transition duration-200">Contact Pro</a></li>
|
| 328 |
-
</ul>
|
| 329 |
-
</div>
|
| 330 |
-
|
| 331 |
-
<div>
|
| 332 |
-
<h3 class="text-lg font-semibold text-color mb-4">Légal</h3>
|
| 333 |
-
<ul class="space-y-3 text-gray-400-var">
|
| 334 |
-
<li><a href="/politique-confidentialite" class="hover:text-green-400 transition duration-200">Politique de Confidentialité</a></li>
|
| 335 |
-
<li><a href="/mentions-legales" class="hover:text-green-400 transition duration-200">Mentions Légales</a></li>
|
| 336 |
-
<li><a href="/conditions-utilisation" class="hover:text-green-400 transition duration-200">Conditions d'Utilisation</a></li>
|
| 337 |
-
<li><a href="/securite" class="hover:text-green-400 transition duration-200">Sécurité et RGPD</a></li>
|
| 338 |
-
</ul>
|
| 339 |
-
</div>
|
| 340 |
-
|
| 341 |
-
</div>
|
| 342 |
-
|
| 343 |
-
<div class="mt-10 pt-6 border-t header-border text-center text-sm text-gray-400-var">
|
| 344 |
-
© 2025 Mailix. Tous droits réservés.
|
| 345 |
-
</div>
|
| 346 |
-
</div>
|
| 347 |
-
</footer>
|
| 348 |
-
|
| 349 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.21.0/tocbot.min.js"></script>
|
| 350 |
-
<script>
|
| 351 |
-
// Initialisation de Tocbot (Table des Matières)
|
| 352 |
-
tocbot.init({
|
| 353 |
-
tocSelector: '.js-toc',
|
| 354 |
-
contentSelector: '.js-toc-content',
|
| 355 |
-
headingSelector: 'h2, h3',
|
| 356 |
-
hasAnchor: function(el) { return el.id; },
|
| 357 |
-
// Personnalisation des classes pour coller au style dark/vert (déjà définies dans le <style>)
|
| 358 |
-
activeLinkClass: 'is-active-link',
|
| 359 |
-
listClass: 'toc-list',
|
| 360 |
-
listItemClass: 'toc-list-item'
|
| 361 |
-
});
|
| 362 |
-
|
| 363 |
-
// La logique de bascule de thème a été complètement retirée du fichier.
|
| 364 |
-
</script>
|
| 365 |
-
|
| 366 |
-
</body>
|
| 367 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/profile.html
DELETED
|
@@ -1,258 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="fr" class="dark">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Mon Profil - Nexus Pro</title>
|
| 7 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<style>
|
| 11 |
-
body { font-family: 'Inter', sans-serif; }
|
| 12 |
-
/* Forcer le thème sombre/clair de Tailwind via la classe 'dark' sur <html> */
|
| 13 |
-
.dark .bg-gray-900 { background-color: #121212; } /* Noir très foncé */
|
| 14 |
-
.dark .text-white { color: #E3E3E3; }
|
| 15 |
-
.light .bg-gray-900 { background-color: #F8F8F8; }
|
| 16 |
-
.light .text-white { color: #333333; }
|
| 17 |
-
|
| 18 |
-
/* Ajustements de couleur pour le mode clair */
|
| 19 |
-
.light .bg-gray-800 { background-color: #FFFFFF; border: 1px solid #E5E7EB; }
|
| 20 |
-
.light .text-gray-400 { color: #6B7280; }
|
| 21 |
-
.light .bg-gray-700 { background-color: #F3F4F6; }
|
| 22 |
-
.light .text-blue-500 { color: #1D4ED8; }
|
| 23 |
-
.light .text-yellow-500 { color: #D97706; }
|
| 24 |
-
.light .border-gray-700 { border-color: #D1D5DB; }
|
| 25 |
-
.light #logout-button { background-color: #DC2626; }
|
| 26 |
-
.light #logout-button:hover { background-color: #B91C1C; }
|
| 27 |
-
|
| 28 |
-
.light #passwordUpdateForm .bg-gray-700 { background-color: #F3F4F6; color: #1F2937; }
|
| 29 |
-
.light #passwordUpdateForm input:focus { border-color: #D97706; }
|
| 30 |
-
|
| 31 |
-
</style>
|
| 32 |
-
</head>
|
| 33 |
-
<body class="bg-gray-900 text-white min-h-screen transition-colors duration-300">
|
| 34 |
-
|
| 35 |
-
<div class="container mx-auto p-4 sm:p-6 lg:p-8">
|
| 36 |
-
|
| 37 |
-
<header class="sticky top-0 z-50 flex flex-col sm:flex-row justify-between items-center py-4 border-b border-blue-500/50 mb-8 bg-gray-900 transition-colors duration-300">
|
| 38 |
-
<h1 class="text-4xl font-extrabold text-blue-500 tracking-wider mb-4 sm:mb-0">
|
| 39 |
-
Mon Profil
|
| 40 |
-
</h1>
|
| 41 |
-
<nav class="flex items-center space-x-4">
|
| 42 |
-
<button id="theme-toggle" class="theme-switch p-2 rounded-full hover:bg-gray-700 transition duration-200" aria-label="Basculer le thème">
|
| 43 |
-
<span class="material-symbols-rounded text-white dark:text-white light:text-gray-800 text-2xl">
|
| 44 |
-
light_mode
|
| 45 |
-
</span>
|
| 46 |
-
</button>
|
| 47 |
-
<a href="/dashboard" class="px-4 py-2 text-white hover:text-blue-300 light:text-gray-800 light:hover:text-blue-500 transition duration-200 font-medium">
|
| 48 |
-
Dashboard
|
| 49 |
-
</a>
|
| 50 |
-
<span class="text-sm text-gray-400 hidden md:block">
|
| 51 |
-
ID Utilisateur : <strong class="text-white light:text-gray-800">{{ user_id }}</strong>
|
| 52 |
-
</span>
|
| 53 |
-
<button id="logout-button" class="px-4 py-2 bg-red-600 hover:bg-red-700 rounded-lg transition duration-200 font-medium shadow-md">
|
| 54 |
-
Déconnexion
|
| 55 |
-
</button>
|
| 56 |
-
</nav>
|
| 57 |
-
</header>
|
| 58 |
-
|
| 59 |
-
<main class="space-y-10 max-w-4xl mx-auto">
|
| 60 |
-
|
| 61 |
-
<div class="p-8 bg-gray-800 rounded-xl shadow-2xl border-l-4 border-blue-500 transition-colors duration-300">
|
| 62 |
-
<h2 class="text-3xl font-bold text-blue-500 mb-6">Détails du Compte</h2>
|
| 63 |
-
|
| 64 |
-
<div class="space-y-4">
|
| 65 |
-
<div>
|
| 66 |
-
<p class="text-sm font-medium text-gray-400">ID Utilisateur Nexus</p>
|
| 67 |
-
<p class="text-lg font-mono text-white p-3 bg-gray-700 rounded-lg select-all transition-colors duration-300">{{ user_id }}</p>
|
| 68 |
-
</div>
|
| 69 |
-
<div>
|
| 70 |
-
<p class="text-sm font-medium text-gray-400">Adresse E-mail (Placeholder)</p>
|
| 71 |
-
<p class="text-lg text-white p-3 bg-gray-700 rounded-lg transition-colors duration-300">utilisateur.exemple@nexus.pro</p>
|
| 72 |
-
</div>
|
| 73 |
-
<p class="text-sm text-gray-500 mt-4">
|
| 74 |
-
*L'e-mail réel devrait être chargé via une requête GET à l'API Nexus (`/api/user/{{ user_id }}`).
|
| 75 |
-
</p>
|
| 76 |
-
</div>
|
| 77 |
-
</div>
|
| 78 |
-
|
| 79 |
-
<div class="p-8 bg-gray-800 rounded-xl shadow-2xl border-l-4 border-yellow-500 transition-colors duration-300">
|
| 80 |
-
<h2 class="text-3xl font-bold text-yellow-500 mb-6">Sécurité et Mot de Passe</h2>
|
| 81 |
-
|
| 82 |
-
<form id="passwordUpdateForm" class="space-y-6">
|
| 83 |
-
<div>
|
| 84 |
-
<label for="new_password" class="block text-sm font-medium text-gray-300 light:text-gray-600 mb-1">Nouveau Mot de passe</label>
|
| 85 |
-
<input type="password" id="new_password" name="new_password" required
|
| 86 |
-
class="w-full px-4 py-3 bg-gray-700 text-white border-2 border-gray-700 rounded-lg focus:border-yellow-500 transition duration-200 light:border-gray-300 light:bg-white light:text-gray-900"
|
| 87 |
-
placeholder="Nouveau mot de passe">
|
| 88 |
-
</div>
|
| 89 |
-
<div>
|
| 90 |
-
<label for="confirm_password" class="block text-sm font-medium text-gray-300 light:text-gray-600 mb-1">Confirmer le Mot de passe</label>
|
| 91 |
-
<input type="password" id="confirm_password" name="confirm_password" required
|
| 92 |
-
class="w-full px-4 py-3 bg-gray-700 text-white border-2 border-gray-700 rounded-lg focus:border-yellow-500 transition duration-200 light:border-gray-300 light:bg-white light:text-gray-900"
|
| 93 |
-
placeholder="Confirmer le mot de passe">
|
| 94 |
-
</div>
|
| 95 |
-
|
| 96 |
-
<div id="messageBoxProfile" class="text-sm p-3 rounded-lg hidden" role="alert"></div>
|
| 97 |
-
|
| 98 |
-
<button type="submit"
|
| 99 |
-
class="w-full py-3 bg-yellow-600 hover:bg-yellow-700 text-white font-semibold rounded-lg transition duration-300 shadow-lg">
|
| 100 |
-
Mettre à jour le Mot de Passe
|
| 101 |
-
</button>
|
| 102 |
-
</form>
|
| 103 |
-
</div>
|
| 104 |
-
</main>
|
| 105 |
-
|
| 106 |
-
<footer class="mt-12 pt-6 border-t border-gray-700 text-center text-gray-500 text-sm transition-colors duration-300">
|
| 107 |
-
© 2024 Nexus. Tous droits réservés. | Espace Sécurisé
|
| 108 |
-
</footer>
|
| 109 |
-
</div>
|
| 110 |
-
|
| 111 |
-
<script>
|
| 112 |
-
// ... (Existing Sidebar and Theme Toggle Logic) ...
|
| 113 |
-
|
| 114 |
-
const profileForm = document.getElementById('profile-form');
|
| 115 |
-
const messageBox = document.getElementById('profile-message');
|
| 116 |
-
const emailInput = document.getElementById('email-input');
|
| 117 |
-
const currentPlanDisplay = document.getElementById('current-plan');
|
| 118 |
-
const updateButton = document.getElementById('update-button');
|
| 119 |
-
|
| 120 |
-
// 1.3. Logique de Déconnexion
|
| 121 |
-
const logoutHandler = async (e) => {
|
| 122 |
-
e.preventDefault();
|
| 123 |
-
// Appel à la route de déconnexion Flask
|
| 124 |
-
const response = await fetch('/logout', { method: 'POST' });
|
| 125 |
-
const data = await response.json();
|
| 126 |
-
if (data.status === 'Success' && data.redirect) {
|
| 127 |
-
window.location.href = data.redirect;
|
| 128 |
-
} else {
|
| 129 |
-
alert('Erreur lors de la déconnexion.');
|
| 130 |
-
}
|
| 131 |
-
};
|
| 132 |
-
document.getElementById('logout-button-sidebar').addEventListener('click', logoutHandler);
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
// 2.2. Récupération des Informations Utilisateur (Email et Plan)
|
| 136 |
-
const fetchUserInfo = async () => {
|
| 137 |
-
try {
|
| 138 |
-
const response = await fetch('/api/user/info', { method: 'GET' });
|
| 139 |
-
const data = await response.json();
|
| 140 |
-
|
| 141 |
-
if (data.status === 'Success') {
|
| 142 |
-
emailInput.value = data.email || 'N/A';
|
| 143 |
-
currentPlanDisplay.textContent = data.plan ? data.plan.toUpperCase() : 'N/A';
|
| 144 |
-
emailInput.disabled = true; // L'email ne doit pas être modifiable ici
|
| 145 |
-
} else {
|
| 146 |
-
console.error('Erreur lors de la récupération des données utilisateur:', data.message);
|
| 147 |
-
messageBox.textContent = 'Erreur: Impossible de charger les données du profil.';
|
| 148 |
-
messageBox.classList.remove('hidden');
|
| 149 |
-
}
|
| 150 |
-
} catch (error) {
|
| 151 |
-
console.error('Erreur réseau:', error);
|
| 152 |
-
}
|
| 153 |
-
};
|
| 154 |
-
|
| 155 |
-
// 3.3. Logique de Mise à Jour du Profil (Exemple : Plan)
|
| 156 |
-
profileForm.addEventListener('submit', async (e) => {
|
| 157 |
-
e.preventDefault();
|
| 158 |
-
messageBox.classList.add('hidden');
|
| 159 |
-
updateButton.disabled = true;
|
| 160 |
-
|
| 161 |
-
// Récupérer la valeur du plan sélectionné (adapter selon la structure de votre formulaire)
|
| 162 |
-
// Ici, on suppose un champ caché ou une déduction si le plan est le seul à être mis à jour.
|
| 163 |
-
// Pour l'exemple, nous allons simuler le passage au plan 'premium' comme dans votre test cURL
|
| 164 |
-
const newPlan = 'premium';
|
| 165 |
-
|
| 166 |
-
try {
|
| 167 |
-
const response = await fetch('/api/user/update-info', {
|
| 168 |
-
method: 'POST',
|
| 169 |
-
headers: { 'Content-Type': 'application/json' },
|
| 170 |
-
body: JSON.stringify({ plan: newPlan })
|
| 171 |
-
});
|
| 172 |
-
|
| 173 |
-
const data = await response.json();
|
| 174 |
-
|
| 175 |
-
if (data.status === 'Success') {
|
| 176 |
-
messageBox.classList.remove('bg-red-900/50', 'text-red-300');
|
| 177 |
-
messageBox.classList.add('bg-green-900/50', 'text-green-300');
|
| 178 |
-
messageBox.textContent = data.message || "Profil mis à jour avec succès.";
|
| 179 |
-
|
| 180 |
-
// Mettre à jour l'affichage du plan (et recharger les données pour s'assurer)
|
| 181 |
-
fetchUserInfo();
|
| 182 |
-
} else {
|
| 183 |
-
messageBox.classList.remove('bg-green-900/50', 'text-green-300');
|
| 184 |
-
messageBox.classList.add('bg-red-900/50', 'text-red-300');
|
| 185 |
-
messageBox.textContent = data.message || "Erreur lors de la mise à jour du profil.";
|
| 186 |
-
}
|
| 187 |
-
messageBox.classList.remove('hidden');
|
| 188 |
-
|
| 189 |
-
} catch (error) {
|
| 190 |
-
messageBox.classList.remove('bg-green-900/50', 'text-green-300');
|
| 191 |
-
messageBox.classList.add('bg-red-900/50', 'text-red-300');
|
| 192 |
-
messageBox.textContent = "Erreur réseau: Impossible de communiquer avec le serveur.";
|
| 193 |
-
messageBox.classList.remove('hidden');
|
| 194 |
-
} finally {
|
| 195 |
-
updateButton.disabled = false;
|
| 196 |
-
}
|
| 197 |
-
});
|
| 198 |
-
|
| 199 |
-
// Appeler au chargement
|
| 200 |
-
window.addEventListener('load', fetchUserInfo);
|
| 201 |
-
|
| 202 |
-
</script>
|
| 203 |
-
|
| 204 |
-
<footer class="mt-16 border-t border-gray-700 bg-gray-900 transition-colors duration-300">
|
| 205 |
-
<div class="container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 206 |
-
<div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8 text-sm">
|
| 207 |
-
|
| 208 |
-
<div class="col-span-2 lg:col-span-1">
|
| 209 |
-
<a href="/" class="text-3xl font-extrabold text-blue-500 tracking-wider">NEXUS</a>
|
| 210 |
-
<p class="mt-3 text-gray-400">
|
| 211 |
-
L'infrastructure API qui propulse votre avenir technologique.
|
| 212 |
-
</p>
|
| 213 |
-
<div class="mt-4 flex space-x-4">
|
| 214 |
-
<a href="#" class="text-gray-400 hover:text-blue-500 transition duration-200">
|
| 215 |
-
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.014 4.85.07c3.275.146 4.47 1.583 4.61 4.85.056 1.266.07 1.646.07 4.85s-.014 3.584-.07 4.85c-.14 3.267-1.335 4.704-4.61 4.85-1.266.056-1.646.07-4.85.07s-3.584-.014-4.85-.07c-3.275-.146-4.47-1.583-4.61-4.85-.056-1.266-.07-1.646-.07-4.85s.014-3.584.07-4.85c.14-3.267 1.335-4.704 4.61-4.85 1.266-.056 1.646-.07 4.85-.07zM12 0c-3.784 0-4.285.016-5.773.083-4.722.211-6.755 2.24-6.965 6.965C.016 7.715 0 8.216 0 12s.016 4.285.083 5.773c.21 4.721 2.239 6.755 6.965 6.965 1.488.067 1.99.083 5.773.083s4.285-.016 5.773-.083c4.721-.21 6.755-2.239 6.965-6.965.067-1.488.083-1.99.083-5.773s-.016-4.285-.083-5.773c-.21-4.722-2.239-6.755-6.965-6.965C16.285.016 15.784 0 12 0zm0 14.5c-1.381 0-2.5-1.119-2.5-2.5s1.119-2.5 2.5-2.5 2.5 1.119 2.5 2.5-1.119 2.5-2.5 2.5z"/></svg>
|
| 216 |
-
</a>
|
| 217 |
-
</div>
|
| 218 |
-
</div>
|
| 219 |
-
|
| 220 |
-
<div>
|
| 221 |
-
<h3 class="text-lg font-semibold text-white light:text-gray-900 mb-4">Plateforme</h3>
|
| 222 |
-
<ul class="space-y-3 text-gray-400">
|
| 223 |
-
<li><a href="/tarifs" class="hover:text-blue-500 transition duration-200">Tarifs</a></li>
|
| 224 |
-
<li><a href="/documentation" class="hover:text-blue-500 transition duration-200">Documentation</a></li>
|
| 225 |
-
<li><a href="/connexion" class="hover:text-blue-500 transition duration-200">Connexion</a></li>
|
| 226 |
-
<li><a href="/support" class="hover:text-blue-500 transition duration-200">Support</a></li>
|
| 227 |
-
</ul>
|
| 228 |
-
</div>
|
| 229 |
-
|
| 230 |
-
<div>
|
| 231 |
-
<h3 class="text-lg font-semibold text-white light:text-gray-900 mb-4">Légal</h3>
|
| 232 |
-
<ul class="space-y-3 text-gray-400">
|
| 233 |
-
<li><a href="/politique-confidentialite" class="hover:text-blue-500 transition duration-200">Politique de Confidentialité</a></li>
|
| 234 |
-
<li><a href="/mentions-legales" class="hover:text-blue-500 transition duration-200">Mentions Légales</a></li>
|
| 235 |
-
<li><a href="/conditions-utilisation" class="hover:text-blue-500 transition duration-200">Conditions d'Utilisation</a></li>
|
| 236 |
-
<li><a href="/a-propos" class="hover:text-blue-500 transition duration-200">À Propos</a></li>
|
| 237 |
-
</ul>
|
| 238 |
-
</div>
|
| 239 |
-
|
| 240 |
-
<div class="col-span-2 md:col-span-1">
|
| 241 |
-
<h3 class="text-lg font-semibold text-white light:text-gray-900 mb-4">Ressources</h3>
|
| 242 |
-
<ul class="space-y-3 text-gray-400">
|
| 243 |
-
<li><a href="mailto:support@nexus.com" class="hover:text-blue-500 transition duration-200">Contact Email</a></li>
|
| 244 |
-
<li><a href="/dashboard" class="hover:text-blue-500 transition duration-200">Espace Client</a></li>
|
| 245 |
-
<li><a href="/api-logs" class="hover:text-blue-500 transition duration-200">Statut API</a></li>
|
| 246 |
-
</ul>
|
| 247 |
-
</div>
|
| 248 |
-
|
| 249 |
-
</div>
|
| 250 |
-
|
| 251 |
-
<div class="mt-10 pt-6 border-t border-gray-800 light:border-gray-300 text-center text-gray-500 text-sm">
|
| 252 |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/security_config.html
DELETED
|
@@ -1,277 +0,0 @@
|
|
| 1 |
-
<html lang="fr">
|
| 2 |
-
<head>
|
| 3 |
-
<meta charset="UTF-8">
|
| 4 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 5 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 6 |
-
<title>Mailix | Configuration de Sécurité & Profil</title>
|
| 7 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
-
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 9 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 10 |
-
|
| 11 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css">
|
| 12 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script>
|
| 13 |
-
|
| 14 |
-
<style>
|
| 15 |
-
/* Styles de base pour le mode sombre (copiés de inscription.html) */
|
| 16 |
-
:root {
|
| 17 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 18 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil */
|
| 19 |
-
--bg-section: #141414;
|
| 20 |
-
--bg-code: #141414; /* Utilisé pour le fond des inputs */
|
| 21 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 22 |
-
--color-accent: #4ade80; /* Vert Vif */
|
| 23 |
-
--text-color: #f3f4f6; /* Texte clair */
|
| 24 |
-
--text-secondary: #9ca3af; /* Texte secondaire */
|
| 25 |
-
}
|
| 26 |
-
body {
|
| 27 |
-
background-color: var(--bg-body);
|
| 28 |
-
color: var(--text-color);
|
| 29 |
-
font-family: sans-serif;
|
| 30 |
-
}
|
| 31 |
-
.config-card {
|
| 32 |
-
background-color: var(--bg-card);
|
| 33 |
-
border-color: var(--border-color);
|
| 34 |
-
}
|
| 35 |
-
input[type="text"], input[type="email"], input[type="password"], textarea, select {
|
| 36 |
-
background-color: var(--bg-code);
|
| 37 |
-
border-color: var(--border-color);
|
| 38 |
-
color: var(--text-color);
|
| 39 |
-
}
|
| 40 |
-
.iti {
|
| 41 |
-
width: 100%; /* Important pour que l'input prenne toute la largeur */
|
| 42 |
-
}
|
| 43 |
-
/* Style spécifique pour le champ de sélection du pays */
|
| 44 |
-
.iti__flag-container {
|
| 45 |
-
position: absolute;
|
| 46 |
-
left: 0;
|
| 47 |
-
top: 0;
|
| 48 |
-
bottom: 0;
|
| 49 |
-
}
|
| 50 |
-
.iti__selected-flag {
|
| 51 |
-
padding-right: 6px !important; /* Ajustement pour la flèche */
|
| 52 |
-
}
|
| 53 |
-
.iti__country-list {
|
| 54 |
-
background-color: var(--bg-card) !important;
|
| 55 |
-
border: 1px solid var(--border-color) !important;
|
| 56 |
-
}
|
| 57 |
-
.iti__country-list .iti__country {
|
| 58 |
-
color: var(--text-color) !important;
|
| 59 |
-
}
|
| 60 |
-
.iti__country-list .iti__country.iti__highlight {
|
| 61 |
-
background-color: #27272a !important; /* Couleur de survol */
|
| 62 |
-
}
|
| 63 |
-
</style>
|
| 64 |
-
</head>
|
| 65 |
-
<body class="min-h-screen flex items-center justify-center p-4 sm:p-8">
|
| 66 |
-
|
| 67 |
-
<div class="w-full max-w-4xl">
|
| 68 |
-
<h1 class="text-3xl font-bold text-center mb-6 text-white">
|
| 69 |
-
<span class="material-symbols-rounded text-green-500-var align-text-bottom text-4xl mr-2">shield_person</span>
|
| 70 |
-
Configuration de Sécurité et Profil
|
| 71 |
-
</h1>
|
| 72 |
-
<p class="text-center text-gray-400-var mb-8">
|
| 73 |
-
Bienvenue ! Cette étape est essentielle pour sécuriser votre compte et compléter votre profil professionnel.
|
| 74 |
-
</p>
|
| 75 |
-
|
| 76 |
-
<form id="securityConfigForm" action="{{ url_for('user_bp.security_config') }}" method="POST" class="space-y-8 p-6 sm:p-10 config-card rounded-lg border">
|
| 77 |
-
|
| 78 |
-
<div class="border-b border-gray-700 pb-8">
|
| 79 |
-
<h2 class="text-xl font-semibold mb-4 text-white flex items-center">
|
| 80 |
-
<span class="material-symbols-rounded mr-2 text-green-500-var">business_center</span>
|
| 81 |
-
Profil Professionnel
|
| 82 |
-
</h2>
|
| 83 |
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 84 |
-
<div>
|
| 85 |
-
<label for="company_name" class="block text-sm font-medium text-gray-300-var mb-1">Nom de l'Entreprise / Société</label>
|
| 86 |
-
<input type="text" name="company_name" id="company_name" required
|
| 87 |
-
class="w-full p-3 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var">
|
| 88 |
-
</div>
|
| 89 |
-
|
| 90 |
-
<div>
|
| 91 |
-
<label for="organization_type" class="block text-sm font-medium text-gray-300-var mb-1">Type d'Organisation</label>
|
| 92 |
-
<select name="organization_type" id="organization_type" required
|
| 93 |
-
class="w-full p-3 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var appearance-none">
|
| 94 |
-
<option value="" disabled selected>Sélectionner un type</option>
|
| 95 |
-
<option value="saas">Startup / SaaS</option>
|
| 96 |
-
<option value="e_commerce">E-commerce</option>
|
| 97 |
-
<option value="agency">Agence Digitale / Marketing</option>
|
| 98 |
-
<option value="corp">Grande Entreprise / Corporation</option>
|
| 99 |
-
<option value="freelance">Indépendant / Freelance</option>
|
| 100 |
-
<option value="other">Autre</option>
|
| 101 |
-
</select>
|
| 102 |
-
</div>
|
| 103 |
-
|
| 104 |
-
<div class="col-span-full md:col-span-1">
|
| 105 |
-
<label for="country_name" class="block text-sm font-medium text-gray-300-var mb-1">Pays du Siège Social</label>
|
| 106 |
-
<input type="text" id="country_name" name="country_name" required
|
| 107 |
-
class="w-full p-3 pl-12 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var"
|
| 108 |
-
placeholder="Sélectionnez votre pays">
|
| 109 |
-
<input type="hidden" id="country_code" name="country_code">
|
| 110 |
-
</div>
|
| 111 |
-
|
| 112 |
-
<div>
|
| 113 |
-
<label for="logo_upload" class="block text-sm font-medium text-gray-300-var mb-1">Télécharger le Logo (Optionnel)</label>
|
| 114 |
-
<input type="file" name="logo_upload" id="logo_upload" accept="image/*"
|
| 115 |
-
class="w-full p-2 border rounded-md text-sm file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-green-500-var file:text-black hover:file:bg-green-600-var cursor-pointer">
|
| 116 |
-
</div>
|
| 117 |
-
</div>
|
| 118 |
-
</div>
|
| 119 |
-
|
| 120 |
-
<div class="border-b border-gray-700 pb-8">
|
| 121 |
-
<h2 class="text-xl font-semibold mb-4 text-white flex items-center">
|
| 122 |
-
<span class="material-symbols-rounded mr-2 text-green-500-var">link</span>
|
| 123 |
-
Liens Utiles (Optionnels)
|
| 124 |
-
</h2>
|
| 125 |
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 126 |
-
<div>
|
| 127 |
-
<label for="website_url" class="block text-sm font-medium text-gray-300-var mb-1">URL du Site Web</label>
|
| 128 |
-
<div class="relative">
|
| 129 |
-
<i class="fas fa-globe absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-500"></i>
|
| 130 |
-
<input type="url" name="website_url" id="website_url" placeholder="https://votresite.com"
|
| 131 |
-
class="w-full p-3 pl-10 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var">
|
| 132 |
-
</div>
|
| 133 |
-
</div>
|
| 134 |
-
|
| 135 |
-
<div>
|
| 136 |
-
<label for="github_url" class="block text-sm font-medium text-gray-300-var mb-1">Lien Profil GitHub</label>
|
| 137 |
-
<div class="relative">
|
| 138 |
-
<i class="fab fa-github absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-500"></i>
|
| 139 |
-
<input type="url" name="github_url" id="github_url" placeholder="https://github.com/votreprofil"
|
| 140 |
-
class="w-full p-3 pl-10 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var">
|
| 141 |
-
</div>
|
| 142 |
-
</div>
|
| 143 |
-
|
| 144 |
-
<div class="md:col-span-1">
|
| 145 |
-
<label for="linkedin_url" class="block text-sm font-medium text-gray-300-var mb-1">Lien Profil LinkedIn</label>
|
| 146 |
-
<div class="relative">
|
| 147 |
-
<i class="fab fa-linkedin-in absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-500"></i>
|
| 148 |
-
<input type="url" name="linkedin_url" id="linkedin_url" placeholder="https://linkedin.com/in/votreprofil"
|
| 149 |
-
class="w-full p-3 pl-10 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var">
|
| 150 |
-
</div>
|
| 151 |
-
</div>
|
| 152 |
-
</div>
|
| 153 |
-
</div>
|
| 154 |
-
|
| 155 |
-
<div>
|
| 156 |
-
<h2 class="text-xl font-semibold mb-4 text-white flex items-center">
|
| 157 |
-
<span class="material-symbols-rounded mr-2 text-red-400">security</span>
|
| 158 |
-
Sécurité Avancée du Compte (Récupération)
|
| 159 |
-
</h2>
|
| 160 |
-
<p class="text-sm text-gray-500 mb-6">Ces questions vous permettront de récupérer l'accès si vous perdez votre mot de passe, sans nécessiter d'e-mail.</p>
|
| 161 |
-
|
| 162 |
-
<div class="mb-4">
|
| 163 |
-
<label for="security_q1" class="block text-sm font-medium text-gray-300-var mb-1">Question de Sécurité 1</label>
|
| 164 |
-
<select name="security_q1" id="security_q1" required
|
| 165 |
-
class="w-full p-3 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var appearance-none">
|
| 166 |
-
<option value="" disabled selected>Sélectionner une question</option>
|
| 167 |
-
<option value="couleur_prefere">Quelle est votre couleur préférée ?</option>
|
| 168 |
-
<option value="ville_naissance">Quelle est la ville de naissance de votre mère ?</option>
|
| 169 |
-
<option value="prenom_animal">Quel est le prénom de votre premier animal de compagnie ?</option>
|
| 170 |
-
</select>
|
| 171 |
-
<input type="text" name="security_a1" placeholder="Votre réponse" required
|
| 172 |
-
class="w-full p-3 mt-2 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var">
|
| 173 |
-
</div>
|
| 174 |
-
|
| 175 |
-
<div class="mb-4">
|
| 176 |
-
<label for="security_q2" class="block text-sm font-medium text-gray-300-var mb-1">Question de Sécurité 2</label>
|
| 177 |
-
<select name="security_q2" id="security_q2" required
|
| 178 |
-
class="w-full p-3 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var appearance-none">
|
| 179 |
-
<option value="" disabled selected>Sélectionner une question</option>
|
| 180 |
-
<option value="voiture_modele">Quel est le modèle de votre première voiture ?</option>
|
| 181 |
-
<option value="ecole_primaire">Quel est le nom de votre école primaire ?</option>
|
| 182 |
-
<option value="plat_prefere">Quel est votre plat préféré ?</option>
|
| 183 |
-
</select>
|
| 184 |
-
<input type="text" name="security_a2" placeholder="Votre réponse" required
|
| 185 |
-
class="w-full p-3 mt-2 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var">
|
| 186 |
-
</div>
|
| 187 |
-
|
| 188 |
-
<div class="mb-6">
|
| 189 |
-
<label for="security_q3" class="block text-sm font-medium text-gray-300-var mb-1">Question de Sécurité 3</label>
|
| 190 |
-
<select name="security_q3" id="security_q3" required
|
| 191 |
-
class="w-full p-3 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var appearance-none">
|
| 192 |
-
<option value="" disabled selected>Sélectionner une question</option>
|
| 193 |
-
<option value="meilleur_ami">Quel est le prénom de votre meilleur(e) ami(e) d'enfance ?</option>
|
| 194 |
-
<option value="premier_job">Quel était le nom de votre premier employeur ?</option>
|
| 195 |
-
<option value="nom_rue">Quel est le nom de la rue où vous avez grandi ?</option>
|
| 196 |
-
</select>
|
| 197 |
-
<input type="text" name="security_a3" placeholder="Votre réponse" required
|
| 198 |
-
class="w-full p-3 mt-2 rounded-md border text-sm focus:border-green-500-var focus:ring-green-500-var">
|
| 199 |
-
</div>
|
| 200 |
-
</div>
|
| 201 |
-
|
| 202 |
-
<button type="submit"
|
| 203 |
-
class="w-full bg-green-500-var text-black font-bold py-3 rounded-md hover:bg-green-600-var transition duration-200 flex items-center justify-center">
|
| 204 |
-
<span class="material-symbols-rounded mr-2">dashboard</span>
|
| 205 |
-
Compléter la Configuration et Accéder au Dashboard
|
| 206 |
-
</button>
|
| 207 |
-
|
| 208 |
-
<p id="message" class="text-center"></p>
|
| 209 |
-
</form>
|
| 210 |
-
</div>
|
| 211 |
-
|
| 212 |
-
<script>
|
| 213 |
-
document.addEventListener('DOMContentLoaded', () => {
|
| 214 |
-
// Initialisation de country-select-js (pour le sélecteur de pays)
|
| 215 |
-
const countryInput = document.querySelector("#country_name");
|
| 216 |
-
const countryCodeInput = document.querySelector("#country_code");
|
| 217 |
-
|
| 218 |
-
// Initialiser IntlTelInput avec les pays seulement (pas les numéros de téléphone)
|
| 219 |
-
const iti = window.intlTelInput(countryInput, {
|
| 220 |
-
// Utiliser la liste complète des pays
|
| 221 |
-
onlyCountries: [],
|
| 222 |
-
// Ne pas afficher la liste déroulante du numéro de téléphone
|
| 223 |
-
separateDialCode: false,
|
| 224 |
-
// Permet de deviner le pays à partir de l'IP, mais désactivé pour simplifier
|
| 225 |
-
initialCountry: "auto",
|
| 226 |
-
// Cacher l'indicateur du numéro de téléphone
|
| 227 |
-
formatOnDisplay: false,
|
| 228 |
-
geoIpLookup: function(callback) {
|
| 229 |
-
// Simulation ou requête d'IP si nécessaire (pour l'instant, on laisse vide)
|
| 230 |
-
callback("fr"); // France par défaut pour un point de départ
|
| 231 |
-
},
|
| 232 |
-
utilsScript: "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/utils.js"
|
| 233 |
-
});
|
| 234 |
-
|
| 235 |
-
// Mettre à jour le champ caché avec le code du pays lors de la sélection
|
| 236 |
-
countryInput.addEventListener('change', () => {
|
| 237 |
-
// Le plugin ne fournit pas d'événement 'change' simple pour le pays.
|
| 238 |
-
// Nous devons surveiller l'instance iti pour le pays sélectionné.
|
| 239 |
-
const selectedCountryData = iti.getSelectedCountryData();
|
| 240 |
-
countryCodeInput.value = selectedCountryData.iso2.toUpperCase();
|
| 241 |
-
countryInput.value = selectedCountryData.name; // Mettre à jour l'affichage avec le nom complet si désiré
|
| 242 |
-
});
|
| 243 |
-
|
| 244 |
-
// Pour s'assurer que le code est bien défini au chargement (par défaut 'fr' si auto)
|
| 245 |
-
const initialCountryData = iti.getSelectedCountryData();
|
| 246 |
-
if (initialCountryData) {
|
| 247 |
-
countryCodeInput.value = initialCountryData.iso2.toUpperCase();
|
| 248 |
-
}
|
| 249 |
-
|
| 250 |
-
// Logique de soumission du formulaire
|
| 251 |
-
const form = document.getElementById('securityConfigForm');
|
| 252 |
-
const messageElement = document.getElementById('message');
|
| 253 |
-
|
| 254 |
-
form.addEventListener('submit', (e) => {
|
| 255 |
-
e.preventDefault();
|
| 256 |
-
messageElement.textContent = 'Sauvegarde des informations...';
|
| 257 |
-
messageElement.className = 'text-blue-500-var mt-4';
|
| 258 |
-
|
| 259 |
-
// NOTE: La soumission se fera directement via POST Flask (pas de fetch JSON pour simplifier l'envoi de fichiers)
|
| 260 |
-
// Pour l'instant, on laisse le formulaire se soumettre normalement vers la route Flask.
|
| 261 |
-
|
| 262 |
-
// Ici, vous pouvez ajouter une validation JavaScript supplémentaire avant la soumission POST standard.
|
| 263 |
-
|
| 264 |
-
// S'assurer que le code de pays final est mis à jour une dernière fois (au cas où)
|
| 265 |
-
const finalCountryData = iti.getSelectedCountryData();
|
| 266 |
-
if (finalCountryData) {
|
| 267 |
-
countryCodeInput.value = finalCountryData.iso2.toUpperCase();
|
| 268 |
-
}
|
| 269 |
-
|
| 270 |
-
// Soumettre le formulaire
|
| 271 |
-
e.currentTarget.submit();
|
| 272 |
-
});
|
| 273 |
-
|
| 274 |
-
});
|
| 275 |
-
</script>
|
| 276 |
-
</body>
|
| 277 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/support.html
DELETED
|
@@ -1,303 +0,0 @@
|
|
| 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>Support & Contact - Nexus</title>
|
| 7 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<style>
|
| 11 |
-
body { font-family: 'Inter', sans-serif; }
|
| 12 |
-
|
| 13 |
-
/* Étape 2 : Définir les Variables de Thème (SOMBRE par défaut) */
|
| 14 |
-
:root {
|
| 15 |
-
/* Couleurs SOMBRE (Noir très foncé pour le fond) */
|
| 16 |
-
--bg-darker: #0A0A0A; /* Très foncé pour la barre ou le footer */
|
| 17 |
-
--bg-default: #121212; /* Fond général */
|
| 18 |
-
--bg-form: #1F1F1F; /* Fond des blocs de contenu */
|
| 19 |
-
--text-color: #E3E3E3;
|
| 20 |
-
--input-bg: #2C2C2C;
|
| 21 |
-
--input-border: #2C2C2C;
|
| 22 |
-
--header-border: #333333; /* Bordure plus discrète */
|
| 23 |
-
--blue-500: #3B82F6; /* Couleur primaire pour rester visible */
|
| 24 |
-
--blue-600: #2563EB;
|
| 25 |
-
--blue-700: #1D4ED8;
|
| 26 |
-
}
|
| 27 |
-
|
| 28 |
-
/* Mode CLAIR */
|
| 29 |
-
html.light {
|
| 30 |
-
/* Couleurs CLAIR */
|
| 31 |
-
--bg-darker: #FFFFFF;
|
| 32 |
-
--bg-default: #F7F7F7;
|
| 33 |
-
--bg-form: #FFFFFF;
|
| 34 |
-
--text-color: #333333;
|
| 35 |
-
--input-bg: #EAEAEA;
|
| 36 |
-
--input-border: #D1D5DB;
|
| 37 |
-
--header-border: #E5E7EB;
|
| 38 |
-
--blue-500: #1D4ED8;
|
| 39 |
-
--blue-600: #2563EB;
|
| 40 |
-
--blue-700: #1D4ED8;
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
/* Appliquer les variables et transitions */
|
| 44 |
-
body {
|
| 45 |
-
background-color: var(--bg-default) !important;
|
| 46 |
-
color: var(--text-color) !important;
|
| 47 |
-
transition: background-color 0.3s, color 0.3s;
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
/* Réinitialiser les classes Tailwind par défaut pour utiliser les variables */
|
| 51 |
-
.bg-gray-900 { background-color: var(--bg-default) !important; }
|
| 52 |
-
.bg-gray-800 { background-color: var(--bg-form) !important; }
|
| 53 |
-
.bg-gray-700 { background-color: var(--input-bg) !important; }
|
| 54 |
-
.text-white { color: var(--text-color) !important; }
|
| 55 |
-
.text-gray-300 { color: var(--text-color) !important; }
|
| 56 |
-
.text-gray-400 { color: #A0A0A0 !important; } /* Garder gris pour les textes secondaires */
|
| 57 |
-
.text-gray-500 { color: #888888 !important; }
|
| 58 |
-
|
| 59 |
-
.border-gray-700 { border-color: var(--header-border) !important; }
|
| 60 |
-
.border-blue-500\/50 { border-color: color-mix(in srgb, var(--blue-500) 50%, transparent) !important; }
|
| 61 |
-
.text-blue-500 { color: var(--blue-500) !important; }
|
| 62 |
-
|
| 63 |
-
.bg-blue-600 { background-color: var(--blue-600) !important; }
|
| 64 |
-
.hover\:bg-blue-700:hover { background-color: var(--blue-700) !important; }
|
| 65 |
-
.hover\:text-blue-500:hover { color: var(--blue-500) !important; }
|
| 66 |
-
.border-blue-600 { border-color: var(--blue-600) !important; }
|
| 67 |
-
|
| 68 |
-
/* Style du bouton de thème */
|
| 69 |
-
#theme-toggle {
|
| 70 |
-
background: none;
|
| 71 |
-
border: none;
|
| 72 |
-
cursor: pointer;
|
| 73 |
-
color: var(--text-color);
|
| 74 |
-
font-size: 24px;
|
| 75 |
-
transition: color 0.2s;
|
| 76 |
-
margin-right: 16px; /* Espace à droite du bouton */
|
| 77 |
-
}
|
| 78 |
-
</style>
|
| 79 |
-
</head>
|
| 80 |
-
<body class="bg-gray-900 text-white min-h-screen">
|
| 81 |
-
|
| 82 |
-
<div class="container mx-auto p-4 sm:p-6 lg:p-8">
|
| 83 |
-
|
| 84 |
-
<header class="flex flex-col sm:flex-row justify-between items-center py-4 border-b border-blue-500/50 mb-8
|
| 85 |
-
bg-[var(--bg-default)] sticky top-0 z-50 transition duration-300 shadow-xl shadow-black/20">
|
| 86 |
-
<h1 class="text-4xl font-extrabold text-blue-500 tracking-wider mb-4 sm:mb-0">
|
| 87 |
-
Support & Contact
|
| 88 |
-
</h1>
|
| 89 |
-
<nav class="flex items-center space-x-4">
|
| 90 |
-
<button id="theme-toggle" aria-label="Basculer le thème">
|
| 91 |
-
<span class="material-symbols-rounded">light_mode</span>
|
| 92 |
-
</button>
|
| 93 |
-
<a href="/" class="px-4 py-2 text-white hover:text-blue-300 transition duration-200 font-medium">
|
| 94 |
-
Accueil
|
| 95 |
-
</a>
|
| 96 |
-
{% if is_logged_in %}
|
| 97 |
-
<a href="/dashboard" class="px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg transition duration-200 font-medium">
|
| 98 |
-
Dashboard
|
| 99 |
-
</a>
|
| 100 |
-
{% else %}
|
| 101 |
-
<a href="/connexion" class="px-4 py-2 border-2 border-blue-600 text-blue-600 rounded-lg hover:bg-blue-600 hover:text-white font-medium transition duration-200">
|
| 102 |
-
Connexion
|
| 103 |
-
</a>
|
| 104 |
-
{% endif %}
|
| 105 |
-
</nav>
|
| 106 |
-
</header>
|
| 107 |
-
|
| 108 |
-
<main class="space-y-10 max-w-2xl mx-auto">
|
| 109 |
-
|
| 110 |
-
<div class="p-8 bg-gray-800 rounded-xl shadow-2xl border-l-4 border-blue-500">
|
| 111 |
-
|
| 112 |
-
{% if is_logged_in %}
|
| 113 |
-
<h2 class="text-3xl font-bold text-blue-500 mb-4">Envoyer une Requête (Connecté)</h2>
|
| 114 |
-
<p class="text-gray-300 mb-6">
|
| 115 |
-
Votre ID utilisateur ({{ user_id }}) sera automatiquement attaché à votre ticket, garantissant un traitement plus rapide.
|
| 116 |
-
</p>
|
| 117 |
-
{% else %}
|
| 118 |
-
<h2 class="text-3xl font-bold text-blue-500 mb-4">Contactez notre Équipe</h2>
|
| 119 |
-
<p class="text-gray-300 mb-6">
|
| 120 |
-
Veuillez vous connecter pour un support prioritaire.
|
| 121 |
-
</p>
|
| 122 |
-
{% endif %}
|
| 123 |
-
|
| 124 |
-
<form id="supportForm" class="space-y-6">
|
| 125 |
-
<div>
|
| 126 |
-
<label for="subject" class="block text-sm font-medium text-gray-300 mb-1">Sujet de la Requête</label>
|
| 127 |
-
<input type="text" id="subject" name="subject" required
|
| 128 |
-
class="w-full px-4 py-3 bg-gray-700 text-white border-2 border-gray-700 rounded-lg focus:border-blue-500 transition duration-200"
|
| 129 |
-
placeholder="Problème de connexion, Question de facturation...">
|
| 130 |
-
</div>
|
| 131 |
-
|
| 132 |
-
<div>
|
| 133 |
-
<label for="email" class="block text-sm font-medium text-gray-300 mb-1">Votre E-mail</label>
|
| 134 |
-
<input type="email" id="email" name="email" required
|
| 135 |
-
class="w-full px-4 py-3 bg-gray-700 text-white border-2 border-gray-700 rounded-lg focus:border-blue-500 transition duration-200"
|
| 136 |
-
placeholder="votre.email@exemple.com"
|
| 137 |
-
value="{% if is_logged_in %}L'email serait ici (via API){% endif %}">
|
| 138 |
-
</div>
|
| 139 |
-
|
| 140 |
-
<div>
|
| 141 |
-
<label for="message" class="block text-sm font-medium text-gray-300 mb-1">Message</label>
|
| 142 |
-
<textarea id="message" name="message" rows="5" required
|
| 143 |
-
class="w-full px-4 py-3 bg-gray-700 text-white border-2 border-gray-700 rounded-lg focus:border-blue-500 transition duration-200"
|
| 144 |
-
placeholder="Décrivez votre problème ou votre question en détail."></textarea>
|
| 145 |
-
</div>
|
| 146 |
-
|
| 147 |
-
<div id="messageBoxSupport" class="text-sm p-3 rounded-lg hidden" role="alert"></div>
|
| 148 |
-
|
| 149 |
-
<button type="submit"
|
| 150 |
-
class="w-full py-3 bg-blue-600 hover:bg-blue-700 text-white font-semibold rounded-lg transition duration-300 shadow-lg">
|
| 151 |
-
Envoyer le Message
|
| 152 |
-
</button>
|
| 153 |
-
</form>
|
| 154 |
-
</div>
|
| 155 |
-
</main>
|
| 156 |
-
|
| 157 |
-
<footer class="mt-12 pt-6 border-t border-gray-700 text-center text-gray-500 text-sm">
|
| 158 |
-
© 2024 Nexus. Tous droits réservés.
|
| 159 |
-
</footer>
|
| 160 |
-
</div>
|
| 161 |
-
|
| 162 |
-
<script>
|
| 163 |
-
// Logique de bascule du mode sombre/clair (Étape 3)
|
| 164 |
-
const themeToggle = document.getElementById('theme-toggle');
|
| 165 |
-
const htmlElement = document.documentElement;
|
| 166 |
-
const iconElement = themeToggle.querySelector('.material-symbols-rounded');
|
| 167 |
-
|
| 168 |
-
// Charger le thème depuis le localStorage
|
| 169 |
-
const savedTheme = localStorage.getItem('theme');
|
| 170 |
-
if (savedTheme === 'light') {
|
| 171 |
-
htmlElement.classList.add('light');
|
| 172 |
-
iconElement.textContent = 'dark_mode'; // Afficher l'icône "Sombre" en mode clair
|
| 173 |
-
} else {
|
| 174 |
-
// Default is 'dark' (or first visit)
|
| 175 |
-
iconElement.textContent = 'light_mode'; // Afficher l'icône "Clair" en mode sombre
|
| 176 |
-
}
|
| 177 |
-
|
| 178 |
-
themeToggle.addEventListener('click', () => {
|
| 179 |
-
if (htmlElement.classList.contains('light')) {
|
| 180 |
-
// Passage du mode Clair au mode Sombre
|
| 181 |
-
htmlElement.classList.remove('light');
|
| 182 |
-
localStorage.setItem('theme', 'dark');
|
| 183 |
-
iconElement.textContent = 'light_mode';
|
| 184 |
-
} else {
|
| 185 |
-
// Passage du mode Sombre au mode Clair
|
| 186 |
-
htmlElement.classList.add('light');
|
| 187 |
-
localStorage.setItem('theme', 'light');
|
| 188 |
-
iconElement.textContent = 'dark_mode';
|
| 189 |
-
}
|
| 190 |
-
});
|
| 191 |
-
|
| 192 |
-
// Logique du formulaire de support (existante)
|
| 193 |
-
document.getElementById('supportForm').addEventListener('submit', async (event) => {
|
| 194 |
-
event.preventDefault();
|
| 195 |
-
|
| 196 |
-
const subject = document.getElementById('subject').value;
|
| 197 |
-
const email = document.getElementById('email').value;
|
| 198 |
-
const message = document.getElementById('message').value;
|
| 199 |
-
const messageBox = document.getElementById('messageBoxSupport');
|
| 200 |
-
messageBox.classList.add('hidden');
|
| 201 |
-
messageBox.textContent = '';
|
| 202 |
-
|
| 203 |
-
const formData = {
|
| 204 |
-
subject,
|
| 205 |
-
email,
|
| 206 |
-
message,
|
| 207 |
-
{% if is_logged_in %}
|
| 208 |
-
user_id: "{{ user_id }}" // Ajout automatique de l'ID si connecté
|
| 209 |
-
{% else %}
|
| 210 |
-
user_id: null
|
| 211 |
-
{% endif %}
|
| 212 |
-
};
|
| 213 |
-
|
| 214 |
-
try {
|
| 215 |
-
// Utiliser la route proxy Flask pour contacter l'API Nexus
|
| 216 |
-
const response = await fetch('/api/support', {
|
| 217 |
-
method: 'POST',
|
| 218 |
-
headers: { 'Content-Type': 'application/json' },
|
| 219 |
-
body: JSON.stringify(formData)
|
| 220 |
-
});
|
| 221 |
-
|
| 222 |
-
// Simuler la réponse, car la route /api/support est un placeholder dans app.py
|
| 223 |
-
const data = await response.json();
|
| 224 |
-
|
| 225 |
-
// Si la route /api/support n'est qu'un proxy sans réponse complète, on simule:
|
| 226 |
-
if (response.ok) {
|
| 227 |
-
messageBox.classList.remove('bg-red-900/50', 'text-red-300');
|
| 228 |
-
messageBox.classList.add('bg-green-900/50', 'text-green-300');
|
| 229 |
-
messageBox.textContent = "Votre requête a été envoyée avec succès ! (Simulé pour l'API Nexus)";
|
| 230 |
-
document.getElementById('supportForm').reset();
|
| 231 |
-
} else {
|
| 232 |
-
messageBox.classList.remove('bg-green-900/50', 'text-green-300');
|
| 233 |
-
messageBox.classList.add('bg-red-900/50', 'text-red-300');
|
| 234 |
-
messageBox.textContent = data.message || "Erreur lors de l'envoi. Veuillez réessayer.";
|
| 235 |
-
}
|
| 236 |
-
|
| 237 |
-
messageBox.classList.remove('hidden');
|
| 238 |
-
|
| 239 |
-
} catch (error) {
|
| 240 |
-
console.error('Erreur réseau ou du serveur Flask:', error);
|
| 241 |
-
messageBox.classList.remove('bg-green-900/50', 'text-green-300');
|
| 242 |
-
messageBox.classList.add('bg-red-900/50', 'text-red-300');
|
| 243 |
-
messageBox.textContent = "Impossible de contacter le serveur. Veuillez réessayer.";
|
| 244 |
-
messageBox.classList.remove('hidden');
|
| 245 |
-
}
|
| 246 |
-
});
|
| 247 |
-
</script>
|
| 248 |
-
|
| 249 |
-
<footer class="mt-16 border-t border-gray-700 bg-gray-900">
|
| 250 |
-
<div class="container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 251 |
-
<div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-8 text-sm">
|
| 252 |
-
|
| 253 |
-
<div class="col-span-2 lg:col-span-1">
|
| 254 |
-
<a href="/" class="text-3xl font-extrabold text-blue-500 tracking-wider">NEXUS</a>
|
| 255 |
-
<p class="mt-3 text-gray-400">
|
| 256 |
-
L'infrastructure API qui propulse votre avenir technologique.
|
| 257 |
-
</p>
|
| 258 |
-
<div class="mt-4 flex space-x-4">
|
| 259 |
-
<a href="#" class="text-gray-400 hover:text-blue-500 transition duration-200">
|
| 260 |
-
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"><path d="M12 2.163c3.204 0 3.584.014 4.85.07c3.275.146 4.47 1.583 4.61 4.85.056 1.266.07 1.646.07 4.85s-.014 3.584-.07 4.85c-.14 3.267-1.335 4.704-4.61 4.85-1.266.056-1.646.07-4.85.07s-3.584-.014-4.85-.07c-3.275-.146-4.47-1.583-4.61-4.85-.056-1.266-.07-1.646-.07-4.85s.014-3.584.07-4.85c.14-3.267 1.335-4.704 4.61-4.85 1.266-.056 1.646-.07 4.85-.07zM12 0c-3.784 0-4.285.016-5.773.083-4.722.211-6.755 2.24-6.965 6.965C.016 7.715 0 8.216 0 12s.016 4.285.083 5.773c.21 4.721 2.239 6.755 6.965 6.965 1.488.067 1.99.083 5.773.083s4.285-.016 5.773-.083c4.721-.21 6.755-2.239 6.965-6.965.067-1.488.083-1.99.083-5.773s-.016-4.285-.083-5.773c-.21-4.722-2.239-6.755-6.965-6.965C16.285.016 15.784 0 12 0zm0 14.5c-1.381 0-2.5-1.119-2.5-2.5s1.119-2.5 2.5-2.5 2.5 1.119 2.5 2.5-1.119 2.5-2.5 2.5z"/></svg>
|
| 261 |
-
</a>
|
| 262 |
-
</div>
|
| 263 |
-
</div>
|
| 264 |
-
|
| 265 |
-
<div>
|
| 266 |
-
<h3 class="text-lg font-semibold text-white mb-4">Plateforme</h3>
|
| 267 |
-
<ul class="space-y-3 text-gray-400">
|
| 268 |
-
<li><a href="/tarifs" class="hover:text-blue-500 transition duration-200">Tarifs</a></li>
|
| 269 |
-
<li><a href="/documentation" class="hover:text-blue-500 transition duration-200">Documentation</a></li>
|
| 270 |
-
<li><a href="/connexion" class="hover:text-blue-500 transition duration-200">Connexion</a></li>
|
| 271 |
-
<li><a href="/support" class="hover:text-blue-500 transition duration-200">Support</a></li>
|
| 272 |
-
</ul>
|
| 273 |
-
</div>
|
| 274 |
-
|
| 275 |
-
<div>
|
| 276 |
-
<h3 class="text-lg font-semibold text-white mb-4">Légal</h3>
|
| 277 |
-
<ul class="space-y-3 text-gray-400">
|
| 278 |
-
<li><a href="/politique-confidentialite" class="hover:text-blue-500 transition duration-200">Politique de Confidentialité</a></li>
|
| 279 |
-
<li><a href="/mentions-legales" class="hover:text-blue-500 transition duration-200">Mentions Légales</a></li>
|
| 280 |
-
<li><a href="/conditions-utilisation" class="hover:text-blue-500 transition duration-200">Conditions d'Utilisation</a></li>
|
| 281 |
-
<li><a href="/a-propos" class="hover:text-blue-500 transition duration-200">À Propos</a></li>
|
| 282 |
-
</ul>
|
| 283 |
-
</div>
|
| 284 |
-
|
| 285 |
-
<div class="col-span-2 md:col-span-1">
|
| 286 |
-
<h3 class="text-lg font-semibold text-white mb-4">Ressources</h3>
|
| 287 |
-
<ul class="space-y-3 text-gray-400">
|
| 288 |
-
<li><a href="mailto:support@nexus.com" class="hover:text-blue-500 transition duration-200">Contact Email</a></li>
|
| 289 |
-
<li><a href="/dashboard" class="hover:text-blue-500 transition duration-200">Espace Client</a></li>
|
| 290 |
-
<li><a href="/api-logs" class="hover:text-blue-500 transition duration-200">Statut API</a></li>
|
| 291 |
-
</ul>
|
| 292 |
-
</div>
|
| 293 |
-
|
| 294 |
-
</div>
|
| 295 |
-
|
| 296 |
-
<div class="mt-10 pt-6 border-t border-gray-800 text-center text-gray-500 text-sm">
|
| 297 |
-
© 2025 Nexus. Tous droits réservés. Construit pour l'ère des microservices.
|
| 298 |
-
</div>
|
| 299 |
-
</div>
|
| 300 |
-
</footer>
|
| 301 |
-
|
| 302 |
-
</body>
|
| 303 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/tarifs.html
DELETED
|
@@ -1,337 +0,0 @@
|
|
| 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 |
-
<link rel="icon" type="image/png" href="https://i.imgur.com/7Gn3toV.png">
|
| 7 |
-
<title>Tarifs - Mailix | Validation d'Email</title>
|
| 8 |
-
<link rel="stylesheet"
|
| 9 |
-
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
|
| 10 |
-
<script src="https://cdn.tailwindcss.com"></script>
|
| 11 |
-
<style>
|
| 12 |
-
/* PHASE 1 : Configuration et Base du Style (Thème Noir Foncé Exclusif) */
|
| 13 |
-
/* Suppression de toute la logique du mode clair, adoption des couleurs index.html. */
|
| 14 |
-
:root {
|
| 15 |
-
--bg-body: #0A0A0A; /* Noir Profond */
|
| 16 |
-
--bg-card: #141414; /* Plus foncé que l'interface pour le contraste subtil */
|
| 17 |
-
--bg-section: #141414;
|
| 18 |
-
--bg-code: #141414;
|
| 19 |
-
--border-color: #4b5563; /* Gris très foncé pour les bordures */
|
| 20 |
-
--color-accent: #4ade80; /* Vert Vif (Green-500 équivalent) */
|
| 21 |
-
--text-color: #ffffff;
|
| 22 |
-
--text-secondary: #d1d5db; /* gray-300 */
|
| 23 |
-
--text-muted: #9ca3af; /* gray-400 */
|
| 24 |
-
--text-blue: var(--color-accent); /* Remplacer le bleu par le vert accent partout pour les hover */
|
| 25 |
-
--shadow-color: rgba(0, 0, 0, 0.5);
|
| 26 |
-
}
|
| 27 |
-
|
| 28 |
-
/* Application des variables aux styles existants et aux nouveaux éléments */
|
| 29 |
-
body {
|
| 30 |
-
font-family: 'Inter', sans-serif;
|
| 31 |
-
background-color: var(--bg-body);
|
| 32 |
-
color: var(--text-color);
|
| 33 |
-
min-height: 100vh;
|
| 34 |
-
}
|
| 35 |
-
|
| 36 |
-
/* Classes du header et des boutons CTA de index.html */
|
| 37 |
-
.header-border { border-color: var(--border-color); }
|
| 38 |
-
.bg-header { background-color: var(--bg-body); }
|
| 39 |
-
.text-blue-500-var { color: var(--text-blue); }
|
| 40 |
-
.text-color { color: var(--text-color); }
|
| 41 |
-
|
| 42 |
-
/* Bouton Primaire (Vert Mailix) */
|
| 43 |
-
.btn-primary {
|
| 44 |
-
background-color: var(--color-accent);
|
| 45 |
-
color: var(--bg-body) !important; /* Texte noir sur vert */
|
| 46 |
-
font-weight: bold;
|
| 47 |
-
box-shadow: 0 4px 6px -1px rgba(74, 222, 128, 0.3), 0 2px 4px -2px rgba(74, 222, 128, 0.3);
|
| 48 |
-
transition: background-color 0.2s;
|
| 49 |
-
}
|
| 50 |
-
.btn-primary:hover {
|
| 51 |
-
opacity: 0.9;
|
| 52 |
-
}
|
| 53 |
-
|
| 54 |
-
/* Mise en forme des cartes et autres éléments */
|
| 55 |
-
.pricing-grid {
|
| 56 |
-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
-
/* Application des variables de couleur aux classes tailwind standard utilisées dans tarifs.html pour harmonisation */
|
| 60 |
-
.bg-gray-900 { background-color: var(--bg-body) !important; }
|
| 61 |
-
.text-white { color: var(--text-color) !important; }
|
| 62 |
-
.bg-gray-800, .bg-gray-800\/50 {
|
| 63 |
-
background-color: var(--bg-card) !important;
|
| 64 |
-
box-shadow: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
|
| 65 |
-
border: 1px solid var(--border-color) !important;
|
| 66 |
-
}
|
| 67 |
-
.text-gray-400 { color: var(--text-muted) !important; }
|
| 68 |
-
.border-gray-700, .border-gray-800 { border-color: var(--border-color) !important; }
|
| 69 |
-
.text-gray-300 { color: var(--text-secondary) !important; }
|
| 70 |
-
.bg-gray-700 { background-color: #404040 !important; }
|
| 71 |
-
|
| 72 |
-
</style>
|
| 73 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
|
| 74 |
-
</head>
|
| 75 |
-
<body class="min-h-screen">
|
| 76 |
-
|
| 77 |
-
<header class="fixed top-0 left-0 right-0 z-50 flex justify-center py-3 border-b header-border bg-header shadow-xl transition-colors duration-300">
|
| 78 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center w-full">
|
| 79 |
-
<a href="/" class="text-4xl font-extrabold text-green-500 tracking-wider mb-2 sm:mb-0">
|
| 80 |
-
<img src="https://i.imgur.com/7Gn3toV.png" alt="Mailix Logo" class="h-8 w-auto">
|
| 81 |
-
</a>
|
| 82 |
-
<nav class="flex items-center space-x-2 sm:space-x-4">
|
| 83 |
-
<a href="/documentation" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 84 |
-
Docs
|
| 85 |
-
</a>
|
| 86 |
-
<a href="/tarifs" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base">
|
| 87 |
-
Tarifs
|
| 88 |
-
</a>
|
| 89 |
-
<a href="/a-propos" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden md:block">
|
| 90 |
-
Enterprise
|
| 91 |
-
</a>
|
| 92 |
-
<a href="/support" class="px-2 py-1 sm:px-4 sm:py-2 text-color hover:text-blue-500-var transition duration-200 font-medium text-sm sm:text-base hidden sm:block">
|
| 93 |
-
Support
|
| 94 |
-
</a>
|
| 95 |
-
|
| 96 |
-
<a href="/connexion" class="px-3 py-1 sm:px-4 sm:py-2 text-white btn-primary transition duration-200 text-sm sm:text-base">
|
| 97 |
-
Connexion
|
| 98 |
-
</a>
|
| 99 |
-
</nav>
|
| 100 |
-
</div>
|
| 101 |
-
</header>
|
| 102 |
-
|
| 103 |
-
<div class="pt-20 container mx-auto p-4 sm:p-6 lg:p-8 max-w-7xl">
|
| 104 |
-
|
| 105 |
-
<main class="space-y-12">
|
| 106 |
-
|
| 107 |
-
<section class="text-center p-8 bg-gray-800/50 shadow-lg border border-[var(--border-color)]">
|
| 108 |
-
<h1 class="text-5xl font-extrabold text-white mb-4 leading-tight">
|
| 109 |
-
Tarification Simplifiée
|
| 110 |
-
</h1>
|
| 111 |
-
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
|
| 112 |
-
Achetez des crédits de validation à la demande. Évolutif, sans abonnement caché.
|
| 113 |
-
</p>
|
| 114 |
-
|
| 115 |
-
<div class="mt-8 flex justify-center">
|
| 116 |
-
<div class="inline-flex bg-gray-700 p-1 rounded-full shadow-inner">
|
| 117 |
-
<button id="monthly-btn" class="px-6 py-2 text-sm font-semibold btn-primary text-black shadow-md transition duration-200 rounded-full">
|
| 118 |
-
Mensuel
|
| 119 |
-
</button>
|
| 120 |
-
<button id="annual-btn" class="px-6 py-2 text-sm font-semibold text-gray-300 hover:text-white transition duration-200 rounded-full relative">
|
| 121 |
-
Annuel
|
| 122 |
-
<span class="ml-2 px-2 py-0.5 bg-yellow-500 text-black text-xs font-bold rounded-full">
|
| 123 |
-
ÉCONOMISEZ ~17%
|
| 124 |
-
</span>
|
| 125 |
-
</button>
|
| 126 |
-
</div>
|
| 127 |
-
</div>
|
| 128 |
-
|
| 129 |
-
</section>
|
| 130 |
-
|
| 131 |
-
<div class="grid pricing-grid gap-8">
|
| 132 |
-
|
| 133 |
-
<div class="bg-gray-800 p-6 shadow-2xl border-t-4 border-green-400 flex flex-col">
|
| 134 |
-
<h2 class="text-2xl font-bold text-green-400 mb-2">Développeur (Gratuit)</h2>
|
| 135 |
-
<p class="text-gray-400 mb-6 text-sm">Tests, prototypes et petits projets.</p>
|
| 136 |
-
|
| 137 |
-
<div class="text-4xl font-extrabold text-white mb-8">
|
| 138 |
-
0<span class="text-xl text-gray-400 price-unit"> €/mois</span>
|
| 139 |
-
</div>
|
| 140 |
-
|
| 141 |
-
<div class="text-lg font-semibold text-white mb-4 border-b border-gray-700 pb-2">
|
| 142 |
-
10 000 Crédits de Validation
|
| 143 |
-
</div>
|
| 144 |
-
|
| 145 |
-
<ul class="space-y-3 flex-grow text-sm">
|
| 146 |
-
<li class="flex items-start text-gray-300">
|
| 147 |
-
<svg class="w-5 h-5 text-green-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 148 |
-
Validation en Temps Réel (API & JS)
|
| 149 |
-
</li>
|
| 150 |
-
<li class="flex items-start text-gray-300">
|
| 151 |
-
<svg class="w-5 h-5 text-green-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 152 |
-
Vérification des Enregistrements MX/SMTP
|
| 153 |
-
</li>
|
| 154 |
-
<li class="flex items-start text-gray-300">
|
| 155 |
-
<svg class="w-5 h-5 text-green-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 156 |
-
Détection d'E-mails Jetables (Temp Mail)
|
| 157 |
-
</li>
|
| 158 |
-
</ul>
|
| 159 |
-
|
| 160 |
-
<a href="/inscription" class="mt-8 block text-center px-6 py-3 btn-primary text-lg font-bold shadow-md hover:opacity-90 transition duration-300 plan-button" data-plan="developer">
|
| 161 |
-
Commencer Gratuitement
|
| 162 |
-
</a>
|
| 163 |
-
</div>
|
| 164 |
-
|
| 165 |
-
<div class="bg-gray-800 p-6 shadow-2xl border-t-4 border-yellow-500 flex flex-col">
|
| 166 |
-
<h2 class="text-2xl font-bold text-yellow-400 mb-2">Standard</h2>
|
| 167 |
-
<p class="text-gray-400 mb-6 text-sm">Volume accru et fonctionnalités étendues.</p>
|
| 168 |
-
|
| 169 |
-
<div class="text-4xl font-extrabold text-white mb-8">
|
| 170 |
-
<span class="monthly-price" data-price="5">5</span>
|
| 171 |
-
<span class="annual-price hidden" data-price="50">50</span>
|
| 172 |
-
<span class="text-xl text-gray-400 price-unit"> €/mois</span>
|
| 173 |
-
</div>
|
| 174 |
-
|
| 175 |
-
<div class="text-lg font-semibold text-white mb-4 border-b border-gray-700 pb-2">
|
| 176 |
-
50 000 Crédits de Validation
|
| 177 |
-
</div>
|
| 178 |
-
|
| 179 |
-
<ul class="space-y-3 flex-grow text-sm">
|
| 180 |
-
<li class="flex items-start text-gray-300">
|
| 181 |
-
<svg class="w-5 h-5 text-yellow-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 182 |
-
Toutes les fonctionnalités du plan Développeur
|
| 183 |
-
</li>
|
| 184 |
-
<li class="flex items-start text-gray-300">
|
| 185 |
-
<svg class="w-5 h-5 text-yellow-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 186 |
-
Rapports & Statistiques d'Utilisation Avancées
|
| 187 |
-
</li>
|
| 188 |
-
<li class="flex items-start text-gray-300">
|
| 189 |
-
<svg class="w-5 h-5 text-yellow-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 190 |
-
Support par Email Standard (24h)
|
| 191 |
-
</li>
|
| 192 |
-
<li class="flex items-start text-gray-300">
|
| 193 |
-
<svg class="w-5 h-5 text-yellow-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 194 |
-
Option de Dépassement de Crédits
|
| 195 |
-
</li>
|
| 196 |
-
</ul>
|
| 197 |
-
|
| 198 |
-
<a href="/checkout?plan=standard_monthly" class="mt-8 block text-center px-6 py-3 btn-primary text-lg font-bold shadow-md hover:opacity-90 transition duration-300 plan-button" data-plan="standard">
|
| 199 |
-
Choisir Standard
|
| 200 |
-
</a>
|
| 201 |
-
</div>
|
| 202 |
-
|
| 203 |
-
<div class="bg-gray-800 p-6 shadow-2xl border-t-4 border-blue-500 flex flex-col relative">
|
| 204 |
-
<span class="absolute top-0 right-0 -mt-3 -mr-3 bg-indigo-500 text-white font-bold py-1 px-3 shadow-lg text-xs">POPULAIRE</span>
|
| 205 |
-
<h2 class="text-2xl font-bold text-blue-400 mb-2">Professionnel</h2>
|
| 206 |
-
<p class="text-gray-400 mb-6 text-sm">Haute disponibilité et protection anti-fraude.</p>
|
| 207 |
-
|
| 208 |
-
<div class="text-4xl font-extrabold text-white mb-8">
|
| 209 |
-
<span class="monthly-price" data-price="10">10</span>
|
| 210 |
-
<span class="annual-price hidden" data-price="100">100</span>
|
| 211 |
-
<span class="text-xl text-gray-400 price-unit"> €/mois</span>
|
| 212 |
-
</div>
|
| 213 |
-
|
| 214 |
-
<div class="text-lg font-semibold text-white mb-4 border-b border-gray-700 pb-2">
|
| 215 |
-
100 000 Crédits de Validation
|
| 216 |
-
</div>
|
| 217 |
-
|
| 218 |
-
<ul class="space-y-3 flex-grow text-sm">
|
| 219 |
-
<li class="flex items-start text-gray-300">
|
| 220 |
-
<svg class="w-5 h-5 text-blue-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 221 |
-
Toutes les fonctionnalités du plan Standard
|
| 222 |
-
</li>
|
| 223 |
-
<li class="flex items-start text-gray-300">
|
| 224 |
-
<svg class="w-5 h-5 text-blue-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 225 |
-
Détection de Rôles Génériques et Abusifs
|
| 226 |
-
</li>
|
| 227 |
-
<li class="flex items-start text-gray-300">
|
| 228 |
-
<svg class="w-5 h-5 text-blue-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 229 |
-
Support Premium (Réponse sous 4h)
|
| 230 |
-
</li>
|
| 231 |
-
<li class="flex items-start text-gray-300">
|
| 232 |
-
<svg class="w-5 h-5 text-blue-500 mr-2 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
| 233 |
-
Accès aux Données de Domaine à Risque
|
| 234 |
-
</li>
|
| 235 |
-
</ul>
|
| 236 |
-
|
| 237 |
-
<a href="/checkout?plan=pro_monthly" class="mt-8 block text-center px-6 py-3 btn-primary text-lg font-bold shadow-md hover:opacity-90 transition duration-300 plan-button" data-plan="professional">
|
| 238 |
-
Choisir Professionnel
|
| 239 |
-
</a>
|
| 240 |
-
</div>
|
| 241 |
-
|
| 242 |
-
</div>
|
| 243 |
-
|
| 244 |
-
<footer class="mt-20 py-10 border-t border-gray-800" style="border-color: var(--border-color);">
|
| 245 |
-
<div class="container mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
| 246 |
-
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
|
| 247 |
-
|
| 248 |
-
<div class="col-span-2 md:col-span-1">
|
| 249 |
-
<a href="/" class="text-3xl font-extrabold text-green-500 tracking-wider">
|
| 250 |
-
MAILIX
|
| 251 |
-
</a>
|
| 252 |
-
<p class="text-gray-400 mt-4 text-sm max-w-xs">
|
| 253 |
-
L'API de validation d'e-mail la plus rapide et la plus précise du marché.
|
| 254 |
-
</p>
|
| 255 |
-
</div>
|
| 256 |
-
|
| 257 |
-
<div>
|
| 258 |
-
<h3 class="text-lg font-semibold text-white mb-4">Fonctionnalités</h3>
|
| 259 |
-
<ul class="space-y-3 text-gray-400 text-sm">
|
| 260 |
-
<li><a href="/documentation" class="hover:text-blue-500-var transition duration-200">Validation en temps réel</a></li>
|
| 261 |
-
<li><a href="/documentation" class="hover:text-blue-500-var transition duration-200">Vérification SMTP/MX</a></li>
|
| 262 |
-
<li><a href="/documentation" class="hover:text-blue-500-var transition duration-200">Détection d'E-mails Jetables</a></li>
|
| 263 |
-
<li><a href="/tarifs" class="hover:text-blue-500-var transition duration-200">Tarification</a></li>
|
| 264 |
-
</ul>
|
| 265 |
-
</div>
|
| 266 |
-
|
| 267 |
-
<div>
|
| 268 |
-
<h3 class="text-lg font-semibold text-white mb-4">Légal</h3>
|
| 269 |
-
<ul class="space-y-3 text-gray-400 text-sm">
|
| 270 |
-
<li><a href="/politique-confidentialite" class="hover:text-blue-500-var transition duration-200">Politique de Confidentialité</a></li>
|
| 271 |
-
<li><a href="/mentions-legales" class="hover:text-blue-500-var transition duration-200">Mentions Légales</a></li>
|
| 272 |
-
<li><a href="/conditions-utilisation" class="hover:text-blue-500-var transition duration-200">Conditions d'Utilisation</a></li>
|
| 273 |
-
<li><a href="/a-propos" class="hover:text-blue-500-var transition duration-200">À Propos</a></li>
|
| 274 |
-
</ul>
|
| 275 |
-
</div>
|
| 276 |
-
|
| 277 |
-
<div class="col-span-2 md:col-span-1">
|
| 278 |
-
<h3 class="text-lg font-semibold text-white mb-4">Ressources</h3>
|
| 279 |
-
<ul class="space-y-3 text-gray-400 text-sm">
|
| 280 |
-
<li><a href="mailto:support@mailix.com" class="hover:text-blue-500-var transition duration-200">Contact Email</a></li>
|
| 281 |
-
<li><a href="/connexion" class="hover:text-blue-500-var transition duration-200">Espace Client</a></li>
|
| 282 |
-
<li><a href="/api-logs" class="hover:text-blue-500-var transition duration-200">Statut API</a></li>
|
| 283 |
-
</ul>
|
| 284 |
-
</div>
|
| 285 |
-
|
| 286 |
-
</div>
|
| 287 |
-
|
| 288 |
-
<div class="mt-10 pt-6 border-t border-gray-800 text-center text-gray-500 text-sm" style="border-color: var(--border-color);">
|
| 289 |
-
© 2025 Mailix. Tous droits réservés.
|
| 290 |
-
</div>
|
| 291 |
-
</div>
|
| 292 |
-
</footer>
|
| 293 |
-
</main>
|
| 294 |
-
</div>
|
| 295 |
-
|
| 296 |
-
<script>
|
| 297 |
-
const monthlyBtn = document.getElementById('monthly-btn');
|
| 298 |
-
const annualBtn = document.getElementById('annual-btn');
|
| 299 |
-
const priceUnit = document.querySelectorAll('.price-unit');
|
| 300 |
-
const monthlyPrices = document.querySelectorAll('.monthly-price');
|
| 301 |
-
const annualPrices = document.querySelectorAll('.annual-price');
|
| 302 |
-
|
| 303 |
-
// Logique pour basculer entre les prix mensuels et annuels
|
| 304 |
-
function togglePricing(isAnnual) {
|
| 305 |
-
if (isAnnual) {
|
| 306 |
-
// Activer Annuel (Couleur distincte - bleu) et Désactiver Mensuel (Couleur secondaire - gris)
|
| 307 |
-
monthlyBtn.classList.remove('btn-primary', 'text-black', 'shadow-md');
|
| 308 |
-
monthlyBtn.classList.add('text-gray-300');
|
| 309 |
-
|
| 310 |
-
annualBtn.classList.add('bg-blue-600', 'text-white', 'shadow-md');
|
| 311 |
-
annualBtn.classList.remove('text-gray-300');
|
| 312 |
-
} else {
|
| 313 |
-
// Activer Mensuel (Couleur Primaire - vert) et Désactiver Annuel (Couleur secondaire - gris)
|
| 314 |
-
monthlyBtn.classList.add('btn-primary', 'text-black', 'shadow-md');
|
| 315 |
-
monthlyBtn.classList.remove('text-gray-300');
|
| 316 |
-
|
| 317 |
-
annualBtn.classList.remove('bg-blue-600', 'text-white', 'shadow-md');
|
| 318 |
-
annualBtn.classList.add('text-gray-300');
|
| 319 |
-
}
|
| 320 |
-
|
| 321 |
-
// Logique de changement des prix
|
| 322 |
-
monthlyPrices.forEach(span => span.classList.toggle('hidden', isAnnual));
|
| 323 |
-
annualPrices.forEach(span => span.classList.toggle('hidden', !isAnnual));
|
| 324 |
-
priceUnit.forEach(span => {
|
| 325 |
-
span.textContent = isAnnual ? ' €/an' : ' €/mois';
|
| 326 |
-
});
|
| 327 |
-
}
|
| 328 |
-
|
| 329 |
-
// État initial (Mensuel)
|
| 330 |
-
togglePricing(false);
|
| 331 |
-
|
| 332 |
-
// Écouteurs d'événements
|
| 333 |
-
monthlyBtn.addEventListener('click', () => togglePricing(false));
|
| 334 |
-
annualBtn.addEventListener('click', () => togglePricing(true));
|
| 335 |
-
</script>
|
| 336 |
-
</body>
|
| 337 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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