|
|
@@ -405,7 +405,6 @@ PRINTER_DISCONNECTED_MAIL = {
|
|
|
</html>
|
|
|
"""
|
|
|
}
|
|
|
-
|
|
|
PIN_RECOVERY_MAIL = {
|
|
|
"subject": "Recuperación de PIN | Pedidos Express",
|
|
|
"body": """
|
|
|
@@ -414,7 +413,7 @@ PIN_RECOVERY_MAIL = {
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
- <title>Recupera tu PIN </title>
|
|
|
+ <title>Recupera tu PIN</title>
|
|
|
</head>
|
|
|
<body style="margin: 0; padding: 0; font-family: Arial, sans-serif; background-color: #f3f4f6;">
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" style="background-color: #f3f4f6; padding: 20px;">
|
|
|
@@ -439,7 +438,20 @@ PIN_RECOVERY_MAIL = {
|
|
|
<tr>
|
|
|
<td style="text-align: center; margin-bottom: 32px;">
|
|
|
<h2 style="color: #101419; font-size: 24px; margin: 0 0 12px 0; font-weight: bold;">¿Olvidaste tu PIN?</h2>
|
|
|
- <p style="color: #6b7280; font-size: 16px; line-height: 1.6; margin: 0;">No te preocupes, puedes crear un nuevo PIN de acceso a {app_name}.</p>
|
|
|
+ <p style="color: #6b7280; font-size: 16px; line-height: 1.6; margin: 0;">No te preocupes, usa el siguiente código para crear un nuevo PIN de acceso a {app_name}.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <!-- Security Code Section -->
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0">
|
|
|
+ <tr>
|
|
|
+ <td style="background: linear-gradient(135deg, #101419 0%, #37404a 100%); border-radius: 12px; padding: 32px; text-align: center; margin: 32px 0; color: white;">
|
|
|
+ <p style="font-size: 18px; margin: 0 0 16px 0; opacity: 0.95;">Tu código de verificación es:</p>
|
|
|
+ <div style="font-size: 48px; font-weight: bold; letter-spacing: 8px; margin: 24px 0; border: 3px solid white; border-radius: 12px; padding: 24px; display: inline-block; min-width: 280px; background-color: rgba(255,255,255,0.1); font-family: 'Courier New', monospace;">
|
|
|
+ {verification_code}
|
|
|
+ </div>
|
|
|
+ <p style="font-size: 16px; margin: 16px 0 0 0; opacity: 0.9;">Ingresa este código en la aplicación para continuar</p>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
@@ -452,39 +464,157 @@ PIN_RECOVERY_MAIL = {
|
|
|
<ul style="list-style: none; padding: 0; margin: 0;">
|
|
|
<li style="color: #374151; font-size: 14px; line-height: 1.5; margin-bottom: 8px; padding-left: 20px; position: relative;">
|
|
|
<span style="color: #10b981; font-weight: bold; position: absolute; left: 0;">✓</span>
|
|
|
- Este enlace es válido por 24 horas
|
|
|
+ Este código es válido por 15 minutos
|
|
|
</li>
|
|
|
<li style="color: #374151; font-size: 14px; line-height: 1.5; margin-bottom: 8px; padding-left: 20px; position: relative;">
|
|
|
<span style="color: #10b981; font-weight: bold; position: absolute; left: 0;">✓</span>
|
|
|
- Podrás elegir tu nuevo PIN
|
|
|
+ Solo puedes usarlo una vez
|
|
|
</li>
|
|
|
<li style="color: #374151; font-size: 14px; line-height: 1.5; margin-bottom: 8px; padding-left: 20px; position: relative;">
|
|
|
<span style="color: #10b981; font-weight: bold; position: absolute; left: 0;">✓</span>
|
|
|
- Si no solicitaste este cambio, ignora este correo
|
|
|
+ Si no solicitaste este código, ignora este correo
|
|
|
</li>
|
|
|
</ul>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
|
|
|
- <!-- Reset PIN Section -->
|
|
|
+ <!-- Next Steps -->
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0" style="margin: 32px 0;">
|
|
|
+ <tr>
|
|
|
+ <td style="background-color: #f0f9ff; border-radius: 8px; padding: 24px; border-left: 4px solid #3b82f6;">
|
|
|
+ <h3 style="color: #101419; font-size: 16px; font-weight: 600; margin: 0 0 12px 0;">¿Cómo usar el código?</h3>
|
|
|
+ <p style="color: #374151; font-size: 14px; line-height: 1.5; margin: 0;">
|
|
|
+ 1. Abre la aplicación {app_name}<br>
|
|
|
+ 2. Ve a la opción "Recuperar PIN"<br>
|
|
|
+ 3. Ingresa el código de 6 dígitos<br>
|
|
|
+ 4. Crea tu nuevo PIN<br>
|
|
|
+ 5. ¡Disfruta de todos nuestros beneficios!
|
|
|
+ </p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <!-- Warning -->
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;">
|
|
|
+ <tr>
|
|
|
+ <td style="background-color: #fef2f2; border-radius: 8px; padding: 20px; border-left: 4px solid #ef4444;">
|
|
|
+ <p style="color: #991b1b; font-size: 14px; font-weight: 600; margin: 0 0 8px 0;">⚠️ Importante:</p>
|
|
|
+ <p style="color: #7f1d1d; font-size: 14px; line-height: 1.5; margin: 0;">
|
|
|
+ No compartas este código con nadie. Nuestro equipo nunca te pedirá este código por teléfono o email.
|
|
|
+ </p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <!-- Website Section -->
|
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
|
<tr>
|
|
|
- <td style="background: linear-gradient(135deg, #101419 0%, #37404a 100%); border-radius: 12px; padding: 32px; text-align: center; margin: 32px 0; color: white;">
|
|
|
- <p style="font-size: 18px; margin: 0 0 16px 0; opacity: 0.95;">Haz clic en el botón para crear tu nuevo PIN</p>
|
|
|
- <div style="font-size: 24px; font-weight: bold; margin: 16px 0; border: 3px solid white; border-radius: 8px; padding: 16px; display: inline-block; min-width: 200px; background-color: rgba(255,255,255,0.1);">
|
|
|
- 🔐 Restablecer PIN
|
|
|
+ <td style="text-align: center; margin: 32px 0; padding: 24px; background-color: #f9fafb; border-radius: 8px;">
|
|
|
+ <p style="color: #6b7280; margin: 0 0 12px 0;">Visita nuestra plataforma:</p>
|
|
|
+ <a href="https://expressklein.store" style="color: #101419; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 2px solid #101419; padding-bottom: 4px;">
|
|
|
+ expressklein.store
|
|
|
+ </a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <!-- Footer -->
|
|
|
+ <tr>
|
|
|
+ <td style="background-color: #f9fafb; padding: 24px 32px; text-align: center; border-top: 1px solid #e5e7eb;">
|
|
|
+ <p style="color: #6b7280; font-size: 14px; margin: 0; line-height: 1.5;">
|
|
|
+ <strong>Express Klein</strong> - Tu aplicación de pedidos favorita<br>
|
|
|
+ Este código de verificación expira en 15 minutos.<br>
|
|
|
+ Si no solicitaste este código, puedes ignorar este correo.<br>
|
|
|
+ © 2025 Express Klein. Todos los derechos reservados.
|
|
|
+ </p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ </table>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+</body>
|
|
|
+</html>
|
|
|
+ """
|
|
|
+}
|
|
|
+PIN_SUCCESSFULLY = {
|
|
|
+ "subject": "Tu PIN ha sido cambiado exitosamente",
|
|
|
+ "body": """
|
|
|
+ <!DOCTYPE html>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <title>PIN Restablecido Exitosamente</title>
|
|
|
+</head>
|
|
|
+<body style="margin: 0; padding: 0; font-family: Arial, sans-serif; background-color: #f3f4f6;">
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0" style="background-color: #f3f4f6; padding: 20px;">
|
|
|
+ <tr>
|
|
|
+ <td align="center">
|
|
|
+ <table width="600" cellpadding="0" cellspacing="0" style="max-width: 600px; background-color: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);">
|
|
|
+
|
|
|
+ <!-- Header -->
|
|
|
+ <tr>
|
|
|
+ <td style="background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; padding: 32px; text-align: center;">
|
|
|
+ <div style="font-size: 48px; margin-bottom: 16px;">✅</div>
|
|
|
+ <h1 style="margin: 0; font-size: 28px; font-weight: bold;">¡Hola {name}!</h1>
|
|
|
+ <p style="margin: 8px 0 0 0; font-size: 16px; opacity: 0.9;">PIN Restablecido Exitosamente</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <!-- Content -->
|
|
|
+ <tr>
|
|
|
+ <td style="padding: 32px;">
|
|
|
+
|
|
|
+ <!-- Success Message -->
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0">
|
|
|
+ <tr>
|
|
|
+ <td style="text-align: center; margin-bottom: 32px;">
|
|
|
+ <h2 style="color: #101419; font-size: 24px; margin: 0 0 12px 0; font-weight: bold;">🎉 ¡Perfecto!</h2>
|
|
|
+ <p style="color: #6b7280; font-size: 16px; line-height: 1.6; margin: 0;">Tu PIN de acceso a {app_name} ha sido actualizado correctamente.</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <!-- Confirmation Details -->
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0">
|
|
|
+ <tr>
|
|
|
+ <td style="background: linear-gradient(135deg, #10b981 0%, #059669 100%); border-radius: 12px; padding: 32px; text-align: center; margin: 32px 0; color: white;">
|
|
|
+ <div style="font-size: 32px; margin-bottom: 16px;">🔐</div>
|
|
|
+ <p style="font-size: 18px; margin: 0 0 16px 0; opacity: 0.95;">Tu nuevo PIN está listo</p>
|
|
|
+ <div style="font-size: 16px; margin: 16px 0; border: 3px solid white; border-radius: 8px; padding: 20px; background-color: rgba(255,255,255,0.1);">
|
|
|
+ <strong>Fecha de cambio:</strong> {date}<br>
|
|
|
+ <strong>Hora:</strong> {time}
|
|
|
</div>
|
|
|
- <p style="font-size: 16px; margin: 16px 0 0 0; opacity: 0.9;">Podrás elegir un nuevo PIN de tu preferencia</p>
|
|
|
- <table width="100%" cellpadding="0" cellspacing="0" style="margin-top: 20px;">
|
|
|
- <tr>
|
|
|
- <td align="center">
|
|
|
- <a href="{reset_pin_url}" style="background-color: white; color: #101419; padding: 16px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 16px; display: inline-block;">
|
|
|
- Crear Nuevo PIN
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
+ <p style="font-size: 16px; margin: 16px 0 0 0; opacity: 0.9;">Ya puedes acceder a tu cuenta con tu nuevo PIN</p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <!-- Security Status -->
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;">
|
|
|
+ <tr>
|
|
|
+ <td style="background-color: #f0fdf4; border-radius: 8px; padding: 24px; border-left: 4px solid #10b981;">
|
|
|
+ <h3 style="color: #101419; font-size: 18px; font-weight: 600; margin: 0 0 16px 0; text-align: center;">✅ Estado de Seguridad</h3>
|
|
|
+ <ul style="list-style: none; padding: 0; margin: 0;">
|
|
|
+ <li style="color: #166534; font-size: 14px; line-height: 1.5; margin-bottom: 8px; padding-left: 20px; position: relative;">
|
|
|
+ <span style="color: #10b981; font-weight: bold; position: absolute; left: 0;">✓</span>
|
|
|
+ PIN actualizado exitosamente
|
|
|
+ </li>
|
|
|
+ <li style="color: #166534; font-size: 14px; line-height: 1.5; margin-bottom: 8px; padding-left: 20px; position: relative;">
|
|
|
+ <span style="color: #10b981; font-weight: bold; position: absolute; left: 0;">✓</span>
|
|
|
+ Tu cuenta está completamente segura
|
|
|
+ </li>
|
|
|
+ <li style="color: #166534; font-size: 14px; line-height: 1.5; margin-bottom: 8px; padding-left: 20px; position: relative;">
|
|
|
+ <span style="color: #10b981; font-weight: bold; position: absolute; left: 0;">✓</span>
|
|
|
+ Acceso restaurado correctamente
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
@@ -493,25 +623,53 @@ PIN_RECOVERY_MAIL = {
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 32px 0;">
|
|
|
<tr>
|
|
|
<td style="background-color: #f0f9ff; border-radius: 8px; padding: 24px; border-left: 4px solid #3b82f6;">
|
|
|
- <h3 style="color: #101419; font-size: 16px; font-weight: 600; margin: 0 0 12px 0;">¿Qué sigue?</h3>
|
|
|
+ <h3 style="color: #101419; font-size: 16px; font-weight: 600; margin: 0 0 12px 0;">🚀 ¿Qué puedes hacer ahora?</h3>
|
|
|
<p style="color: #374151; font-size: 14px; line-height: 1.5; margin: 0;">
|
|
|
- 1. Haz clic en "Crear Nuevo PIN"<br>
|
|
|
- 2. Elige un PIN fácil de recordar pero seguro<br>
|
|
|
- 3. Ingresa a {app_name} con tu nuevo PIN<br>
|
|
|
- 4. ¡Disfruta de todos nuestros beneficios!
|
|
|
+ 1. Abre la aplicación {app_name}<br>
|
|
|
+ 2. Ingresa con tu nuevo PIN<br>
|
|
|
+ 3. Explora todas las funciones disponibles<br>
|
|
|
+ 4. Realiza tus pedidos favoritos<br>
|
|
|
+ 5. ¡Disfruta de la experiencia completa!
|
|
|
</p>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
|
|
|
- <!-- Website Section -->
|
|
|
+ <!-- Security Tips -->
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;">
|
|
|
+ <tr>
|
|
|
+ <td style="background-color: #fffbeb; border-radius: 8px; padding: 20px; border-left: 4px solid #f59e0b;">
|
|
|
+ <p style="color: #92400e; font-size: 14px; font-weight: 600; margin: 0 0 8px 0;">💡 Consejos de Seguridad:</p>
|
|
|
+ <p style="color: #a16207; font-size: 14px; line-height: 1.5; margin: 0;">
|
|
|
+ • Recuerda tu nuevo PIN y no lo compartas con nadie<br>
|
|
|
+ • Si tienes problemas para acceder, contáctanos<br>
|
|
|
+ • Mantén tu aplicación siempre actualizada
|
|
|
+ </p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <!-- Not You Section -->
|
|
|
+ <table width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;">
|
|
|
+ <tr>
|
|
|
+ <td style="background-color: #fef2f2; border-radius: 8px; padding: 20px; border-left: 4px solid #ef4444;">
|
|
|
+ <p style="color: #991b1b; font-size: 14px; font-weight: 600; margin: 0 0 8px 0;">⚠️ ¿No fuiste tú?</p>
|
|
|
+ <p style="color: #7f1d1d; font-size: 14px; line-height: 1.5; margin: 0;">
|
|
|
+ Si no realizaste este cambio, contacta inmediatamente a nuestro equipo de soporte. Tu seguridad es nuestra prioridad.
|
|
|
+ </p>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+
|
|
|
+ <!-- App Download Section -->
|
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
|
<tr>
|
|
|
<td style="text-align: center; margin: 32px 0; padding: 24px; background-color: #f9fafb; border-radius: 8px;">
|
|
|
- <p style="color: #6b7280; margin: 0 0 12px 0;">Visita nuestra plataforma:</p>
|
|
|
+ <p style="color: #6b7280; margin: 0 0 12px 0;">Accede desde nuestra plataforma:</p>
|
|
|
<a href="https://expressklein.store" style="color: #101419; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 2px solid #101419; padding-bottom: 4px;">
|
|
|
expressklein.store
|
|
|
</a>
|
|
|
+ <p style="color: #6b7280; font-size: 14px; margin: 16px 0 0 0;">O descarga nuestra app móvil</p>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
@@ -524,8 +682,8 @@ PIN_RECOVERY_MAIL = {
|
|
|
<td style="background-color: #f9fafb; padding: 24px 32px; text-align: center; border-top: 1px solid #e5e7eb;">
|
|
|
<p style="color: #6b7280; font-size: 14px; margin: 0; line-height: 1.5;">
|
|
|
<strong>Express Klein</strong> - Tu aplicación de pedidos favorita<br>
|
|
|
- Este enlace de restablecimiento expira en 24 horas.<br>
|
|
|
- Si no solicitaste este cambio, puedes ignorar este correo.<br>
|
|
|
+ Este correo confirma que tu PIN fue actualizado exitosamente.<br>
|
|
|
+ Si tienes alguna pregunta, no dudes en contactarnos.<br>
|
|
|
© 2025 Express Klein. Todos los derechos reservados.
|
|
|
</p>
|
|
|
</td>
|