forked from rDrama/rDrama
1
0
Fork 0

fix up email templates

master
Aevann 2023-10-17 16:50:17 +03:00
parent c43a91ac63
commit 62f3bb44dc
4 changed files with 181 additions and 149 deletions

View File

@ -19,7 +19,7 @@
-webkit-text-size-adjust: none; -webkit-text-size-adjust: none;
} }
a { a {
color: #FF459A!important; color: #FF459A !important;
} }
a img { a img {
border: none; border: none;
@ -30,7 +30,6 @@
.preheader { .preheader {
display: none !important; display: none !important;
visibility: hidden; visibility: hidden;
mso-hide: all;
font-size: 1px; font-size: 1px;
line-height: 1px; line-height: 1px;
max-height: 0; max-height: 0;
@ -385,14 +384,12 @@
<td class="content-cell"> <td class="content-cell">
<div class="f-fallback"> <div class="f-fallback">
<h1>{% block title %}Title Goes Here{% endblock %}</h1> <h1>{% block title %}Title Goes Here{% endblock %}</h1>
{% block content %}
{% block content %}
{% for entry in data %} {% for entry in data %}
<h3>{{entry[0]}}</h3> <h3>{{entry[0]}}</h3>
<p>{{entry[1]}}</p> <p>{{entry[1]}}</p>
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -6,24 +6,32 @@
{% block content %} {% block content %}
<p>You told us you wanted to change your {{SITE_NAME}} account email. To finish this process, please verify your new email address:</p> <p>You told us you wanted to change your {{SITE_NAME}} account email. To finish this process, please verify your new email address:</p>
<div class="overflow-x-auto"><table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0"> <div class="overflow-x-auto">
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr> <tr>
<td align="center"> <td align="center">
<div class="overflow-x-auto><table width="100%" border="0" cellspacing="0" cellpadding="0"> <div class="overflow-x-auto">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td align="center"> <td align="center">
<a href="{{action_url}}" class="f-fallback button" target="_blank">Verify email</a> <a href="{{action_url}}" class="f-fallback button" target="_blank">Verify email</a>
</td> </td>
</tr> </tr>
</table> </table>
</div>
</td> </td>
</tr> </tr>
</table> </table>
</div>
<p>For reference, here's your current information:</p> <p>For reference, here's your current information:</p>
<div class="overflow-x-auto"><table class="attributes" width="100%" cellpadding="0" cellspacing="0">
<div class="overflow-x-auto">
<table class="attributes" width="100%" cellpadding="0" cellspacing="0">
<tr> <tr>
<td class="attributes_content"> <td class="attributes_content">
<div class="overflow-x-auto><table width="100%" cellpadding="0" cellspacing="0"> <div class="overflow-x-auto">
<table width="100%" cellpadding="0" cellspacing="0">
<tr> <tr>
<td class="attributes_item"> <td class="attributes_item">
<span class="f-fallback"> <span class="f-fallback">
@ -39,11 +47,16 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
</td> </td>
</tr> </tr>
</table> </table>
</div>
<p>Please note that {{SITE_NAME}} will never ask you for your email, password, or two-factor token via email, text, or phone.</p> <p>Please note that {{SITE_NAME}} will never ask you for your email, password, or two-factor token via email, text, or phone.</p>
<div class="overflow-x-auto"><table class="body-sub">
<div class="overflow-x-auto">
<table class="body-sub">
<tr> <tr>
<td> <td>
<p class="f-fallback sub">If you're having trouble with the button above, copy and paste the URL below into your web browser.</p> <p class="f-fallback sub">If you're having trouble with the button above, copy and paste the URL below into your web browser.</p>
@ -51,4 +64,5 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
{% endblock %} {% endblock %}

View File

@ -4,16 +4,19 @@
{% block content %} {% block content %}
<p>Thanks for joining {{SITE_NAME}}. We're happy to have you on board. To get the most out of {{SITE_NAME}}, please verify your account email:</p> <p>Thanks for joining {{SITE_NAME}}. We're happy to have you on board. To get the most out of {{SITE_NAME}}, please verify your account email:</p>
<div class="overflow-x-auto"><table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0"> <div class="overflow-x-auto">
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr> <tr>
<td align="center"> <td align="center">
<div class="overflow-x-auto><table width="100%" border="0" cellspacing="0" cellpadding="0"> <div class="overflow-x-auto">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td align="center"> <td align="center">
<a href="{{action_url}}" class="f-fallback button" target="_blank">Verify email</a> <a href="{{action_url}}" class="f-fallback button" target="_blank">Verify email</a>
</td> </td>
</tr> </tr>
</table> </table>
</div>
</td> </td>
</tr> </tr>
</table> </table>
@ -40,8 +43,12 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
<p>Please note that {{SITE_NAME}} will never ask you for your email, password, or two-factor token via email, text, or phone.</p> <p>Please note that {{SITE_NAME}} will never ask you for your email, password, or two-factor token via email, text, or phone.</p>
<div class="overflow-x-auto"><table class="body-sub">
<div class="overflow-x-auto">
<table class="body-sub">
<tr> <tr>
<td> <td>
<p class="f-fallback sub">If you're having trouble with the button above, copy and paste the URL below into your web browser.</p> <p class="f-fallback sub">If you're having trouble with the button above, copy and paste the URL below into your web browser.</p>
@ -49,4 +56,5 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
{% endblock %} {% endblock %}

View File

@ -5,24 +5,32 @@
{% block content %} {% block content %}
<p>To reset your password, click the button below:</p> <p>To reset your password, click the button below:</p>
<div class="overflow-x-auto"><table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0"> <div class="overflow-x-auto">
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr> <tr>
<td align="center"> <td align="center">
<div class="overflow-x-auto><table width="100%" border="0" cellspacing="0" cellpadding="0"> <div class="overflow-x-auto">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td align="center"> <td align="center">
<a href="{{action_url}}" class="f-fallback button" target="_blank">Reset password</a> <a href="{{action_url}}" class="f-fallback button" target="_blank">Reset password</a>
</td> </td>
</tr> </tr>
</table> </table>
</div>
</td> </td>
</tr> </tr>
</table> </table>
</div>
<p>For reference, here's your login information:</p> <p>For reference, here's your login information:</p>
<div class="overflow-x-auto"><table class="attributes" width="100%" cellpadding="0" cellspacing="0">
<div class="overflow-x-auto">
<table class="attributes" width="100%" cellpadding="0" cellspacing="0">
<tr> <tr>
<td class="attributes_content"> <td class="attributes_content">
<div class="overflow-x-auto><table width="100%" cellpadding="0" cellspacing="0"> <div class="overflow-x-auto">
<table width="100%" cellpadding="0" cellspacing="0">
<tr> <tr>
<td class="attributes_item"> <td class="attributes_item">
<span class="f-fallback"> <span class="f-fallback">
@ -38,10 +46,14 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
</td> </td>
</tr> </tr>
</table> </table>
<div class="overflow-x-auto"><table class="body-sub"> </div>
<div class="overflow-x-auto">
<table class="body-sub">
<tr> <tr>
<td> <td>
<p class="f-fallback sub">If you're having trouble with the button above, copy and paste the URL below into your web browser.</p> <p class="f-fallback sub">If you're having trouble with the button above, copy and paste the URL below into your web browser.</p>
@ -49,4 +61,5 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
{% endblock %} {% endblock %}