mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 08:58:30 +01:00
28 lines
1.4 KiB
HTML
28 lines
1.4 KiB
HTML
{% macro render_text(text) %}
|
|
<tr>
|
|
<td align="left" valign="top" style="border-collapse: collapse; border-spacing: 0; margin: 0; padding: 0; padding-left: 6.25%; padding-right: 6.25%; width: 87.5%; font-size: 17px; font-weight: 400; line-height: 160%;
|
|
padding-top: 25px;
|
|
color: #000000;
|
|
font-family: sans-serif;" class="paragraph">
|
|
{{text}}
|
|
</td>
|
|
</tr>
|
|
{% endmacro %}
|
|
|
|
{% macro render_button(button_text, link) %}
|
|
<tr>
|
|
<td align="center" valign="top" style="border-collapse: collapse; border-spacing: 0; margin: 0; padding: 0; padding-left: 1.25%; padding-right: 1.25%; width: 100%;
|
|
padding-top: 25px;
|
|
padding-bottom: 5px;" class="button"><a
|
|
href="{{ link }}" target="_blank" style="text-decoration: underline;">
|
|
<table border="0" cellpadding="0" cellspacing="0" align="center" style="max-width: 540px; min-width: 120px; border-collapse: collapse; border-spacing: 0; padding: 0;"><tr><td align="center" valign="middle" style="padding: 12px 24px; margin: 0; text-decoration: underline; border-collapse: collapse; border-spacing: 0; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px;"
|
|
bgcolor="#E9703E"><a target="_blank" style="text-decoration: underline;
|
|
color: #FFFFFF; font-family: sans-serif; font-size: 17px; font-weight: 400; line-height: 120%;"
|
|
href="{{ link }}">
|
|
{{ button_text }}
|
|
</a>
|
|
</td></tr></table></a>
|
|
</td>
|
|
</tr>
|
|
{% endmacro %}
|
|
|