forked from rapidpro/rapidpro
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathemail_base.html
84 lines (83 loc) · 3.11 KB
/
email_base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{% load temba %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta property="og:title" content="{{ subject }}" />
<title>{{ subject }}</title>
</head>
<body leftmargin="0"
marginwidth="0"
topmargin="0"
marginheight="0"
offset="0"
style="margin: 0;
-webkit-text-size-adjust: none;
background-color: #FFFFFF;
padding: 0;
width: 100% !important"
bgcolor="#FFFFFF">
<table width="100%">
<tr style="background-color: {{ branding.colors.primary }}" bgcolor="{{ branding.colors.primary }}">
<td valign="top"
align="left"
style="border-collapse: collapse;
padding-top: 10px;
padding-left: 20px;
color: #fff;
font-size: 34px"
width="600">{{ branding.name }}</td>
</tr>
<tr>
<td align="center" valign="top" style="border-collapse: collapse;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateBody">
<tr>
<td valign="top"
class="bodyContent"
style="border-collapse: collapse;
background-color: #FFFFFF"
bgcolor="#FFFFFF">
<table border="0" cellpadding="20" cellspacing="0" width="100%">
<tr>
<td valign="top" style="border-collapse: collapse;">
<div style="color: #505050;
font-family: Arial;
font-size: 14px;
line-height: 150%;
text-align: left"
align="left">
<h1 class="h1"
style="margin: 0 0 10px;
font-weight: 200;
font-size: 20px;
line-height: 100%;
font-family: Arial;
color: #202020;
display: block;
text-align: left"
align="left">{{ subject }}</h1>
{% block body %}{% endblock %}
<br />
<br />
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top" style="border-collapse: collapse;">
{% block alert-settings %}
{% endblock alert-settings %}
<div style="color: #FFFFFF">
This email was generated at
{% format_datetime now %}
</div>
</td>
</tr>
</table>
</body>
</html>