Instantly share code, notes, and snippets.
Created
July 21, 2020 22:30
-
Star
0
(0)
You must be signed in to star a gist -
Fork
0
(0)
You must be signed in to fork a gist
-
Save armiiller/e96bdb6fa5ab67824ce905b26f7c90c8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta name="x-apple-disable-message-reformatting" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title></title> | |
<style type="text/css" rel="stylesheet" media="all"> | |
/* Base ------------------------------ */ | |
@import url("https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap"); | |
body { | |
width: 100% !important; | |
height: 100%; | |
margin: 0; | |
-webkit-text-size-adjust: none; | |
} | |
a { | |
color: #3869D4; | |
} | |
a img { | |
border: none; | |
} | |
td { | |
word-break: break-word; | |
} | |
.preheader { | |
display: none !important; | |
visibility: hidden; | |
mso-hide: all; | |
font-size: 1px; | |
line-height: 1px; | |
max-height: 0; | |
max-width: 0; | |
opacity: 0; | |
overflow: hidden; | |
} | |
/* Type ------------------------------ */ | |
body, | |
td, | |
th { | |
font-family: "Nunito Sans", Helvetica, Arial, sans-serif; | |
} | |
h1 { | |
margin-top: 0; | |
color: #333333; | |
font-size: 22px; | |
font-weight: bold; | |
text-align: left; | |
} | |
h2 { | |
margin-top: 0; | |
color: #333333; | |
font-size: 16px; | |
font-weight: bold; | |
text-align: left; | |
} | |
h3 { | |
margin-top: 0; | |
color: #333333; | |
font-size: 14px; | |
font-weight: bold; | |
text-align: left; | |
} | |
td, | |
th { | |
font-size: 16px; | |
} | |
p, | |
ul, | |
ol, | |
blockquote { | |
margin: .4em 0 1.1875em; | |
font-size: 16px; | |
line-height: 1.625; | |
} | |
p.sub { | |
font-size: 13px; | |
} | |
/* Utilities ------------------------------ */ | |
.align-right { | |
text-align: right; | |
} | |
.align-left { | |
text-align: left; | |
} | |
.align-center { | |
text-align: center; | |
} | |
/* Buttons ------------------------------ */ | |
.button { | |
background-color: #3869D4; | |
border-top: 10px solid #3869D4; | |
border-right: 18px solid #3869D4; | |
border-bottom: 10px solid #3869D4; | |
border-left: 18px solid #3869D4; | |
display: inline-block; | |
color: #FFF; | |
text-decoration: none; | |
border-radius: 3px; | |
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16); | |
-webkit-text-size-adjust: none; | |
box-sizing: border-box; | |
} | |
.button--green { | |
background-color: #22BC66; | |
border-top: 10px solid #22BC66; | |
border-right: 18px solid #22BC66; | |
border-bottom: 10px solid #22BC66; | |
border-left: 18px solid #22BC66; | |
} | |
.button--red { | |
background-color: #FF6136; | |
border-top: 10px solid #FF6136; | |
border-right: 18px solid #FF6136; | |
border-bottom: 10px solid #FF6136; | |
border-left: 18px solid #FF6136; | |
} | |
@media only screen and (max-width: 500px) { | |
.button { | |
width: 100% !important; | |
text-align: center !important; | |
} | |
} | |
/* Attribute list ------------------------------ */ | |
.attributes { | |
margin: 0 0 21px; | |
} | |
.attributes_content { | |
background-color: #F4F4F7; | |
padding: 16px; | |
} | |
.attributes_item { | |
padding: 0; | |
} | |
/* Related Items ------------------------------ */ | |
.related { | |
width: 100%; | |
margin: 0; | |
padding: 25px 0 0 0; | |
-premailer-width: 100%; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
} | |
.related_item { | |
padding: 10px 0; | |
color: #CBCCCF; | |
font-size: 15px; | |
line-height: 18px; | |
} | |
.related_item-title { | |
display: block; | |
margin: .5em 0 0; | |
} | |
.related_item-thumb { | |
display: block; | |
padding-bottom: 10px; | |
} | |
.related_heading { | |
border-top: 1px solid #CBCCCF; | |
text-align: center; | |
padding: 25px 0 10px; | |
} | |
/* Discount Code ------------------------------ */ | |
.discount { | |
width: 100%; | |
margin: 0; | |
padding: 24px; | |
-premailer-width: 100%; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
background-color: #F4F4F7; | |
border: 2px dashed #CBCCCF; | |
} | |
.discount_heading { | |
text-align: center; | |
} | |
.discount_body { | |
text-align: center; | |
font-size: 15px; | |
} | |
/* Social Icons ------------------------------ */ | |
.social { | |
width: auto; | |
} | |
.social td { | |
padding: 0; | |
width: auto; | |
} | |
.social_icon { | |
height: 20px; | |
margin: 0 8px 10px 8px; | |
padding: 0; | |
} | |
/* Data table ------------------------------ */ | |
.purchase { | |
width: 100%; | |
margin: 0; | |
padding: 35px 0; | |
-premailer-width: 100%; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
} | |
.purchase_content { | |
width: 100%; | |
margin: 0; | |
padding: 25px 0 0 0; | |
-premailer-width: 100%; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
} | |
.purchase_item { | |
padding: 10px 0; | |
color: #51545E; | |
font-size: 15px; | |
line-height: 18px; | |
} | |
.purchase_heading { | |
padding-bottom: 8px; | |
border-bottom: 1px solid #EAEAEC; | |
} | |
.purchase_heading p { | |
margin: 0; | |
color: #85878E; | |
font-size: 12px; | |
} | |
.purchase_footer { | |
padding-top: 15px; | |
border-top: 1px solid #EAEAEC; | |
} | |
.purchase_total { | |
margin: 0; | |
text-align: right; | |
font-weight: bold; | |
color: #333333; | |
} | |
.purchase_total--label { | |
padding: 0 15px 0 0; | |
} | |
body { | |
background-color: #F4F4F7; | |
color: #51545E; | |
} | |
p { | |
color: #51545E; | |
} | |
p.sub { | |
color: #6B6E76; | |
} | |
.email-wrapper { | |
width: 100%; | |
margin: 0; | |
padding: 0; | |
-premailer-width: 100%; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
background-color: #F4F4F7; | |
} | |
.email-content { | |
width: 100%; | |
margin: 0; | |
padding: 0; | |
-premailer-width: 100%; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
} | |
/* Masthead ----------------------- */ | |
.email-masthead { | |
padding: 25px 0; | |
text-align: center; | |
} | |
.email-masthead_logo { | |
width: 94px; | |
} | |
.email-masthead_name { | |
font-size: 16px; | |
font-weight: bold; | |
color: #A8AAAF; | |
text-decoration: none; | |
text-shadow: 0 1px 0 white; | |
} | |
/* Body ------------------------------ */ | |
.email-body { | |
width: 100%; | |
margin: 0; | |
padding: 0; | |
-premailer-width: 100%; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
background-color: #FFFFFF; | |
} | |
.email-body_inner { | |
width: 570px; | |
margin: 0 auto; | |
padding: 0; | |
-premailer-width: 570px; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
background-color: #FFFFFF; | |
} | |
.email-footer { | |
width: 570px; | |
margin: 0 auto; | |
padding: 0; | |
-premailer-width: 570px; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
text-align: center; | |
} | |
.email-footer p { | |
color: #6B6E76; | |
} | |
.body-action { | |
width: 100%; | |
margin: 30px auto; | |
padding: 0; | |
-premailer-width: 100%; | |
-premailer-cellpadding: 0; | |
-premailer-cellspacing: 0; | |
text-align: center; | |
} | |
.body-sub { | |
margin-top: 25px; | |
padding-top: 25px; | |
border-top: 1px solid #EAEAEC; | |
} | |
.content-cell { | |
padding: 35px; | |
} | |
/*Media Queries ------------------------------ */ | |
@media only screen and (max-width: 600px) { | |
.email-body_inner, | |
.email-footer { | |
width: 100% !important; | |
} | |
} | |
@media (prefers-color-scheme: dark) { | |
body, | |
.email-body, | |
.email-body_inner, | |
.email-content, | |
.email-wrapper, | |
.email-masthead, | |
.email-footer { | |
background-color: #333333 !important; | |
color: #FFF !important; | |
} | |
p, | |
ul, | |
ol, | |
blockquote, | |
h1, | |
h2, | |
h3 { | |
color: #FFF !important; | |
} | |
.attributes_content, | |
.discount { | |
background-color: #222 !important; | |
} | |
.email-masthead_name { | |
text-shadow: none !important; | |
} | |
} | |
.b { | |
font-weight: bold; | |
} | |
.u { | |
text-decoration: underline; | |
} | |
</style> | |
<!--[if mso]> | |
<style type="text/css"> | |
.f-fallback { | |
font-family: Arial, sans-serif; | |
} | |
</style> | |
<![endif]--> | |
<style type="text/css" rel="stylesheet" media="all"> | |
body { | |
width: 100% !important; | |
height: 100%; | |
margin: 0; | |
-webkit-text-size-adjust: none; | |
} | |
body { | |
font-family: "Nunito Sans", Helvetica, Arial, sans-serif; | |
} | |
body { | |
background-color: #F4F4F7; | |
color: #51545E; | |
} | |
</style> | |
</head> | |
<body style="margin: 0; width: 100% !important; height: 100%; -webkit-text-size-adjust: none; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; background-color: #F4F4F7; color: #51545E;" bgcolor="#F4F4F7"> | |
<table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0; padding: 0; width: 100%; -premailer-width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0; background-color: #F4F4F7;" bgcolor="#F4F4F7"> | |
<tr> | |
<td align="center" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<table class="email-content" width="100%" cellpadding="0" cellspacing="0" role="presentation" style="padding: 0; margin: 0; width: 100%; -premailer-width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0;"> | |
<tr> | |
<td class="email-masthead" style="padding: 25px 0; word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; text-align: center;" align="center"> | |
<a href="https://pagertree.com" class="f-fallback email-masthead_name" style="color: #A8AAAF; font-size: 16px; font-weight: bold; text-decoration: none; text-shadow: 0 1px 0 white;"> | |
<img src="https://pagertree.com/assets/img/logo/pagertree-logo-black.png" alt="PagerTree" width="186" style="border: none;" /> | |
</a> | |
</td> | |
</tr> | |
<!-- Email Body --> | |
<tr> | |
<td class="email-body" width="100%" cellpadding="0" cellspacing="0" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; width: 100%; -premailer-width: 100%; -premailer-cellpadding: 0; margin: 0; -premailer-cellspacing: 0; padding: 0; background-color: #FFFFFF;" bgcolor="#FFFFFF"> | |
<table class="email-body_inner" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0 auto; padding: 0; width: 570px; -premailer-width: 570px; -premailer-cellpadding: 0; -premailer-cellspacing: 0; background-color: #FFFFFF;" bgcolor="#FFFFFF"> | |
<!-- Body content --> | |
<tr> | |
<td class="content-cell" style="padding: 35px; word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<div class="f-fallback"> | |
{{#if ctx.alert.meta.incident}} | |
<h1 style="margin-top: 0; color: #333333; font-size: 22px; font-weight: bold; text-align: left;" align="left">[{{ctx.alert.meta.incident_severity}}] Incident #{{ctx.alert.tinyId}}</h1> | |
<h2 style="margin-top: 0; color: #333333; font-size: 16px; font-weight: bold; text-align: left;" align="left">{{ctx.alert.meta.incident_message}}</h2> {{else}} | |
<h1 style="margin-top: 0; color: #333333; font-size: 22px; font-weight: bold; text-align: left;" align="left">Alert #{{ctx.alert.tinyId}}</h1> {{/if}} | |
<h2 style="margin-top: 0; color: #333333; font-size: 16px; font-weight: bold; text-align: left;" align="left">Key Info</h2> | |
<table width="100%" cellpadding="0" cellspacing="0"> | |
<tr> | |
<td style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<table class="purchase_content" width="100%" cellpadding="0" cellspacing="0" style="padding: 25px 0 0; margin: 0; width: 100%; -premailer-width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0;"> | |
<tr> | |
<td class="purchase_heading" align="left" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">Title</p> | |
</td> | |
<td class="purchase_heading" align="right" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">{{{ctx.alert.title}}}</p> | |
</td> | |
</tr> | |
<tr> | |
<td class="purchase_heading" align="left" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">Status</p> | |
</td> | |
<td class="purchase_heading" align="right" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">{{capitalize ctx.alert.status}}</p> | |
</td> | |
</tr> | |
<tr> | |
<td class="purchase_heading" align="left" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">Urgency</p> | |
</td> | |
<td class="purchase_heading" align="right" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">{{capitalize ctx.alert.urgency}}</p> | |
</td> | |
</tr> | |
<tr> | |
<td class="purchase_heading" align="left" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">Created At</p> | |
</td> | |
<td class="purchase_heading" align="right" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">{{unix-timezone ctx.alert.created ctx.user.preferences.timezone}}</p> | |
</td> | |
</tr> | |
{{#if ctx.bridge}} {{#if (eq ctx.bridge.host 'pagertree')}} | |
<tr> | |
<td class="purchase_heading" align="left" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">Bridge URL</p> | |
</td> | |
<td class="purchase_heading" align="right" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;"><a href="{{ctx.app.web_url}}/#/bridge/{{ctx.bridge.tinyId}}" target="_blank" style="color: #3869D4;">{{ctx.app.web_url}}/#/bridge/{{ctx.bridge.tinyId}}</a></p> | |
</td> | |
</tr> | |
<tr> | |
<td class="purchase_heading" align="left" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">Bridge Phone</p> | |
</td> | |
<td class="purchase_heading" align="right" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;"><a href="tel:{{ctx.app.bridge_phone}},,{{ctx.bridge.access_code}}#" style="color: #3869D4;">{{ctx.app.bridge_phone}},,{{ctx.bridge.access_code}}#</a></p> | |
</td> | |
</tr> | |
{{else}} | |
<tr> | |
<td class="purchase_heading" align="left" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">Bridge URL</p> | |
</td> | |
<td class="purchase_heading" align="right" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;"> | |
{{#if ctx.bridge.url}} | |
<a href="{{ctx.bridge.url}}" target="_blank" style="color: #3869D4;">{{ctx.bridge.url}}</a> {{else}} - {{/if}} | |
</p> | |
</td> | |
</tr> | |
<tr> | |
<td class="purchase_heading" align="left" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;">Bridge Phone</p> | |
</td> | |
<td class="purchase_heading" align="right" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; padding-bottom: 8px; border-bottom-color: #EAEAEC; border-bottom-style: solid; border-bottom-width: 1px;"> | |
<p class="f-fallback" style="margin: 0; font-size: 12px; line-height: 1.625; color: #85878E;"> | |
{{#if ctx.bridge.phone}} | |
<a href="tel:{{ctx.bridge.phone}}" target="_blank" style="color: #3869D4;">{{ctx.bridge.phone}}</a> {{else}} - {{/if}} | |
</p> | |
</td> | |
</tr> | |
{{/if}} {{/if}} | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin: 30px auto; padding: 0; width: 100%; -premailer-width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0; text-align: center;"> | |
<tr> | |
<td align="center" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<!-- Border based button | |
https://litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design --> | |
<table width="100%" border="0" cellspacing="0" cellpadding="0" role="presentation"> | |
<tr> | |
<td align="center" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<a href="{{ctx.app.web_url}}/public/alert/{{ctx.alert.sid}}/{{ctx.alert.id}}/acknowledge?u={{ctx.user.id}}&t={{ctx.data.token.sequence}}" class="f-fallback button button--green" target="_blank" style="color: #FFF; background-color: #22BC66; display: inline-block; text-decoration: none; border-radius: 3px; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16); border-style: solid; border-color: #22bc66; -webkit-text-size-adjust: none; border-width: 10px 18px; box-sizing: border-box;">Acknowledge</a> | |
</td> | |
</tr> | |
</table> | |
<br /> | |
<!-- Border based button | |
https://litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design --> | |
<table width="100%" border="0" cellspacing="0" cellpadding="0" role="presentation"> | |
<tr> | |
<td align="center" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<a href="{{ctx.app.web_url}}/public/alert/{{ctx.alert.sid}}/{{ctx.alert.id}}/reject?u={{ctx.user.id}}&t={{ctx.data.token.sequence}}" class="f-fallback button button--red" target="_blank" style="color: #FFF; background-color: #FF6136; display: inline-block; text-decoration: none; border-radius: 3px; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16); border-style: solid; border-color: #ff6136; -webkit-text-size-adjust: none; border-width: 10px 18px; box-sizing: border-box;">Reject</a> | |
</td> | |
</tr> | |
</table> | |
<br /> | |
</td> | |
</tr> | |
</table> | |
<hr /> | |
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin: 30px auto; padding: 0; width: 100%; -premailer-width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0; text-align: center;"> | |
<tr> | |
<td align="center" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<!-- Border based button | |
https://litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design --> | |
<table width="100%" border="0" cellspacing="0" cellpadding="0" role="presentation"> | |
<tr> | |
<td align="center" style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<a href="{{ctx.app.url}}/#/alert/{{ctx.alert.tinyId}}" class="f-fallback button" target="_blank" style="color: #FFF; background-color: #3869D4; display: inline-block; text-decoration: none; border-radius: 3px; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16); border-style: solid; border-color: #3869d4; -webkit-text-size-adjust: none; border-width: 10px 18px; box-sizing: border-box;">View Alert</a> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<hr /> | |
<h3 style="margin-top: 0; color: #333333; font-size: 14px; font-weight: bold; text-align: left;" align="left">Description</h3> | |
<p style="margin: .4em 0 1.1875em; font-size: 16px; line-height: 1.625; color: #51545E;">{{{ctx.alert.description}}}</p> | |
<!-- Sub copy --> | |
<table class="body-sub" role="presentation" style="margin-top: 25px; padding-top: 25px; border-top-color: #EAEAEC; border-top-style: solid; border-top-width: 1px;"> | |
<tr> | |
<td style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<p class="f-fallback sub" style="margin: .4em 0 1.1875em; font-size: 13px; line-height: 1.625; color: #6B6E76;">If you’re having trouble with the button above, copy and paste the URL below into your web browser.</p> | |
<p class="f-fallback sub" style="margin: .4em 0 1.1875em; font-size: 13px; line-height: 1.625; color: #6B6E76;"><a href="{{ctx.app.url}}/#/alert/{{ctx.alert.tinyId}}" style="color: #3869D4;">{{ctx.app.url}}/#/alert/{{ctx.alert.tinyId}}</a></p> | |
</td> | |
</tr> | |
</table> | |
</div> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0 auto; padding: 0; width: 570px; -premailer-width: 570px; -premailer-cellpadding: 0; -premailer-cellspacing: 0; text-align: center;"> | |
<tr> | |
<td class="content-cell" align="center" style="padding: 35px; word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px;"> | |
<table class="social" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation" style="width: auto;"> | |
<tr> | |
<td class="align-center" style="padding: 0; word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; text-align: center; width: auto;" align="center"> | |
<a href="https://www.facebook.com/pagertree" style="color: #3869D4;"> | |
<img src="https://pagertree.com/assets/img/social/facebook.png" height="20" alt="Facebook" class="social_icon" style="margin: 0 8px 10px; padding: 0; border: none; height: 20px;" /> | |
</a> | |
</td> | |
<td class="align-center" style="padding: 0; word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; text-align: center; width: auto;" align="center"> | |
<a href="https://twitter.com/pagertree" style="color: #3869D4;"> | |
<img src="https://pagertree.com/assets/img/social/twitter.png" height="20" alt="Twitter" class="social_icon" style="margin: 0 8px 10px; padding: 0; border: none; height: 20px;" /> | |
</a> | |
</td> | |
<td class="align-center" style="padding: 0; word-break: break-word; font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; text-align: center; width: auto;" align="center"> | |
<a href="https://www.linkedin.com/company/pagertree" style="color: #3869D4;"> | |
<img src="https://pagertree.com/assets/img/social/linkedin.png" height="20" alt="LinkedIn" class="social_icon" style="margin: 0 8px 10px; padding: 0; border: none; height: 20px;" /> | |
</a> | |
</td> | |
</tr> | |
</table> | |
<p class="f-fallback sub align-center" style="margin: .4em 0 1.1875em; font-size: 13px; line-height: 1.625; text-align: center; color: #6B6E76;" align="center">© 2016-{{year}} . All rights reserved.</p> | |
<p class="f-fallback sub align-center" style="margin: .4em 0 1.1875em; font-size: 13px; line-height: 1.625; text-align: center; color: #6B6E76;" align="center"> | |
PagerTree LLC | |
<br />575 Matmor Rd. #43 | |
<br />Woodland, CA | |
</p> | |
<p class="f-fallback sub align-center" style="margin: .4em 0 1.1875em; font-size: 13px; line-height: 1.625; text-align: center; color: #6B6E76;" align="center"> | |
Email sent at: {{unix-timezone (moment 'X') ctx.user.preferences.timezone}} | |
</p> | |
{{#if (not (eq ctx.app.env "production"))}} | |
<p class="f-fallback sub align-center" style="margin: .4em 0 1.1875em; font-size: 13px; line-height: 1.625; text-align: center; color: #6B6E76;" align="center"> | |
Environment: {{upcase ctx.app.env}} | |
</p> | |
{{/if}} </td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment