dojo-templater
Version:
Easy HTML emails with variables
139 lines (117 loc) • 4.2 kB
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- If you delete this tag, the sky will fall on your head -->
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>ClassDojo Email Template</title>
<link rel="stylesheet" type="text/css" href="./stylesheets/email.css" />
<!-- we'll process and inline styles before sending -->
<style>
</style>
</head>
<body bgcolor="#faf9f9">
<!-- HEADER -->
<table class="head-wrap">
<tr>
<td class="header container">
<div class="content">
<table>
<tr>
<td align="center"><img src="http://pstatic.classdojo.com/img/emails/trigger-email-logo.png" width="300" alt="ClassDojo"></img></td>
</tr>
</table>
</div>
</td>
</tr>
</table><!-- /HEADER -->
<!-- BODY -->
<table class="body-wrap">
<tr>
<td></td>
<td class="container" bgcolor="#FFFFFF">
<div class="content paper">
<table class="body-wrap clear">
<tr>
<td>
<h1>Add your first class!</h1>
<p class="lead">{{ content }}Welcome to ClassDojo! <a href="http://teach.classdojo.com/#!/launchpad/add">Setting up your first class</a> takes less than a minute!</p>
<p style="text-align: center; font-weight: bold">Here's a quick video to help you out!:</p>
<p><a href="http://www.youtube.com/watch?v=dH5xqKSJBvM" target="_blank"><img src="http://static.classdojo.com/img/email/email-youtube.jpg" alt="Please allow images for this email"></img></a></p>
</td>
</tr>
</table>
<!-- Left buffer, ensures button centering in nice clients -->
<div class="buffer"> </div>
<div class="buffer-container">
<table class="body-wrap" border="0">
<tr>
<!-- Left button cap -->
<td class="btn-left"></td>
<!-- Fluid, stretching center button section -->
<td class="btn-center" width="260px" bgcolor="#FEA302">
<a href="{{ event.invite_link }}" target="_blank" class="call-to-action">Add your class →</a>
</td>
<!-- Right button cap -->
<td class="btn-right"></td>
</tr>
</table>
</div>
<!-- Right buffer, ensures button centering in nice clients -->
<div class="buffer"> </div>
<br class="clear"></br>
</div>
</td>
<td></td>
</tr>
</table><!-- /BODY -->
<!-- FOOTER -->
<table class="footer-wrap">
<tr>
<td class="container" colspan="3">
<!-- content -->
<div class="content">
<table>
<tr>
<td align="center">
<p class="footer">
<a href="http://www.classdojo.com/about" target="_blank">About ClassDojo</a>
<span class="dot"> • </span>
<a href="http://www.classdojo.com/mission" target="_blank">Our Mission</a>
<span class="dot"> • </span>
<a href="http://parentsupport.classdojo.com" target="_blank">Support</a>
<span class="dot"> • </span>
<a href="%unsubscribe_url%">Unsubscribe</a>
</p>
</td>
</tr>
<tr>
<td align="center" class="signout">
<br></br>
Sent with love from ClassDojo HQ at:<br />
322 Sixth Street • Suite 6 • San Francisco, CA 94103
</td>
</tr>
</table>
<div class="buffer" style="width: 145px;"> </div>
<div class="buffer-container">
<table>
<!-- APP ICONS -->
<tr class="clear">
<td>
<a href="http://www.classdojo.com/ios" style=""><img src="http://pstatic.classdojo.com/img/emails/btn-app-store.png" style="margin-right:20px;"></a>
</td>
<td>
<a href="http://www.classdojo.com/android" class=""><img src="http://developer.android.com/images/brand/en_generic_rgb_wo_60.png" style="width: 119px; margin-left:20px"></a>
</td>
</tr>
<!-- end app icons -->
</table>
</div>
<div class="buffer"> </div>
</div><!-- /content -->
</td>
</tr>
</table><!-- /FOOTER -->
</body>
</html>