mirror of
https://github.com/workhardbekind/workout-challenge.git
synced 2026-07-04 09:23:32 -04:00
518 lines
No EOL
38 KiB
HTML
518 lines
No EOL
38 KiB
HTML
<!doctype html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
|
||
|
||
<head>
|
||
<title>
|
||
</title>
|
||
<!--[if !mso]><!-->
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<!--<![endif]-->
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<style type="text/css">
|
||
#outlook a {
|
||
padding: 0;
|
||
}
|
||
|
||
body {
|
||
margin: 0;
|
||
padding: 0;
|
||
-webkit-text-size-adjust: 100%;
|
||
-ms-text-size-adjust: 100%;
|
||
}
|
||
|
||
table,
|
||
td {
|
||
border-collapse: collapse;
|
||
mso-table-lspace: 0pt;
|
||
mso-table-rspace: 0pt;
|
||
}
|
||
|
||
img {
|
||
border: 0;
|
||
height: auto;
|
||
line-height: 100%;
|
||
outline: none;
|
||
text-decoration: none;
|
||
-ms-interpolation-mode: bicubic;
|
||
}
|
||
|
||
p {
|
||
display: block;
|
||
margin: 13px 0;
|
||
}
|
||
</style>
|
||
<!--[if mso]>
|
||
<noscript>
|
||
<xml>
|
||
<o:OfficeDocumentSettings>
|
||
<o:AllowPNG/>
|
||
<o:PixelsPerInch>96</o:PixelsPerInch>
|
||
</o:OfficeDocumentSettings>
|
||
</xml>
|
||
</noscript>
|
||
<![endif]-->
|
||
<!--[if lte mso 11]>
|
||
<style type="text/css">
|
||
.mj-outlook-group-fix { width:100% !important; }
|
||
</style>
|
||
<![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
|
||
<style type="text/css">
|
||
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);
|
||
</style>
|
||
<!--<![endif]-->
|
||
<style type="text/css">
|
||
@media only screen and (min-width:480px) {
|
||
.mj-column-per-100 {
|
||
width: 100% !important;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.mj-column-per-50 {
|
||
width: 50% !important;
|
||
max-width: 50%;
|
||
}
|
||
}
|
||
</style>
|
||
<style media="screen and (min-width:480px)">
|
||
.moz-text-html .mj-column-per-100 {
|
||
width: 100% !important;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.moz-text-html .mj-column-per-50 {
|
||
width: 50% !important;
|
||
max-width: 50%;
|
||
}
|
||
</style>
|
||
<style type="text/css">
|
||
</style>
|
||
<style type="text/css">
|
||
</style>
|
||
</head>
|
||
|
||
<body style="word-spacing:normal;background-color:#E1E8ED;">
|
||
<div style="display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;"> Keep the momentum going – keep the streak alive! Aim for 150-300 minutes of moderate or 75-150 minutes of vigorous activity weekly (or an equivalent mix) spread over at least 2 days, as recommended by the WHO. </div>
|
||
<div style="background-color:#E1E8ED;">
|
||
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0;font-size:0;mso-line-height-rule:exactly;"><v:image style="border:0;mso-position-horizontal:center;position:absolute;top:0;width:600px;z-index:-3;" src="{{ MAIN_HOST }}/running_email.jpg" xmlns:v="urn:schemas-microsoft-com:vml" /><![endif]-->
|
||
<div style="margin:0 auto;max-width:600px;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
|
||
<tbody>
|
||
<tr style="vertical-align:top;">
|
||
<td background="{{ MAIN_HOST }}/running_email.jpg" style="background:#075985 url('{{ MAIN_HOST }}/running_email.jpg') no-repeat center center / cover;background-position:center center;background-repeat:no-repeat;padding:0px;vertical-align:top;" height="200">
|
||
<!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" style="width:600px;" width="600" ><tr><td style=""><![endif]-->
|
||
<div class="mj-hero-content" style="margin:0px auto;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;margin:0px;">
|
||
<tbody>
|
||
<tr>
|
||
<td style>
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;margin:0px;">
|
||
<tbody>
|
||
<tr>
|
||
<td align="center" class="no-invert" style="font-size:0px;padding:10px 25px;padding-top:45px;padding-bottom:10px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:30px;line-height:1.2;text-align:center;color:#ffffff;">Workout Challenge</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center" style="font-size:0px;padding:10px 25px;word-break:break-word;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;line-height:100%;">
|
||
<tbody>
|
||
<tr>
|
||
<td align="center" bgcolor="#075985" role="presentation" style="border:1px solid #fff;border-radius:24px;cursor:auto;mso-padding-alt:10px 25px;background:#075985;" valign="middle">
|
||
<a href="{{ MAIN_HOST }}/login" style="display:inline-block;background:#075985;color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:24px;" target="_blank"> LOGIN </a>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="white" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||
<div style="background:white;background-color:white;margin:0px auto;max-width:600px;">
|
||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:white;background-color:white;width:100%;">
|
||
<tbody>
|
||
<tr>
|
||
<td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;padding-top:0px;text-align:center;">
|
||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
|
||
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
|
||
<tbody>
|
||
<tr>
|
||
<td style="vertical-align:top;padding-bottom:0px;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
|
||
<tbody>
|
||
<tr>
|
||
<td align="left" style="font-size:0px;padding:10px 25px;padding-bottom:0px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1.2;text-align:left;color:#000000;">
|
||
<p>Hi {{ first_name }},</p>
|
||
<p>Let’s check in on your week!</p>
|
||
<p>Keep the momentum going – keep the streak alive!</p>
|
||
<p>Aim for 150-300 minutes of moderate or 75-150 minutes of vigorous activity weekly (or an equivalent mix) spread over at least 2 days, as recommended by the WHO.</p>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center" style="font-size:0px;padding:10px 25px;word-break:break-word;">
|
||
<p style="border-top:solid 2px #E1E8ED;font-size:1px;margin:0px auto;width:100%;">
|
||
</p>
|
||
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 2px #E1E8ED;font-size:1px;margin:0px auto;width:550px;" role="presentation" width="550px" ><tr><td style="height:0;line-height:0;">
|
||
</td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="white" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||
<div style="background:white;background-color:white;margin:0px auto;max-width:600px;">
|
||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:white;background-color:white;width:100%;">
|
||
<tbody>
|
||
<tr>
|
||
<td style="direction:ltr;font-size:0px;padding:20px 0;padding-top:5px;text-align:center;">
|
||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:300px;" ><![endif]-->
|
||
<div class="mj-column-per-50 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
|
||
<tbody>
|
||
<tr>
|
||
<td style="vertical-align:top;padding-top:0px;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
|
||
<tbody>
|
||
<tr>
|
||
<td align="left" style="font-size:0px;padding:10px 25px;padding-bottom:0px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1.2;text-align:left;color:#000000;">
|
||
<h3>Your Streak:</h3>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="left" style="font-size:0px;padding:10px 25px;padding-top:0px;word-break:break-word;">
|
||
<table cellpadding="0" cellspacing="0" width="100%" border="0" style="color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
|
||
<tr class="calendar" style="width: 35px; height: 35px; text-align: center; padding: 0px;" align="center">
|
||
<td style="font-weight: bold;">
|
||
<!--[if mso]><v:oval xmlns:v="urn:schemas-microsoft-com:vml" style="height:30px;width:30px;" strokecolor="white" strokeweight="1px" fillcolor="FFFFFF"><v:textbox inset="0,0,0,0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><font style="font-size:14px; color:#000000;">M</font></td></tr></table></v:textbox></v:oval><![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<div class="day" style="height: 25px; width: 25px; margin-left: auto; margin-right: auto; justify-content: center; align-items: center; display: flex; border-radius: 9999px; background-color: #FFFFFF; color: #000000;">M</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
<td style="font-weight: bold;">
|
||
<!--[if mso]><v:oval xmlns:v="urn:schemas-microsoft-com:vml" style="height:30px;width:30px;" strokecolor="white" strokeweight="1px" fillcolor="FFFFFF"><v:textbox inset="0,0,0,0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><font style="font-size:14px; color:#000000;">T</font></td></tr></table></v:textbox></v:oval><![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<div class="day" style="height: 25px; width: 25px; margin-left: auto; margin-right: auto; justify-content: center; align-items: center; display: flex; border-radius: 9999px; background-color: #FFFFFF; color: #000000;">T</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
<td style="font-weight: bold;">
|
||
<!--[if mso]><v:oval xmlns:v="urn:schemas-microsoft-com:vml" style="height:30px;width:30px;" strokecolor="white" strokeweight="1px" fillcolor="FFFFFF"><v:textbox inset="0,0,0,0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><font style="font-size:14px; color:#000000;">W</font></td></tr></table></v:textbox></v:oval><![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<div class="day" style="height: 25px; width: 25px; margin-left: auto; margin-right: auto; justify-content: center; align-items: center; display: flex; border-radius: 9999px; background-color: #FFFFFF; color: #000000;">W</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
<td style="font-weight: bold;">
|
||
<!--[if mso]><v:oval xmlns:v="urn:schemas-microsoft-com:vml" style="height:30px;width:30px;" strokecolor="white" strokeweight="1px" fillcolor="FFFFFF"><v:textbox inset="0,0,0,0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><font style="font-size:14px; color:#000000;">T</font></td></tr></table></v:textbox></v:oval><![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<div class="day" style="height: 25px; width: 25px; margin-left: auto; margin-right: auto; justify-content: center; align-items: center; display: flex; border-radius: 9999px; background-color: #FFFFFF; color: #000000;">T</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
<td style="font-weight: bold;">
|
||
<!--[if mso]><v:oval xmlns:v="urn:schemas-microsoft-com:vml" style="height:30px;width:30px;" strokecolor="white" strokeweight="1px" fillcolor="FFFFFF"><v:textbox inset="0,0,0,0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><font style="font-size:14px; color:#000000;">F</font></td></tr></table></v:textbox></v:oval><![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<div class="day" style="height: 25px; width: 25px; margin-left: auto; margin-right: auto; justify-content: center; align-items: center; display: flex; border-radius: 9999px; background-color: #FFFFFF; color: #000000;">F</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
<td style="font-weight: bold;">
|
||
<!--[if mso]><v:oval xmlns:v="urn:schemas-microsoft-com:vml" style="height:30px;width:30px;" strokecolor="white" strokeweight="1px" fillcolor="FFFFFF"><v:textbox inset="0,0,0,0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><font style="font-size:14px; color:#000000;">S</font></td></tr></table></v:textbox></v:oval><![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<div class="day" style="height: 25px; width: 25px; margin-left: auto; margin-right: auto; justify-content: center; align-items: center; display: flex; border-radius: 9999px; background-color: #FFFFFF; color: #000000;">S</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
<td style="font-weight: bold;">
|
||
<!--[if mso]><v:oval xmlns:v="urn:schemas-microsoft-com:vml" style="height:30px;width:30px;" strokecolor="white" strokeweight="1px" fillcolor="FFFFFF"><v:textbox inset="0,0,0,0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><font style="font-size:14px; color:#000000;">S</font></td></tr></table></v:textbox></v:oval><![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<div class="day" style="height: 25px; width: 25px; margin-left: auto; margin-right: auto; justify-content: center; align-items: center; display: flex; border-radius: 9999px; background-color: #FFFFFF; color: #000000;">S</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
</tr>
|
||
<mj-raw> {% for week in calendar %} </mj-raw>
|
||
<tr class="calendar" style="width: 35px; height: 35px; text-align: center; padding: 0px;" align="center">
|
||
<mj-raw> {% for day in week %} </mj-raw>
|
||
<td>
|
||
<!--[if mso]><v:oval xmlns:v="urn:schemas-microsoft-com:vml" style="height:30px;width:30px;" strokecolor="white" strokeweight="1px" fillcolor="{{ day.background_color }}"><v:textbox inset="0,0,0,0"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><font style="font-size:14px; color:{{ day.color }};">{{ day.day }}</font></td></tr></table></v:textbox></v:oval><![endif]-->
|
||
<!--[if !mso]><!-->
|
||
<div class="day" style="height: 25px; width: 25px; margin-left: auto; margin-right: auto; justify-content: center; align-items: center; display: flex; border-radius: 9999px; background-color: {{ day.background_color }}; color: {{ day.color }};">{{ day.day }}</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
<mj-raw> {% endfor %} </mj-raw>
|
||
</tr>
|
||
<mj-raw> {% endfor %} </mj-raw>
|
||
<tr>
|
||
<td colspan="7" style="padding-top:5px;padding-bottom:5px;text-align:center; font-family:Arial, sans-serif; background-color:#F3F7FA;">
|
||
<span style="display:inline-block; width:25px; height:25px; line-height:25px; text-align:center; mso-line-height-rule:exactly; mso-table-lspace:0pt; mso-table-rspace:0pt; border:2px solid #60A8D8; border-radius:50%; background-color:#60A8D8; color:#FFFFFF; font-weight:bold; font-family:Arial, sans-serif;"> ✓ </span>
|
||
<span style="display:inline-block; height:25px; line-height: 25px; text-align: center;padding-left:5px; mso-table-lspace:0pt; mso-table-rspace:0pt;color: #6b7280;font-weight:bold;">{{ week_streak }} Week Streak</span>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td><td class="" style="vertical-align:top;width:300px;" ><![endif]-->
|
||
<div class="mj-column-per-50 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
|
||
<tbody>
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style width="100%">
|
||
<tbody>
|
||
<tr>
|
||
<td align="left" style="font-size:0px;padding:10px 25px;padding-bottom:0px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1.2;text-align:left;color:#000000;">
|
||
<h3>Your Personal 7-Day Goals:</h3>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="left" style="font-size:0px;padding:10px 25px;padding-top:0px;word-break:break-word;"> {% if goals.active_days is not None %} <table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||
<tr>
|
||
<td style="height:10px; font-size:0; line-height:0;"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td style="background-color:#f9f9f9; border-radius:8px; padding:18px;">
|
||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||
<tr>
|
||
<td style="font-size:14px; line-height:16px; mso-line-height-rule:exactly; font-weight:bold; color: #6b7280;">Active Days</td>
|
||
<td align="right" style="font-size:14px; line-height:16px; mso-line-height-rule:exactly; color: #6b7280;">{{ goals.active_days.recorded }} days <span style="font-size:10px;">/ {{ goals.active_days.target }} days</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" height="12" style="padding-top:8px; line-height:0; font-size:0;">
|
||
<!--[if mso]><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" arcsize="50%" strokecolor="#e5e5e5" strokeweight="1px" style="width:{{ goals.active_days.percent_vml }}%;height:12px;" fillcolor="#4a78b5"><v:fill color="#4a78b5" /></v:roundrect><![endif]-->
|
||
<!--[if !mso]><!-- -->
|
||
<div style="background:#e5e5e5; border-radius:4px; width:100%; height:12px;">
|
||
<div style="background:#4a78b5; height:12px; border-radius:4px; width:{{ goals.active_days.percent }}%;"></div>
|
||
</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table> {% endif %} {% if goals.minutes is not None %} <table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||
<tr>
|
||
<td style="height:15px; font-size:0; line-height:0;"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td style="background-color:#f9f9f9; border-radius:8px; padding:18px;">
|
||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||
<tr>
|
||
<td style="font-size:14px; line-height:16px; mso-line-height-rule:exactly; font-weight:bold; color: #6b7280;">Exercise</td>
|
||
<td align="right" style="font-size:14px; line-height:16px; mso-line-height-rule:exactly; color: #6b7280;">{{ goals.minutes.recorded }} min <span style="font-size:10px;">/ {{ goals.minutes.target }} min</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" height="12" style="padding-top:8px; line-height:0; font-size:0;">
|
||
<!--[if mso]><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" arcsize="50%" strokecolor="#e5e5e5" strokeweight="1px" style="width:{{ goals.minutes.percent_vml }}%;height:12px;" fillcolor="#4a78b5"><v:fill color="#4a78b5" /></v:roundrect><![endif]-->
|
||
<!--[if !mso]><!-- -->
|
||
<div style="background:#e5e5e5; border-radius:4px; width:100%; height:12px;">
|
||
<div style="background:#4a78b5; height:12px; border-radius:4px; width:{{ goals.minutes.percent }}%;"></div>
|
||
</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table> {% endif %} {% if goals.distance is not None %} <table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||
<tr>
|
||
<td style="height:15px; font-size:0; line-height:0;"> </td>
|
||
</tr>
|
||
<tr>
|
||
<td style="background-color:#f9f9f9; border-radius:8px; padding:18px;">
|
||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||
<tr>
|
||
<td style="font-size:14px; line-height:16px; mso-line-height-rule:exactly; font-weight:bold; color: #6b7280;">Distance</td>
|
||
<td align="right" style="font-size:14px; line-height:16px; mso-line-height-rule:exactly; color: #6b7280;">{{ goals.distance.recorded }} km <span style="font-size:10px;">/ {{ goals.distance.target }} km</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2" height="12" style="padding-top:8px; line-height:0; font-size:0;">
|
||
<!--[if mso]><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" arcsize="50%" strokecolor="#e5e5e5" strokeweight="1px" style="width:{{ goals.distance.percent_vml }}%;height:12px;" fillcolor="#4a78b5"><v:fill color="#4a78b5" /></v:roundrect><![endif]-->
|
||
<!--[if !mso]><!-- -->
|
||
<div style="background:#e5e5e5; border-radius:4px; width:100%; height:12px;">
|
||
<div style="background:#4a78b5; height:12px; border-radius:4px; width:{{ goals.distance.percent }}%;"></div>
|
||
</div>
|
||
<!--<![endif]-->
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table> {% endif %} </td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]--> {% if openai_quote is not None %}
|
||
<!-- AI Health Quote -->
|
||
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#075985" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||
<div style="background:#075985;background-color:#075985;margin:0px auto;max-width:600px;">
|
||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#075985;background-color:#075985;width:100%;">
|
||
<tbody>
|
||
<tr>
|
||
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
|
||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:middle;width:600px;" ><![endif]-->
|
||
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:100%;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:middle;" width="100%">
|
||
<tbody>
|
||
<tr>
|
||
<td align="center" style="font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:10px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1.2;text-align:center;color:#ffffff;">{{ openai_quote }}</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center" style="font-size:0px;padding:10px 25px;padding-right:100px;padding-bottom:10px;padding-left:100px;word-break:break-word;">
|
||
<p style="border-top:solid 1px #ffffff;font-size:1px;margin:0px auto;width:100%;">
|
||
</p>
|
||
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 1px #ffffff;font-size:1px;margin:0px auto;width:400px;" role="presentation" width="400px" ><tr><td style="height:0;line-height:0;">
|
||
</td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center" style="font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:0px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:11px;line-height:1.2;text-align:center;color:#e5e7eb;">
|
||
<p>by OpenAI's ChatGPT 4o</p>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]--> {% endif %}
|
||
<!-- Final remarks -->
|
||
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="white" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||
<div style="background:white;background-color:white;margin:0px auto;max-width:600px;">
|
||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:white;background-color:white;width:100%;">
|
||
<tbody>
|
||
<tr>
|
||
<td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;padding-top:0px;text-align:center;">
|
||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
|
||
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">
|
||
<tbody> {% if openai_quote is None %} <tr>
|
||
<td align="center" style="font-size:0px;padding:10px 25px;word-break:break-word;">
|
||
<p style="border-top:solid 2px #E1E8ED;font-size:1px;margin:0px auto;width:100%;">
|
||
</p>
|
||
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 2px #E1E8ED;font-size:1px;margin:0px auto;width:550px;" role="presentation" width="550px" ><tr><td style="height:0;line-height:0;">
|
||
</td></tr></table><![endif]-->
|
||
</td>
|
||
</tr> {% endif %} <tr>
|
||
<td align="left" style="font-size:0px;padding:10px 25px;padding-top:20px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1.2;text-align:left;color:#000000;">Login to see more detailed analyses, charts, and breakdowns:</div>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center" vertical-align="middle" style="font-size:0px;padding:10px 25px;padding-top:5px;padding-bottom:2px;word-break:break-word;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;line-height:100%;">
|
||
<tbody>
|
||
<tr>
|
||
<td align="center" bgcolor="#075985" role="presentation" style="border:none;border-radius:24px;cursor:auto;mso-padding-alt:10px 25px;background:#075985;" valign="middle">
|
||
<a href="{{ MAIN_HOST }}/login" style="display:inline-block;background:#075985;color:#ffffff;font-family:Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;mso-padding-alt:0px;border-radius:24px;" target="_blank"> LOGIN </a>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="left" style="font-size:0px;padding:10px 25px;padding-top:0px;padding-bottom:10px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1.2;text-align:left;color:#000000;">
|
||
<p>Enjoy the Competition.</p>
|
||
<p>Good luck!</p>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||
<!-- Footnote -->
|
||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
|
||
<tbody>
|
||
<tr>
|
||
<td>
|
||
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
|
||
<div style="margin:0px auto;max-width:600px;">
|
||
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
|
||
<tbody>
|
||
<tr>
|
||
<td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
|
||
<!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:middle;width:600px;" ><![endif]-->
|
||
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:100%;">
|
||
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:middle;" width="100%">
|
||
<tbody>
|
||
<tr>
|
||
<td align="center" style="font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0px;word-break:break-word;">
|
||
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:11px;line-height:1.2;text-align:center;color:#9a9ea6;"><span class="apple-link">Workout Challenge</span>
|
||
<br> Any issues? <a href="mailto:{{ EMAIL_REPLY_TO }}">Send us an Email</a>. <br> See the <a href="https://github.com/vanalmsick/workout_challenge">Source Code</a>.
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<!--[if mso | IE]></td></tr></table><![endif]-->
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</body>
|
||
|
||
</html> |