Alan Lam 8 лет назад
Родитель
Сommit
4545135e15
5 измененных файлов с 0 добавлено и 426 удалено
  1. 0 86
      emails/contact.html
  2. 0 77
      emails/password_reset.html
  3. 0 72
      emails/registration.html
  4. 0 119
      emails/test_assign.html
  5. 0 72
      emails/welcome.html

+ 0 - 86
emails/contact.html

@@ -1,86 +0,0 @@
-<!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" />
-		<title>Check Policy</title>
-		<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-	</head>
-	<body>
-		<table align="center" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
-			<tr>
-				<td>
-					<table border="0" cellpadding="0" cellspacing="0" width="600" style="border: 1px solid #cccccc;">
-						<tr>
-							<td align="center" style="padding: 40px 0 40px 0; border-bottom: 1px solid #cccccc;">
-								<a href="">
-									<img src="../public/img/logo.png" width="386" height="80" style="display: block;" alt="Check Policy logo" />
-								</a>
-							</td>
-						</tr>
-						<tr>
-							<td style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Hi,</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif; font-size: 24px;">
-											<b>A new message was sent from the website!</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Name:</b><br />
-											{name}
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Email Address:</b><br />
-											{email}
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Contact Number:</b><br />
-											{phone}
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Message:</b><br />
-											{message}
-										</td>
-									</tr>
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											Check Policy Team
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-						<tr>
-							<td bgcolor="#4CAF50" style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											<b><font color="#ffffff">&copy; Check Policy 2018</font></b>
-										</td>
-										<td align="right" style="font-family: Arial, sans-serif;">
-											<a href="https://www.facebook.com/checkpolicy" style="color: #ffffff;">
-												<font color="#ffffff">Facebook</font>
-											</a>
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-					</table>
-				</td>
-			</tr>
-		</table>
-	</body>
-</html>

+ 0 - 77
emails/password_reset.html

@@ -1,77 +0,0 @@
-<!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" />
-		<title>Check Policy</title>
-		<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-	</head>
-	<body>
-		<table align="center" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
-			<tr>
-				<td>
-					<table border="0" cellpadding="0" cellspacing="0" width="600" style="border: 1px solid #cccccc;">
-						<tr>
-							<td align="center" style="padding: 40px 0 40px 0; border-bottom: 1px solid #cccccc;">
-								<a href="">
-									<img src="../public/img/logo.png" width="386" height="80" style="display: block;" alt="Check Policy logo" />
-								</a>
-							</td>
-						</tr>
-						<tr>
-							<td style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Hi {name},</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif; font-size: 24px;">
-											<b>A reset password request has been received.</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											To reset your password, please tap on the following link:
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<a href="{link}">{link}</a>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											If you <strong>did not</strong> request for your password to be reset, please ignore this email.
-										</td>
-									</tr>
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											Check Policy Team
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-						<tr>
-							<td bgcolor="#4CAF50" style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											<b><font color="#ffffff">&copy; Check Policy 2018</font></b>
-										</td>
-										<td align="right" style="font-family: Arial, sans-serif;">
-											<a href="https://www.facebook.com/checkpolicy" style="color: #ffffff;">
-												<font color="#ffffff">Facebook</font>
-											</a>
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-					</table>
-				</td>
-			</tr>
-		</table>
-	</body>
-</html>

+ 0 - 72
emails/registration.html

@@ -1,72 +0,0 @@
-<!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" />
-		<title>Check Policy</title>
-		<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-	</head>
-	<body>
-		<table align="center" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
-			<tr>
-				<td>
-					<table border="0" cellpadding="0" cellspacing="0" width="600" style="border: 1px solid #cccccc;">
-						<tr>
-							<td align="center" style="padding: 40px 0 40px 0; border-bottom: 1px solid #cccccc;">
-								<a href="">
-									<img src="../public/img/logo.png" width="386" height="80" style="display: block;" alt="Check Policy logo" />
-								</a>
-							</td>
-						</tr>
-						<tr>
-							<td style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Hi {name},</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif; font-size: 24px;">
-											<b>Thanks for registering!</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											Welcome to Check Policy! Before you can log in, you will need to verify your email address. You can do so by tapping the following link:
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<a href="{link}">{link}</a>
-										</td>
-									</tr>
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											Check Policy Team
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-						<tr>
-							<td bgcolor="#4CAF50" style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											<b><font color="#ffffff">&copy; Check Policy 2018</font></b>
-										</td>
-										<td align="right" style="font-family: Arial, sans-serif;">
-											<a href="https://www.facebook.com/checkpolicy" style="color: #ffffff;">
-												<font color="#ffffff">Facebook</font>
-											</a>
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-					</table>
-				</td>
-			</tr>
-		</table>
-	</body>
-</html>

+ 0 - 119
emails/test_assign.html

