README.md

This commit is contained in:
2026-09-06 17:32:29 +03:00
parent 216da22bc2
commit 7ae77c0775
16 changed files with 811 additions and 56 deletions
+38
View File
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}SecretText{% endblock %}</title>
</head>
<body style="margin: 0; padding: 0; font-family: 'Courier New', monospace; background-color: #fafafa;">
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #fafafa; padding: 30px 0;">
<tr>
<td align="center">
<table width="480" cellpadding="0" cellspacing="0" border="0" style="width: 480px; background-color: #ffffff; border: 1px solid #cccccc;">
<tr>
<td style="padding: 20px 30px 14px 30px; border-bottom: 1px solid #cccccc; text-align: center;">
<span style="font-size: 16px; font-weight: 700; color: #000000; letter-spacing: 3px;">SECRETTEXT</span>
</td>
</tr>
<tr>
<td style="padding: 24px 30px 20px 30px;">
{% block content %}{% endblock %}
</td>
</tr>
<tr>
<td style="padding: 10px 30px 16px 30px; border-top: 1px solid #dddddd; text-align: center; font-size: 11px; color: #999999;">
SecretText
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
+21
View File
@@ -0,0 +1,21 @@
{% extends "emails/base_email.html" %}
{% block content %}
<div style="font-size: 14px; line-height: 1.6; color: #333333; margin-bottom: 16px;">
Кто-то отправил вам секрет.
</div>
<div style="text-align: center; margin: 16px 0 14px 0;">
<a href="{{ base_url }}/my-secrets" style="display: inline-block; padding: 10px 28px; background-color: #000000; color: #ffffff; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 1px;">МОИ СЕКРЕТЫ</a>
</div>
<div style="font-size: 11px; color: #888888; text-align: center; word-break: break-all; margin-bottom: 14px;">
{{ base_url }}/my-secrets
</div>
<div style="font-size: 11px; color: #666666; border-top: 1px solid #dddddd; padding-top: 12px; margin-top: 8px; line-height: 1.5;">
Секрет доступен для одноразового просмотра.
</div>
{% endblock %}
+27
View File
@@ -0,0 +1,27 @@
{% extends "emails/base_email.html" %}
{% block content %}
<div style="font-size: 14px; line-height: 1.6; color: #333333; margin-bottom: 16px;">
Вам отправили секрет по запросу.
</div>
{% if note %}
<div style="background-color: #f4f4f4; padding: 10px 14px; font-size: 13px; color: #666666; margin-bottom: 18px; border: 1px solid #dddddd;">
Примечание: {{ note }}
</div>
{% endif %}
<div style="text-align: center; margin: 16px 0 14px 0;">
<a href="{{ base_url }}/my-secrets" style="display: inline-block; padding: 10px 28px; background-color: #000000; color: #ffffff; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 1px;">МОИ СЕКРЕТЫ</a>
</div>
<div style="font-size: 11px; color: #888888; text-align: center; word-break: break-all; margin-bottom: 14px;">
{{ base_url }}/my-secrets
</div>
<div style="font-size: 11px; color: #666666; border-top: 1px solid #dddddd; padding-top: 12px; margin-top: 8px; line-height: 1.5;">
Секрет доступен для одноразового просмотра.
</div>
{% endblock %}
+17
View File
@@ -0,0 +1,17 @@
{% extends "emails/base_email.html" %}
{% block content %}
<div style="font-size: 14px; line-height: 1.6; color: #333333; margin-bottom: 16px;">
Ваш секрет был просмотрен.
</div>
<div style="text-align: center; margin: 16px 0 14px 0;">
<a href="{{ base_url }}" style="display: inline-block; padding: 10px 28px; background-color: #000000; color: #ffffff; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 1px;">СОЗДАТЬ НОВЫЙ</a>
</div>
<div style="font-size: 11px; color: #888888; text-align: center; word-break: break-all;">
{{ base_url }}
</div>
{% endblock %}
+29
View File
@@ -0,0 +1,29 @@
{% extends "emails/base_email.html" %}
{% block content %}
<div style="font-size: 14px; line-height: 1.6; color: #333333; margin-bottom: 16px;">
Для вас создан аккаунт в SecretText.
</div>
<div style="background-color: #f4f4f4; padding: 10px 14px; font-size: 14px; color: #000000; margin-bottom: 18px; border: 1px solid #dddddd;">
Логин: <span style="font-weight: 700;">{{ username }}</span>
</div>
<div style="font-size: 13px; color: #333333; margin-bottom: 10px;">
Ссылка для получения пароля:
</div>
<div style="text-align: center; margin: 16px 0 14px 0;">
<a href="{{ view_url }}" style="display: inline-block; padding: 10px 28px; background-color: #000000; color: #ffffff; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 1px;">ПОЛУЧИТЬ ПАРОЛЬ</a>
</div>
<div style="font-size: 11px; color: #888888; text-align: center; word-break: break-all; margin-bottom: 14px;">
{{ view_url }}
</div>
<div style="font-size: 11px; color: #666666; border-top: 1px solid #dddddd; padding-top: 12px; margin-top: 8px; line-height: 1.5;">
Ссылка действительна 24 часа.
</div>
{% endblock %}