mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-24 09:40:21 +00:00
password forgot hecho
This commit is contained in:
@ -1,33 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<html lang="es" xmlns:th="http://www.thymeleaf.org">
|
||||
<th:block th:fragment="content">
|
||||
<p style="margin:0 0 12px; color:#333333 !important;">
|
||||
<span th:text="#{email.greeting}">Hola</span>
|
||||
<span th:text="${fullName} ?: 'Usuario'">Usuario</span>,
|
||||
</p>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title th:text="#{email.resetPassword.title}">Recuperación de contraseña</title>
|
||||
<link rel="stylesheet" th:href="@{/css/email.css}">
|
||||
</head>
|
||||
<p style="margin:0 0 12px; color:#333333 !important;">
|
||||
<span th:text="#{email.reset-password.body}">
|
||||
Haz clic en el siguiente botón para restablecer tu contraseña:
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<!-- Logo insertado como imagen inline -->
|
||||
<img th:src="@{cid:companyLogo}" alt="Logo Imprimelibros" width="150">
|
||||
</div>
|
||||
<p style="margin:0 0 16px;">
|
||||
<a th:href="${resetUrl}"
|
||||
style="display:inline-block; padding:12px 20px; border-radius:6px; font-weight:bold;
|
||||
background:#2563eb; color:#ffffff !important; text-decoration:none;">
|
||||
<span th:text="#{email.reset-password.button}">Restablecer contraseña</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p><span th:text="#{email.greeting}">Hola</span> <b th:text="${username}">Usuario</b>,</p>
|
||||
<p th:text="#{email.resetPassword.body}">Hemos recibido una solicitud para restablecer tu contraseña. Haz clic en el siguiente botón:</p>
|
||||
<p style="margin:0 0 8px; color:#333333 !important;">
|
||||
<span th:text="#{email.reset-password.link-instruction}">
|
||||
Si no funciona, copia y pega esta URL en tu navegador:
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p style="text-align:center;">
|
||||
<a th:href="${resetLink}" class="btn" th:text="#{email.resetPassword.button}">Restablecer contraseña</a>
|
||||
</p>
|
||||
<p style="margin:0 0 12px; color:#333333 !important;">
|
||||
<span th:text="${resetUrl}">https://...</span>
|
||||
</p>
|
||||
|
||||
<p th:text="#{email.resetPassword.ignoreMessage}">Si no solicitaste este cambio, puedes ignorar este mensaje.</p>
|
||||
<p style="margin:0 0 12px; color:#333333 !important;">
|
||||
<span th:text="#{email.reset-password.expiration(${minutes})}">
|
||||
Este enlace caduca en 60 minutos.
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<div class="footer">
|
||||
© <span th:text="${year}">2025</span> <span th:text="#{email.footer}">Imprimelibros - Todos los derechos reservados.</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<p style="margin:0; color:#333333 !important;">
|
||||
<span th:text="#{email.reset-password.ignoreMessage}">
|
||||
Si no solicitaste este cambio, puedes ignorar este mensaje.
|
||||
</span>
|
||||
</p>
|
||||
</th:block>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user