139 lines
7.2 KiB
HTML
139 lines
7.2 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="ru">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
|
<title>{{ subject }}</title>
|
|
|
|
</head>
|
|
<body>
|
|
<table style="width: 100%; border-collapse: collapse; font-family: system-ui, -apple-system, sans-serif;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="background-color: #5F1798; padding: 24px;">
|
|
<table style="width: 100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="text-align: center; vertical-align: middle;">
|
|
<h2 style="margin: 0px; color: white; font-size: 20px; font-weight: bold;">
|
|
{{data.title}}</h2>
|
|
</td>
|
|
|
|
<!-- <td style="text-align: right; vertical-align: top; width: 120px;">
|
|
{% if data.login_link %}
|
|
<a href="{{data.login_link}}"
|
|
style="background-color: rgba(255, 255, 255, 0.2); color: white; padding: 8px 20px; border-radius: 6px; border: 2px solid white; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.2s;">Вход</a>
|
|
{% endif %}
|
|
</td> -->
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding: 20px 7px 32px;">
|
|
<table style="width: 100%;">
|
|
<tbody>
|
|
{% if data.primary %}
|
|
<tr>
|
|
<td style="text-align: center;">
|
|
<table
|
|
style="justify-content: center; display: flex; border-collapse: separate; border-spacing: 8px;">
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<a href="{{data.primary.href}}"
|
|
style="background-color: #5F1798; color: white; padding: 12px 20px; border-radius: 6px; border: medium; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.2s;">
|
|
{{data.primary.text}}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% if data.secondary %}
|
|
<tr>
|
|
<td style="text-align: center;">
|
|
<table
|
|
style="justify-content: center; display: flex; border-collapse: separate; border-spacing: 8px;">
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<a href="{{data.secondary.href}}"
|
|
style="background-color: transparent; color: #5F1798; padding: 12px 20px; border-radius: 6px; border: 2px solid #5F1798; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.2s;">
|
|
{{data.secondary.text}}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding: 32px 24px;">
|
|
<table style="width: 100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<p style="margin: 0px; font-size: 16px; line-height: 24px; color: rgb(55, 65, 81);">
|
|
{{data.text}}</p>
|
|
{% if data.list %}
|
|
{% for elem in data.list %}
|
|
<div style="margin-top: 16px;">
|
|
<div style="padding: 12px; background-color: rgb(249, 250, 251); border-radius: 4px; margin-top: 12px;">
|
|
<p style="margin: 0px; font-size: 14px; color: rgb(107, 114, 128);">
|
|
{% for i in elem %}
|
|
{% if i.img %}
|
|
<img src="{{ i.img }}" alt="{{ i.label }}" style="max-width: 100%; height: auto;">
|
|
{% endif %}
|
|
<strong>{{ i.label }}</strong> {{ i.text }}<br>
|
|
{% endfor %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% endif%}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td
|
|
style="background-color: rgb(249, 250, 251); padding: 16px 24px; border-top: 1px solid rgb(229, 231, 235);">
|
|
<table style="width: 100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="font-size: 12px; color: rgb(107, 114, 128); text-align: center;">
|
|
<p style="margin: 0px 0px 8px;">Автономная некоммерческая организация
|
|
развития художественного творчества и ремесел «Культурный мост
|
|
«Передвижные выставки» © {{year}}</p>
|
|
<p style="margin: 0px;"><a href="https://kultmost.ru/post"
|
|
style="color: #5F1798; text-decoration: none; margin-right: 16px;">Маркетплейс</a><a
|
|
href="https://avtopost.kultmost.ru/news"
|
|
style="color: #5F1798; text-decoration: none; margin-right: 16px;">Новости</a><a
|
|
href="https://avtopost.kultmost.ru/partner"
|
|
style="color: #5F1798; text-decoration: none;">Партнеры</a></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
|
|
</html> |