Rails Email Config

This commit is contained in:
Manny.Muriel
2016-08-11 14:30:57 -07:00
committed by Mark Moser
parent 225f402c0f
commit b16b1929b4
8 changed files with 68 additions and 31 deletions

View File

@ -0,0 +1,9 @@
@import "foundation-emails";
.pd-logo {
font-size: 28px;
}
.email-container {
width: 100% !important;
max-width:600px;
}

View File

@ -1,16 +1,12 @@
<table cellspacing="0" cellpadding="0" border="0" style="width:100%; font-family:sans-serif;">
<tr>
<container class="email-container"><row>
<columns>
<div class="pd-logo">PERFICIENT<span style="color: #EF0734;">/digital</span> Skills Assessment Test</div>
</columns>
</row>
<td>
<div style="font-size: 28px;">PERFICIENT<span style="color: #EF0734;">/digital</span> Skills Assessment Test</div>
<br><br><br>
</td>
</tr>
<tr>
<td style="padding:50px;">
<p>Dear <strong><%= @candidate.name %></strong>,</p>
<row>
<columns>
<p>Dear <strong><%= @candidate.name %></strong>,</p>
<p>
Thank you for taking the Skills Assessment Test. However, it looks like you have not submitted it
yet. If you are having trouble, please reach out to your recruiter:
@ -19,18 +15,9 @@
<p>
You can return to the test here:
<%= link_to nil, root_url %>.
<br>
<br />
Your Test ID is: <strong><%= @candidate.test_hash %></strong>
</p>
</td>
</tr>
<tr>
<td>
<br><br><br>
<br><br><br>
<div style="background-color: #FFF200; height: 20px; width: 100%;">&nbsp;</div>
</td>
</tr>
</table>
</columns>
</row></container>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

View File

@ -1,13 +1,21 @@
<!DOCTYPE html>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
<% # Email styles need to be inline %>
</style>
<meta name="viewport" content="width=device-width" />
<%= stylesheet_link_tag "foundation_emails" %>
</head>
<body>
<%= yield %>
<table class="body" data-made-with-foundation>
<tr>
<td class="center" align="center" valign="top">
<center>
<%= yield %>
</center>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
<% # Email styles need to be inline %>
</style>
</head>
<body>
<%= yield %>
</body>
</html>