password_reset.html
164 lignes · 5783 octets
<!DOCTYPE html> <html lang="{{ locale }}"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{% if locale == "fr" %}Réinitialisation de mot de passe{% else %}Password Reset{% endif %}</title> <style> body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px; background-color: #f4f4f4; } .email-container { background-color: #ffffff; border-radius: 8px; padding: 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .header { text-align: center; margin-bottom: 30px; } .logo { font-size: 24px; font-weight: bold; color: #2563eb; margin-bottom: 10px; } h1 { color: #1f2937; font-size: 24px; margin-bottom: 20px; } .content { margin-bottom: 30px; } .button-container { text-align: center; margin: 30px 0; } .button { display: inline-block; padding: 12px 30px; background-color: #2563eb; color: #ffffff !important; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 16px; } .button:hover { background-color: #1d4ed8; } .link-fallback { margin-top: 20px; padding: 15px; background-color: #f3f4f6; border-radius: 6px; word-break: break-all; font-size: 14px; color: #6b7280; } .footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: 14px; color: #6b7280; text-align: center; } .warning { margin-top: 20px; padding: 15px; background-color: #fef3c7; border-left: 4px solid #f59e0b; border-radius: 4px; font-size: 14px; } </style> </head> <body> <div class="email-container"> <div class="header"> <div class="logo">{{ app_name }}</div> </div> <h1> {% if locale == "fr" %} Réinitialisation de votre mot de passe {% else %} Reset Your Password {% endif %} </h1> <div class="content"> {% if locale == "fr" %} <p>Bonjour {{ username }},</p> <p>Vous avez demandé à réinitialiser votre mot de passe pour votre compte {{ app_name }}.</p> <p>Cliquez sur le bouton ci-dessous pour réinitialiser votre mot de passe :</p> {% else %} <p>Hello {{ username }},</p> <p>You have requested to reset your password for your {{ app_name }} account.</p> <p>Click the button below to reset your password:</p> {% endif %} </div> <div class="button-container"> <a href="{{ reset_url }}" class="button"> {% if locale == "fr" %} Réinitialiser mon mot de passe {% else %} Reset My Password {% endif %} </a> </div> <div class="link-fallback"> {% if locale == "fr" %} <p><strong>Le bouton ne fonctionne pas ?</strong></p> <p>Copiez et collez ce lien dans votre navigateur :</p> {% else %} <p><strong>Button not working?</strong></p> <p>Copy and paste this link into your browser:</p> {% endif %} <p style="margin-top: 10px; word-break: break-all;">{{ reset_url }}</p> </div> <div class="warning"> {% if locale == "fr" %} <p><strong>⚠️ Important :</strong></p> <ul style="margin: 10px 0; padding-left: 20px;"> <li>Ce lien est valide pendant <strong>1 heure</strong> uniquement</li> <li>Si vous n'avez pas demandé cette réinitialisation, ignorez cet email</li> <li>Votre mot de passe actuel restera inchangé si vous n'utilisez pas ce lien</li> </ul> {% else %} <p><strong>⚠️ Important:</strong></p> <ul style="margin: 10px 0; padding-left: 20px;"> <li>This link is valid for <strong>1 hour</strong> only</li> <li>If you did not request this reset, please ignore this email</li> <li>Your current password will remain unchanged if you don't use this link</li> </ul> {% endif %} </div> <div class="footer"> {% if locale == "fr" %} <p>Cet email a été envoyé automatiquement, merci de ne pas y répondre.</p> <p>Si vous avez des questions, contactez le support technique.</p> {% else %} <p>This email was sent automatically, please do not reply.</p> <p>If you have any questions, please contact technical support.</p> {% endif %} <p style="margin-top: 10px; font-size: 12px; color: #9ca3af;"> © {{ current_year }} {{ app_name }}. Tous droits réservés. </p> </div> </div> </body> </html>
GitRust