Applied email template to all emails

This commit is contained in:
Manny.Muriel 2016-08-18 13:37:25 -07:00 committed by Mark Moser
parent dc328d8c5a
commit 23bf29d948
11 changed files with 254 additions and 148 deletions

View File

@ -21,10 +21,13 @@ a {
} }
.email-body * { .email-body * {
font-family: 'Lato', Helvetica Neue, Helvetica, Ariel, sans-serif; font-family: 'Lato', Helvetica Neue, Helvetica, Ariel, sans-serif;
font-weight:300;
font-size: 16px; font-size: 16px;
line-height: 1.5em; line-height: 1.5em;
padding-bottom: 20px; padding-bottom: 20px;
font-weight:300;
strong {
font-weight:500;
}
} }
.email-copyright { .email-copyright {
font-family: 'Lato', Helvetica Neue, Helvetica, Ariel, sans-serif; font-family: 'Lato', Helvetica Neue, Helvetica, Ariel, sans-serif;

View File

@ -1,26 +0,0 @@
<table cellspacing="0" cellpadding="0" border="0" style="width:100%; font-family:sans-serif;">
<tr>
<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>
<p>Thank you for taking the Skills Assessment Test. Your recruiter will be in touch.</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>

View File

@ -0,0 +1,47 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p>Dear <strong><%= @candidate.name %></strong>,</p>
<p>Thank you for taking the Skills Assessment Test. Your recruiter will be in touch.</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>

View File

@ -1,45 +0,0 @@
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%; font-family: sans-serif;">
<tr>
<td>
<div style="font-size: 28px;">PERFICIENT<span style="color: #EF0734;">/digital</span></div>
<br><br><br>
</td>
</tr>
<tr>
<td>
<p>Hello there! You have been invited to take our Skills Assessment Test.</p>
<br><br>
</td>
</tr>
<tr>
<td>
<p style="font-size: 20px; text-align: center; padding: 50px; background-color: #f3f3f3">
Please visit <%= link_to nil, login_url(@candidate.test_hash) %> to begin your test.
</p>
</td>
</tr>
<tr>
<td>
<br><br>
<p>
Or, visit <%= link_to nil, root_url %> and enter your Test ID to begin your test.
Your Test ID is: <strong><%= @candidate.test_hash %></strong>.<br><br>
Once we have evaluated your answers, your recruiter will be in touch. Good luck!
</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>

View File

@ -0,0 +1,54 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p>Hello there! You have been invited to take our Skills Assessment Test.</p>
<p style="font-size: 20px; text-align: center; padding: 50px; background-color: #f3f3f3">
Please visit <%= link_to nil, login_url(@candidate.test_hash) %> to begin your test.
</p>
<p>
Or, visit <%= link_to nil, root_url %> and enter your Test ID to begin your test.
Your Test ID is: <strong><%= @candidate.test_hash %></strong>.
Once we have evaluated your answers, your recruiter will be in touch. Good luck!
</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>

View File

@ -1,32 +0,0 @@
<table cellspacing="0" cellpadding="0" border="0" style="width:100%; font-family:sans-serif;">
<tr>
<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>The following candidate has been invited to take the Skills Assessment Test:</p>
<p>
<strong>Candidate name:</strong> <%= @candidate.name %><br />
<strong>Candidate email:</strong> <%= @candidate.email %><br />
<strong>Candidate ID:</strong> <%= @candidate.test_hash %><br />
<strong>Years of experience:</strong> <%= @candidate.experience %> Years<br />
</p>
<p>You will be notified when the candidate has finished taking the test.</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>

View File

@ -0,0 +1,55 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p>The following candidate has been invited to take the Skills Assessment Test:</p>
<p>
<strong>Candidate name:</strong> <%= @candidate.name %><br />
<strong>Candidate email:</strong> <%= @candidate.email %><br />
<strong>Candidate ID:</strong> <%= @candidate.test_hash %><br />
<strong>Years of experience:</strong> <%= @candidate.experience %> Years<br />
</p>
<p>You will be notified when the candidate has finished taking the test.</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>

View File

@ -1,26 +0,0 @@
<table cellspacing="0" cellpadding="0" border="0" style="width:100%; font-family:sans-serif;">
<tr>
<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><strong><%= @candidate.name %></strong> has completed the Skills Assessment Test.</p>
<p><strong>Martin Ridgway</strong> will let you know if we would like to interview this candidate.</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>

View File

@ -0,0 +1,47 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p><strong><%= @candidate.name %></strong> has completed the Skills Assessment Test.</p>
<p><strong>Martin Ridgway</strong> will let you know if we would like to interview this candidate.</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>

View File

@ -1,18 +0,0 @@
<table cellspacing="0" cellpadding="0" border="0" style="width:100%; font-family:sans-serif;">
<tr>
<td>
<div style="font-size: 28px;">PERFICIENT<span style="color: #EF0734;">/digital</span> Skills Assessment Test Results</div>
<br><br><br>
</td>
</tr>
<tr>
<td style="padding:50px;">
<p>Candidate <strong><%= @candidate.test_hash %></strong> has completed the Skills Assessment Test.</p>
<p>You can view the results here: <%= link_to nil, review_test_url(@candidate.test_hash) %>.</p>
</td>
</tr>
</table>

View File

@ -0,0 +1,47 @@
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<row>
<columns class="email-body">
<p>Candidate <strong><%= @candidate.test_hash %></strong> has completed the Skills Assessment Test.</p>
<p>You can view the results here: <%= link_to nil, review_test_url(@candidate.test_hash) %>.</p>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td class="email-copyright">
&copy;2016 All Rights Reserved - Perficient Digital
</td>
<td class="email-logo">
<%= image_tag("perficientdigital-logo.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
<row>
<columns>
<table>
<tr>
<td style="width:6px;">
<%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %>
</td>
<td style="background-color:#fef035; font-size:1px;">
&nbsp;
</td>
<td style="width:6px;">
<%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %>
</td>
</tr>
</table>
</columns>
</row>
</container>