emails: change email templates to new design

This commit is contained in:
Ben Spoon 2016-08-02 14:57:50 -07:00
parent 195f0bb5d8
commit 39816a57ac
10 changed files with 234 additions and 68 deletions

View file

@ -2,19 +2,44 @@
{% block content %}
<h3>Organization {{ organization }} recovery</h3>
<h3 style="font-weight: 400">Organization recovery: <strong>{{ organization }}</strong></h3>
<hr style="border:none; border-top: 1px solid #D9D9D9; margin: 25px 0">
A user at {{ app_link() }} has attempted to recover organization {{ organization | user_reference }} via this email address.
<br>
<br>
Please login with one of the following user accounts to access this organization:
<ul>
{% for admin_user in admin_usernames %}
<li>{{ admin_user | user_reference }}</li>
{% endfor %}
</ul>
<br>
If you did not make this request, your organization has not been compromised and the user was
not given access. Please disregard this email.
<table>
<tr>
<td style="font-size: 13px;">A user at <a href="{{ app_link() }}">{{ app_link() }}</a> has attempted to recover access to organization <strong>{{ organization }}</strong> via this email address.</td>
</tr>
</table>
<table style="margin-top: 25px;">
<tr>
<td style="font-size: 13px;">Please login with one of the following user accounts to access this organization:</td>
</tr>
</table>
<table>
<tr>
<ul>
{% for admin_user in admin_usernames %}
<li style="font-weight: 500; font-size: 13px; margin-top: 15px;">{{ admin_user | user_reference }}</li>
{% endfor %}
</ul>
</tr>
</table>
<table style="">
<tr>
<td style="background: #40B4E5; padding: 10px; border-radius: 3px; color: #fff; font-size: 20px; font-weight: 500"><a style="text-decoration: none; color: #ffffff;" href="https://quay.io/signin/">Login to Recover</a></td>
</tr>
</table>
<table style="margin: 25px 0 35px">
<tr>
<td style="font-size: 13px;">If you did not make this request, your organization has not been compromised and the user was not given access. You can safely ignore this message.</td>
</tr>
</table>
<span style="font-size: 13px;">Best Wishes,</span><br>
<span style="font-size: 13px;">The Quay Team</span><br>
{% endblock %}