-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgcode-email-appointment.html
More file actions
198 lines (198 loc) · 7.23 KB
/
gcode-email-appointment.html
File metadata and controls
198 lines (198 loc) · 7.23 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
'<!DOCTYPE html>'+
'<html>'+
'<head>'+
'<title></title>'+
'<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'+
'<meta name="viewport" content="width=device-width, initial-scale=1">'+
'<meta http-equiv="X-UA-Compatible" content="IE=edge" />'+
'<style type="text/css">'+
'@media screen {'+
'@font-face {'+
'font-family: \'Lato\';'+
'font-style: normal;'+
'font-weight: 400;'+
'src: local(\'Lato Regular\'), local(\'Lato-Regular\'), url(https://fonts.gstatic.com/s/lato/v11/qIIYRU-oROkIk8vfvxw6QvesZW2xOQ-xsNqO47m55DA.woff) format(\'woff\');'+
'}'+
'@font-face {'+
'font-family: \'Lato\';'+
'font-style: normal;'+
'font-weight: 700;'+
'src: local(\'Lato Bold\'), local(\'Lato-Bold\'), url(https://fonts.gstatic.com/s/lato/v11/qdgUG4U09HnJwhYI-uK18wLUuEpTyoUstqEm5AMlJo4.woff) format(\'woff\');'+
'}'+
'@font-face {'+
'font-family: \'Lato\';'+
'font-style: italic;'+
'font-weight: 400;'+
'src: local(\'Lato Italic\'), local(\'Lato-Italic\'), url(https://fonts.gstatic.com/s/lato/v11/RYyZNoeFgb0l7W3Vu1aSWOvvDin1pK8aKteLpeZ5c0A.woff) format(\'woff\');'+
'}'+
'@font-face {'+
'font-family: \'Lato\';'+
'font-style: italic;'+
'font-weight: 700;'+
'src: local(\'Lato Bold Italic\'), local(\'Lato-BoldItalic\'), url(https://fonts.gstatic.com/s/lato/v11/HkF_qI1x_noxlxhrhMQYELO3LdcAZYWl9Si6vvxL-qU.woff) format(\'woff\');'+
'}'+
'}'+
'/* CLIENT-SPECIFIC STYLES */'+
'body,'+
'table,'+
'td,'+
'a {'+
'-webkit-text-size-adjust: 100%;'+
'-ms-text-size-adjust: 100%;'+
'}'+
'table,'+
'td {'+
'mso-table-lspace: 0pt;'+
'mso-table-rspace: 0pt;'+
'}'+
'img {'+
'-ms-interpolation-mode: bicubic;'+
'}'+
'/* RESET STYLES */'+
'img {'+
'border: 0;'+
'height: auto;'+
'line-height: 100%;'+
'outline: none;'+
'text-decoration: none;'+
'}'+
'table {'+
'border-collapse: collapse !important;'+
'}'+
'body {'+
'height: 100% !important;'+
'margin: 0 !important;'+
'padding: 0 !important;'+
'width: 100% !important;'+
'}'+
'/* iOS BLUE LINKS */'+
'a[x-apple-data-detectors] {'+
'color: inherit !important;'+
'text-decoration: none !important;'+
'font-size: inherit !important;'+
'font-family: inherit !important;'+
'font-weight: inherit !important;'+
'line-height: inherit !important;'+
'}'+
'/* MOBILE STYLES */'+
'@media screen and (max-width:600px) {'+
'h1 {'+
'font-size: 24px !important;'+
'line-height: 24px !important;'+
'}'+
'}'+
'/* ANDROID CENTER FIX */'+
'div[style*="margin: 16px 0;"] {'+
'margin: 0 !important;'+
'}'+
'</style>'+
'</head>'+
'<body style="background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;">'+
'<table border="0" cellpadding="0" cellspacing="0" width="100%">'+
'<tr>'+
'<td bgcolor="#FFA73B" align="center">'+
'<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">'+
'<tr>'+
'<td align="center" valign="top" style="padding: 10px 10px 10px 10px;"> </td>'+
'</tr>'+
'</table>'+
'</td>'+
'</tr>'+
'<tr>'+
'<td bgcolor="#FFA73B" align="center" style="padding: 0px 10px 0px 10px;">'+
'<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">'+
'<tr>'+
'<td bgcolor="#ffffff" align="center" valign="top" style="padding: 20px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111; font-family: \'Lato\', Helvetica, Arial, sans-serif; font-size: 32px; font-weight: 400; letter-spacing: 2px; line-height: 48px;">'+
'<img src="https://cdn4.iconfinder.com/data/icons/small-n-flat/24/calendar-512.png" width="100" height="100" style="display: block; border: 0px;" />'+
'<h1 style="font-size: 32px; font-weight: 600; margin: 2;">'+
request.header +
'</h1>'+
'</td>'+
'</tr>'+
'</table>'+
'</td>'+
'</tr>'+
'<tr>'+
'<td bgcolor="#f4f4f4" align="center" style="padding: 0px 10px 0px 10px;">'+
'<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">'+
'<tr>'+
'<td bgcolor="#ffffff" align="center" style="padding: 0px 30px 20px 30px; color: #666666; font-family: \'Lato\', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;">'+
'<p style="margin: 0;">'+
request.message +
'</p>'+
'</td>'+
'</tr>'+
'<tr>'+
'<td bgcolor="#ffffff" align="left">'+
'<table width="100%" border="0" cellspacing="0" cellpadding="0">'+
'<tr>'+
'<td bgcolor="#ffffff" align="center" style="padding: 10px 30px 10px 30px;">'+
'<table border="0" cellspacing="0" cellpadding="0">'+
'<tr>'+
'<td align="center" style="border-radius: 3px;" bgcolor="#FFA73B"><a href="'+
request.buttonLink +
'" target="_blank" style="font-size: 20px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #FFA73B; display: inline-block;">'+
request.buttonText +
'</a></td>'+
'</tr>'+
'</table>'+
'</td>'+
'</tr>'+
'</table>'+
'</td>'+
'</tr> <!-- COPY -->'+
'<tr>'+
'<td bgcolor="#ffffff" align="center" style="padding: 20px 30px 0px 30px; color: #666666; font-family: \'Lato\', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;">'+
'<p style="margin: 0;">Appointment Details</p>'+
'</td>'+
'</tr> <!-- COPY -->'+
'<tr>'+
'<td bgcolor="#ffffff" align="left" style="padding: 20px 30px 20px 30px; color: #666666; font-family: \'Lato\', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;">'+
'<p style="margin: 0;">Name : '+
request.name +
'<br>'+
'Date: '+
request.dateString +
'<br>'+
'Time: '+
request.timeString.slice(0, request.timeString.length - 3) +
'<br>'+
'Reason: '+
request.reason +
'</a></p>'+
'</td>'+
'</tr>'+
'<tr>'+
'<td bgcolor="#ffffff" align="left" style="padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666; font-family: \'Lato\', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;">'+
'<p style="margin: 0;">Cheers,<br>Harbinder Singh</p>'+
'</td>'+
'</tr>'+
'</table>'+
'</td>'+
'</tr>'+
'<tr>'+
'<td bgcolor="#f4f4f4" align="center" style="padding: 30px 10px 0px 10px;">'+
'<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">'+
'<tr>'+
'<td bgcolor="#FFECD1" align="center" style="padding: 10px 30px 10px 30px; border-radius: 4px 4px 4px 4px; color: #666666; font-family: \'Lato\', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 25px;">'+
'<h2 style="font-size: 18px; font-weight: 400; color: #111111; margin: 10px;">For more details</h2>'+
'<p style="margin: 0;"><a href="https://harbinder.me" target="_blank" style="color: #de8921;">Visit my website</a></p>'+
'</td>'+
'</tr>'+
'</table>'+
'</td>'+
'</tr>'+
'<tr>'+
'<td bgcolor="#f4f4f4" align="center" style="padding: 0px 10px 0px 10px;">'+
'<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">'+
'<tr>'+
'<td bgcolor="#f4f4f4" align="center" style="padding: 0px 30px 30px 30px; color: #666666; font-family: \'Lato\', Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 18px;"> <br>'+
'<p style="margin: 0;">Copyright <a href="https://harbinder.me" target="_blank" style="color: #111111; font-weight: 700;">Harbinder Singh</a>.</p>'+
'</td>'+
'</tr>'+
'</table>'+
'</td>'+
'</tr>'+
'</table>'+
'</body>'+
'</html>'