Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td bgcolor="#f9f9f9" align="center">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" style="max-width: 620px; width: 100% !important;">
|
||||
<tr>
|
||||
<td style="padding: 64px 15px 64px 15px;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td align="left" valign="middle" style="font-size: 13px; line-height: 20px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #979EA1;">
|
||||
<%= Cartodb.get_config(:mailer, 'template', 'footer_text') || 'CARTO · Made in Madrid & New York City since 2012' %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -0,0 +1,21 @@
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td bgcolor="#ffffff">
|
||||
<div align="center" style="padding: 0px 15px 0px 15px; <%= invitation.present? ? "background-image: url('http://carto-email-assets.s3.amazonaws.com/confetti.png'); background-position: center top; background-repeat: no-repeat;" : "" %>">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 620px; width: 100% !important;">
|
||||
<tr>
|
||||
<td style="padding: 20px 0px 65px 0px;" class="logo">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td bgcolor="#ffffff" width="40" align="left"><img alt="Logo" src="<%= Cartodb.get_config(:mailer, 'template', 'header_logo_url') || 'http://carto-email-assets.s3.amazonaws.com/carto-logo.png' %>" width="82" style="display: block;" border="0"></td>
|
||||
<td bgcolor="#ffffff" width="560" align="right">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -0,0 +1,7 @@
|
||||
<tr>
|
||||
<td align="left" style="font-size: 16px; line-height: 25px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #647083; padding-top: 80px;">
|
||||
<p>
|
||||
<a href="<%= link %>" target="_blank" style="color: #1785FB"><%= link_text %></a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,5 @@
|
||||
<tr>
|
||||
<td align="left" style="padding-bottom: 32px;">
|
||||
<p style="margin: 0; padding: 0; font-weight: bold; text-transform: uppercase; font-size: 22px; font-family: 'Montserrat', Helvetica, Arial, sans-serif; color: #2E3C43;"><%= subject %></p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,26 @@
|
||||
<tr>
|
||||
<td align="left">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: separate !important;">
|
||||
<tr>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/top-left-red-corner.png"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px; background-color: #F15743;"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/top-right-red-corner.png"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="20px" style="background-color: #F15743;"></td>
|
||||
<td style="background-color: #F15743; font-size: 16px; line-height: 25px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #FFFFFF;">
|
||||
<img alt="Like" src="http://carto-email-assets.s3.amazonaws.com/exclamation.png" width="44" height="44" style="display: block; padding-bottom: 36px;" border="0">
|
||||
<%= message.html_safe %>
|
||||
</td>
|
||||
<td width="20px" style="background-color: #F15743;"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/bottom-left-red-corner.png"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px; background-color: #F15743;"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/bottom-right-red-corner.png"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,25 @@
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: separate !important; margin-bottom: 8px;">
|
||||
<tr>
|
||||
<td style="line-height: 0px; font-size: 0; height: 16px;"><img src="http://carto-email-assets.s3.amazonaws.com/top-left-grey-corner.png"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 16px; background-color: #F9F9F9;"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 16px;"><img src="http://carto-email-assets.s3.amazonaws.com/top-right-grey-corner.png"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="16px" style="background-color: #F9F9F9;"></td>
|
||||
<td style="background-color: #F9F9F9; font-size: 16px; line-height: 25px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #647083;">
|
||||
<%= message.html_safe %>
|
||||
</td>
|
||||
<td width="16px" style="background-color: #F9F9F9;"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="line-height: 0px; font-size: 0; height: 16px;"><img src="http://carto-email-assets.s3.amazonaws.com/bottom-left-grey-corner.png"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 16px; background-color: #F9F9F9;"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 16px;"><img src="http://carto-email-assets.s3.amazonaws.com/bottom-right-grey-corner.png"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,26 @@
|
||||
<tr>
|
||||
<td align="left">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: separate !important;">
|
||||
<tr>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/top-left-green-corner.png"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px; background-color: #73C86B;"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/top-right-green-corner.png"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="20px" style="background-color: #73C86B;"></td>
|
||||
<td style="background-color: #73C86B; font-size: 16px; line-height: 25px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #FFFFFF;">
|
||||
<img alt="Like" src="http://carto-email-assets.s3.amazonaws.com/check.png" width="44" height="44" style="display: block; padding-bottom: 36px;" border="0">
|
||||
<%= message.html_safe %>
|
||||
</td>
|
||||
<td width="20px" style="background-color: #73C86B;"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/bottom-left-green-corner.png"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px; background-color: #73C86B;"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/bottom-right-green-corner.png"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,4 @@
|
||||
<tr>
|
||||
<td align="left" style="background:url('<%= preview_image %>'); width: 100% !important; height: 200px;">
|
||||
</td>
|
||||
</tr>
|
||||
@@ -0,0 +1,26 @@
|
||||
<tr>
|
||||
<td align="left">
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: separate !important;">
|
||||
<tr>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/top-left-orange-corner.png"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px; background-color: #FB7B23;"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/top-right-orange-corner.png"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="20px" style="background-color: #FB7B23;"></td>
|
||||
<td style="background-color: #FB7B23; font-size: 16px; line-height: 25px; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #FFFFFF;">
|
||||
<img alt="Like" src="http://carto-email-assets.s3.amazonaws.com/exclamation.png" width="44" height="44" style="display: block; padding-bottom: 36px;" border="0">
|
||||
<%= message.html_safe %>
|
||||
</td>
|
||||
<td width="20px" style="background-color: #FB7B23;"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/bottom-left-orange-corner.png"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px; background-color: #FB7B23;"></td>
|
||||
<td style="line-height: 0px; font-size: 0; height: 20px;"><img src="http://carto-email-assets.s3.amazonaws.com/bottom-right-orange-corner.png"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
Reference in New Issue
Block a user