Mery3391/YAMNET
0
1<!DOCTYPE html>2<html lang="fr" dir="ltr">3<head>4 <meta charset="UTF-8"/>5 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>6 <title>DarijaEmotions — Connexion</title>7 <link rel="stylesheet" href="css/base.css"/>8 <link rel="stylesheet" href="css/auth.css"/>9</head>10<body>11 12<div class="auth-page">13 <div class="auth-box">14 15 <!-- Titre Connexion avec Great Vibes -->16 <h1 class="auth-title">Connexion</h1>17 <p class="auth-sub">Bienvenue ! Analysez les émotions en Darija.</p>18 19 <!-- Error -->20 <div class="auth-error" id="auth-error">21 <svg viewBox="0 0 24 24">22 <circle cx="12" cy="12" r="10"/>23 <line x1="12" y1="8" x2="12" y2="12"/>24 <line x1="12" y1="16" x2="12.01" y2="16"/>25 </svg>26 <span></span>27 </div>28 29 <form id="login-form" method="POST" action="/api/login">30 <div class="form-group">31 <label class="form-label" for="login-email">Email</label>32 <input33 class="form-input"34 type="email"35 id="login-email"36 name="email"37 placeholder="vous@exemple.com"38 autocomplete="email"39 required40 />41 </div>42 43 <div class="form-group">44 <label class="form-label" for="login-password">Mot de passe</label>45 <div class="input-wrap">46 <input47 class="form-input"48 type="password"49 id="login-password"50 name="password"51 placeholder="••••••••"52 autocomplete="current-password"53 required54 />55 <button type="button" class="pw-toggle" aria-label="Afficher/masquer le mot de passe">56 <svg class="icon-eye" viewBox="0 0 24 24">57 <path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/>58 <circle cx="12" cy="12" r="3"/>59 </svg>60 <svg class="icon-eye-off" viewBox="0 0 24 24" style="display:none">61 <path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94"/>62 <path d="M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19"/>63 <line x1="1" y1="1" x2="23" y2="23"/>64 </svg>65 </button>66 </div>67 </div>68 69 <button type="submit" class="btn-auth">70 <span class="spinner"></span>71 <span class="btn-label">Se connecter</span>72 </button>73 </form>74 75 <div class="auth-divider">ou</div>76 77 <button class="btn-google" type="button" id="google-login">78 <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">79 <path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="#4285F4"/>80 <path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/>81 <path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05"/>82 <path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/>83 </svg>84 Continuer avec Google85 </button>86 87 <p class="auth-switch">88 Pas encore de compte ?89 <a class="auth-link" href="signup.html">Créer un compte</a>90 </p>91 92 </div>93</div>94 95<script src="js/i18n.js"></script>96<script src="js/auth.js"></script>97 98</body>99</html>