You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

208 lines
8.5 KiB

  1. <!DOCTYPE html>{% load humanize hc_extras %}
  2. <html>
  3. <head>
  4. <title>{% block title %}{% endblock %}</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  8. <style type="text/css">
  9. /* CLIENT-SPECIFIC STYLES */
  10. body, table, td, a{-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;} /* Prevent WebKit and Windows mobile changing default text sizes */
  11. table, td{mso-table-lspace: 0pt; mso-table-rspace: 0pt;} /* Remove spacing between tables in Outlook 2007 and up */
  12. img{-ms-interpolation-mode: bicubic;} /* Allow smoother rendering of resized image in Internet Explorer */
  13. /* RESET STYLES */
  14. img{border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none;}
  15. table{border-collapse: collapse !important;}
  16. body{height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important;}
  17. /* iOS BLUE LINKS */
  18. a[x-apple-data-detectors] {
  19. color: inherit !important;
  20. text-decoration: none !important;
  21. font-size: inherit !important;
  22. font-family: inherit !important;
  23. font-weight: inherit !important;
  24. line-height: inherit !important;
  25. }
  26. /* MOBILE STYLES */
  27. @media screen and (max-width: 525px) {
  28. /* ALLOWS FOR FLUID TABLES */
  29. .wrapper {
  30. width: 100% !important;
  31. max-width: 100% !important;
  32. }
  33. /* ADJUSTS LAYOUT OF LOGO IMAGE */
  34. .logo img {
  35. margin: 0 auto !important;
  36. }
  37. /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */
  38. .mobile-hide {
  39. display: none !important;
  40. }
  41. .img-max {
  42. max-width: 100% !important;
  43. width: 100% !important;
  44. height: auto !important;
  45. }
  46. /* FULL-WIDTH TABLES */
  47. .responsive-table {
  48. width: 100% !important;
  49. }
  50. /* UTILITY CLASSES FOR ADJUSTING PADDING ON MOBILE */
  51. .padding {
  52. padding: 10px 5% 15px 5% !important;
  53. }
  54. .padding-meta {
  55. padding: 30px 5% 0px 5% !important;
  56. text-align: center;
  57. }
  58. .no-padding {
  59. padding: 0 !important;
  60. }
  61. .section-padding {
  62. padding: 50px 15px 50px 15px !important;
  63. }
  64. /* ADJUST BUTTONS ON MOBILE */
  65. .mobile-button-container {
  66. margin: 0 auto;
  67. width: 100% !important;
  68. }
  69. .mobile-button {
  70. padding: 15px !important;
  71. border: 0 !important;
  72. font-size: 16px !important;
  73. display: block !important;
  74. }
  75. }
  76. /* ANDROID CENTER FIX */
  77. div[style*="margin: 16px 0;"] { margin: 0 !important; }
  78. </style>
  79. </head>
  80. <body style="margin: 0 !important; padding: 0 !important;">
  81. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  82. <tr>
  83. <td bgcolor="#F2F4F6" align="center">
  84. <!--[if (gte mso 9)|(IE)]>
  85. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  86. <tr>
  87. <td align="center" valign="top" width="600">
  88. <![endif]-->
  89. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="wrapper">
  90. <tr>
  91. <td align="center" valign="top" style="padding: 15px 0;" class="logo">
  92. <a href="{% site_root %}" target="_blank">
  93. <img alt="Logo" src="{% site_root %}/static/img/[email protected]" width="200" height="50" style="display: block; font-family: Helvetica, Arial, sans-serif; color: #ffffff; font-size: 16px;" border="0">
  94. </a>
  95. </td>
  96. </tr>
  97. </table>
  98. <!--[if (gte mso 9)|(IE)]>
  99. </td>
  100. </tr>
  101. </table>
  102. <![endif]-->
  103. </td>
  104. </tr>
  105. <tr>
  106. <td bgcolor="#ffffff" align="center" style="padding: 50px 15px 70px 15px;" class="section-padding">
  107. <!--[if (gte mso 9)|(IE)]>
  108. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  109. <tr>
  110. <td align="center" valign="top" width="600">
  111. <![endif]-->
  112. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="responsive-table">
  113. <tr>
  114. <td>
  115. <!-- HERO IMAGE -->
  116. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  117. <tr>
  118. <td>
  119. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  120. <tr>
  121. <td style="padding: 0; font-size: 16px; line-height: 25px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding">
  122. {% block content %}{% endblock %}
  123. </td>
  124. </tr>
  125. </table>
  126. </td>
  127. </tr>
  128. {% if button_text %}
  129. <tr>
  130. <td align="center">
  131. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  132. <tr>
  133. <td align="center" style="padding-top: 25px; padding-bottom: 15px;" class="padding">
  134. <table border="0" cellspacing="0" cellpadding="0" class="mobile-button-container">
  135. <tr>
  136. <td align="center" style="border-radius: 3px;" bgcolor="#22BC66"><a href="{{ button_url }}" target="_blank" style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; border-radius: 3px; padding: 15px 25px; border: 1px solid #22BC66; display: inline-block;" class="mobile-button">{{ button_text }}</a></td>
  137. </tr>
  138. </table>
  139. </td>
  140. </tr>
  141. </table>
  142. </td>
  143. </tr>
  144. {% endif %}
  145. <tr>
  146. <td>
  147. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  148. <tr>
  149. <td style="padding: 0; font-size: 16px; line-height: 25px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding">
  150. {% block content_more %}{% endblock %}
  151. </td>
  152. </tr>
  153. </table>
  154. </td>
  155. </tr>
  156. </table>
  157. </td>
  158. </tr>
  159. </table>
  160. <!--[if (gte mso 9)|(IE)]>
  161. </td>
  162. </tr>
  163. </table>
  164. <![endif]-->
  165. </td>
  166. </tr>
  167. <tr>
  168. <td bgcolor="#ffffff" align="center" style="padding: 20px 0px;">
  169. <!--[if (gte mso 9)|(IE)]>
  170. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  171. <tr>
  172. <td align="center" valign="top" width="600">
  173. <![endif]-->
  174. <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="max-width: 600px;" class="responsive-table">
  175. <tr>
  176. <td align="center" style="font-size: 12px; line-height: 18px; font-family: Helvetica, Arial, sans-serif; color:#666666;">
  177. © 2018 {% escaped_site_name %}. All rights reserved.
  178. {% block unsub %}{% endblock %}
  179. </td>
  180. </tr>
  181. </table>
  182. <!--[if (gte mso 9)|(IE)]>
  183. </td>
  184. </tr>
  185. </table>
  186. <![endif]-->
  187. </td>
  188. </tr>
  189. </table>
  190. </body>
  191. </html>