bp/app/Views/emails/password_reset.twig

116 lines
3.7 KiB
Twig
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Сброс пароля</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: #333;
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.email-card {
background: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 40px;
}
.logo {
text-align: center;
margin-bottom: 30px;
}
.logo-text {
font-size: 24px;
font-weight: bold;
color: #0d6efd;
}
h1 {
color: #333;
font-size: 24px;
margin-bottom: 20px;
}
.content {
color: #666;
margin-bottom: 30px;
}
.button {
display: inline-block;
padding: 14px 28px;
background-color: #0d6efd;
color: #ffffff;
text-decoration: none;
border-radius: 6px;
font-weight: 500;
margin: 20px 0;
}
.button:hover {
background-color: #0b5ed7;
}
.button-container {
text-align: center;
}
.footer {
text-align: center;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #eee;
color: #999;
font-size: 14px;
}
.warning {
background-color: #fff3cd;
border: 1px solid #ffc107;
border-radius: 4px;
padding: 12px;
margin: 20px 0;
font-size: 14px;
}
</style>
</head>
<body>
<div class="container">
<div class="email-card">
<div class="logo">
<span class="logo-text">{{ app_name }}</span>
</div>
<h1>Сброс пароля</h1>
<div class="content">
<p>Здравствуйте, {{ name }}!</p>
<p>Мы получили запрос на сброс пароля для вашей учётной записи. Если вы не отправляли этот запрос, просто проигнорируйте это письмо.</p>
</div>
<div class="button-container">
<a href="{{ reset_url }}" class="button">Сбросить пароль</a>
</div>
<div class="content">
<p>Ссылка действительна в течение 24 часов.</p>
</div>
<div class="warning">
<strong>Внимание:</strong> Если вы не запрашивали сброс пароля, рекомендуем проверить безопасность вашей учётной записи и изменить пароль.
</div>
<div class="footer">
<p>С уважением,<br>Команда {{ app_name }}</p>
<p style="font-size: 12px; color: #999;">
Если кнопка не работает, скопируйте ссылку и вставьте её в адресную строку браузера:<br>
<a href="{{ reset_url }}" style="color: #0d6efd;">{{ reset_url }}</a>
</p>
</div>
</div>
</div>
</body>
</html>