@@ -1,119 +0,0 @@
-<!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" />
-		<title>Check Policy</title>
-		<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-	</head>
-	<body>
-		<table align="center" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
-			<tr>
-				<td>
-					<table border="0" cellpadding="0" cellspacing="0" width="600" style="border: 1px solid #cccccc;">
-						<tr>
-							<td align="center" style="padding: 40px 0 40px 0; border-bottom: 1px solid #cccccc;">
-								<a href="">
-									<img src="../public/img/logo.png" width="386" height="80" style="display: block;" alt="Check Policy logo" />
-								</a>
-							</td>
-						</tr>
-						<tr>
-							<td style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Hi {name},</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif; font-size: 24px;">
-											<b>Congrats, you have been allocated a test!</b>
-										</td>
-									</tr>
-									{tester-message}
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											We need you to confirm if you are able to do the test. Please check the details below and then confirm by pressing the <b>Accept</b> or <b>Decline</b> buttons and once you tap <b>Accept</b>, the test will be allocated to you.
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;" align="center">
-
-											<table cellpadding="0" cellspacing="0" width="100%">
-												<tr>
-													<td width="260" valign="top" align="center">
-														<a href="{test-url}/accept" style="display: block; background: #4CAF50; padding: 10px; color: white; text-decoration: none;">
-															Accept
-														</a>
-													</td>
-													<td width="20" style="font-size: 0; line-height: 0;">
-													</td>
-													<td width="260" valign="top" align="center">
-														<a href="{test-url}/decline" style="display: block; background: #F44336; padding: 10px; color: white; text-decoration: none;">
-															Decline
-														</a>
-													</td>
-											</table>
-
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											The site address is: <b>{address}</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											The date that need to complete and submit the results by is: <font color="red"><b>{date-due}</b></font>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											For methodology and further notes please check the <b>Useful Documents</b> section on the <b>Account</b> page.
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											If you agree to conduct the test, log in and then go to <b>Tests</b> where you will be able to see the tests available to you. Please tap the <b>Begin</b> button and follow the instructions that is shown.
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											If you have any questions please send them to <a href="mailto:tests@check-policy.com">tests@check-policy.com</a> or call <b>{admin-first-name}</b> on <b>{admin-phone}</b>.
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											If you are unable to submit the results via the web-based app please contact us and we can send you an offline form to complete. Please accept the test by tapping the <b>Accept</b> button and email us back saying you would like an offline form.
-										</td>
-									</tr>
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											Check Policy Team
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-						<tr>
-							<td bgcolor="#4CAF50" style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											<b><font color="#ffffff">&copy; Check Policy 2018</font></b>
-										</td>
-										<td align="right" style="font-family: Arial, sans-serif;">
-											<a href="https://www.facebook.com/checkpolicy" style="color: #ffffff;">
-												<font color="#ffffff">Facebook</font>
-											</a>
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-					</table>
-				</td>
-			</tr>
-		</table>
-	</body>
-</html>

+ 0 - 72
emails/welcome.html

@@ -1,72 +0,0 @@
-<!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" />
-		<title>Check Policy</title>
-		<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-	</head>
-	<body>
-		<table align="center" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
-			<tr>
-				<td>
-					<table border="0" cellpadding="0" cellspacing="0" width="600" style="border: 1px solid #cccccc;">
-						<tr>
-							<td align="center" style="padding: 40px 0 40px 0; border-bottom: 1px solid #cccccc;">
-								<a href="">
-									<img src="../public/img/logo.png" width="386" height="80" style="display: block;" alt="Check Policy logo" />
-								</a>
-							</td>
-						</tr>
-						<tr>
-							<td style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<b>Hi {name},</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif; font-size: 24px;">
-											<b>Thanks for verifying your email address!</b>
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											Welcome to Check Policy! Before you can take part in tests, you will need to provide us with some ID. You can do so by tapping the following link:
-										</td>
-									</tr>
-									<tr>
-										<td style="padding: 0 0 20px 0; font-family: Arial, sans-serif;">
-											<a href="{link}">{link}</a>
-										</td>
-									</tr>
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											Check Policy Team
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-						<tr>
-							<td bgcolor="#4CAF50" style="padding: 40px 30px 40px 30px;">
-								<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
-									<tr>
-										<td style="font-family: Arial, sans-serif;">
-											<b><font color="#ffffff">&copy; Check Policy 2018</font></b>
-										</td>
-										<td align="right" style="font-family: Arial, sans-serif;">
-											<a href="https://www.facebook.com/checkpolicy" style="color: #ffffff;">
-												<font color="#ffffff">Facebook</font>
-											</a>
-										</td>
-									</tr>
-								</table>
-							</td>
-						</tr>
-					</table>
-				</td>
-			</tr>
-		</table>
-	</body>
-</html>