37 lines
2.6 KiB
HTML
37 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
</head>
|
||
<body style="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: #f5f5f5;">
|
||
<div style="background-color: white; border-radius: 8px; padding: 40px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
||
<div style="text-align: center; margin-bottom: 30px;">
|
||
<h1 style="color: #3B82F6; margin: 0; font-size: 28px;">Приглашение от ментора</h1>
|
||
</div>
|
||
|
||
<p style="font-size: 16px; margin-bottom: 20px;">Здравствуйте!</p>
|
||
|
||
<p style="font-size: 16px; margin-bottom: 20px;"><strong>{{ mentor_name }}</strong> приглашает вас в качестве ученика на платформу.</p>
|
||
|
||
{% if set_password_url %}
|
||
<p style="font-size: 16px; margin-bottom: 20px;">Для начала работы установите пароль и подтвердите приглашение.</p>
|
||
<div style="text-align: center; margin: 30px 0;">
|
||
<a href="{{ set_password_url }}" style="display: inline-block; background-color: #3B82F6; color: white; padding: 14px 28px; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 16px;">Установить пароль и подтвердить</a>
|
||
</div>
|
||
<p style="font-size: 12px; color: #9CA3AF; word-break: break-all;">{{ set_password_url }}</p>
|
||
{% elif confirm_url %}
|
||
<p style="font-size: 16px; margin-bottom: 20px;">Подтвердите приглашение, чтобы начать занятия с ментором.</p>
|
||
<div style="text-align: center; margin: 30px 0;">
|
||
<a href="{{ confirm_url }}" style="display: inline-block; background-color: #3B82F6; color: white; padding: 14px 28px; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 16px;">Подтвердить приглашение</a>
|
||
</div>
|
||
<p style="font-size: 12px; color: #9CA3AF; word-break: break-all;">{{ confirm_url }}</p>
|
||
{% endif %}
|
||
|
||
<div style="margin-top: 40px; padding-top: 20px; border-top: 1px solid #E5E7EB;">
|
||
<p style="margin: 0; font-size: 14px; color: #6B7280;">С уважением,<br><strong>Команда платформы</strong></p>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html>
|