Refactored reminder layout stuff into layout view

This commit is contained in:
Derek Montgomery 2016-08-18 16:35:37 -05:00 committed by Mark Moser
parent 23bf29d948
commit 4743cd48f9
2 changed files with 56 additions and 61 deletions

View File

@ -1,12 +1,4 @@
<row>
<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"> <columns class="email-body">
<p>Dear <strong><%= @candidate.name %></strong>,</p> <p>Dear <strong><%= @candidate.name %></strong>,</p>
<p> <p>
@ -21,38 +13,4 @@
Your Test ID is: <strong><%= @candidate.test_hash %></strong> Your Test ID is: <strong><%= @candidate.test_hash %></strong>
</p> </p>
</columns> </columns>
</row> </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

@ -3,16 +3,53 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<%= stylesheet_link_tag "mailers/foundation_vendor_manifest" %> <%= stylesheet_link_tag "mailers/foundation_vendor_manifest" %>
</head> </head>
<body> <body>
<table class="body" data-made-with-foundation> <table class="body" data-made-with-foundation="">
<tr> <tr>
<td class="center" align="center" valign="top"> <td class="center" align="center" valign="top">
<center> <center>
<container class="email-container">
<row>
<columns class="email-heading">
<span class="prft-slash">/</span> <span class="email-title">Skills Assessment Test</span>
</columns>
</row>
<%= yield %> <%= yield %>
<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>
</center> </center>
</td> </td>
</tr> </tr>