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.

179 lines
7.2 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. /* FULL-WIDTH TABLES */
  38. .responsive-table {
  39. width: 100% !important;
  40. }
  41. /* UTILITY CLASSES FOR ADJUSTING PADDING ON MOBILE */
  42. .padding {
  43. padding: 10px 5% 15px 5% !important;
  44. }
  45. .section-padding {
  46. padding: 50px 15px 50px 15px !important;
  47. }
  48. /* ADJUST BUTTONS ON MOBILE */
  49. .mobile-button-container {
  50. margin: 0 auto;
  51. width: 100% !important;
  52. }
  53. .mobile-button {
  54. padding: 15px !important;
  55. border: 0 !important;
  56. font-size: 16px !important;
  57. display: block !important;
  58. }
  59. }
  60. /* ANDROID CENTER FIX */
  61. div[style*="margin: 16px 0;"] { margin: 0 !important; }
  62. </style>
  63. </head>
  64. <body style="margin: 0 !important; padding: 0 !important;">
  65. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  66. <tr>
  67. <td bgcolor="#F2F4F6" align="center">
  68. <!--[if (gte mso 9)|(IE)]>
  69. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  70. <tr>
  71. <td align="center" valign="top" width="600">
  72. <![endif]-->
  73. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="wrapper">
  74. <tr>
  75. <td align="center" valign="top" style="padding: 15px 0;" class="logo">
  76. <img alt="{% site_name %}" src="{% absolute_site_logo_url %}" height="50" style="display: block; font-family: Helvetica, Arial, sans-serif; color: #ffffff; font-size: 16px;" border="0">
  77. </td>
  78. </tr>
  79. </table>
  80. <!--[if (gte mso 9)|(IE)]>
  81. </td>
  82. </tr>
  83. </table>
  84. <![endif]-->
  85. </td>
  86. </tr>
  87. <tr>
  88. <td align="center" style="padding: 50px 15px 70px 15px;" class="section-padding">
  89. <!--[if (gte mso 9)|(IE)]>
  90. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  91. <tr>
  92. <td align="center" valign="top" width="600">
  93. <![endif]-->
  94. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="responsive-table">
  95. <tr>
  96. <td>
  97. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  98. <tr>
  99. <td style="padding: 0; font-size: 16px; line-height: 25px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding">
  100. {% block content %}{% endblock %}
  101. </td>
  102. </tr>
  103. </table>
  104. </td>
  105. </tr>
  106. {% if button_text %}
  107. <tr>
  108. <td align="center">
  109. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  110. <tr>
  111. <td align="center" style="padding-top: 25px; padding-bottom: 15px;" class="padding">
  112. <table border="0" cellspacing="0" cellpadding="0" class="mobile-button-container">
  113. <tr>
  114. <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>
  115. </tr>
  116. </table>
  117. </td>
  118. </tr>
  119. </table>
  120. </td>
  121. </tr>
  122. {% endif %}
  123. <tr>
  124. <td>
  125. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  126. <tr>
  127. <td style="padding: 0; font-size: 16px; line-height: 25px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding">
  128. {% block content_more %}{% endblock %}
  129. </td>
  130. </tr>
  131. </table>
  132. </td>
  133. </tr>
  134. </table>
  135. <!--[if (gte mso 9)|(IE)]>
  136. </td>
  137. </tr>
  138. </table>
  139. <![endif]-->
  140. </td>
  141. </tr>
  142. <tr>
  143. <td align="center" style="padding: 20px 0px;">
  144. <!--[if (gte mso 9)|(IE)]>
  145. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  146. <tr>
  147. <td align="center" valign="top" width="600">
  148. <![endif]-->
  149. <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="max-width: 600px;" class="responsive-table">
  150. <tr>
  151. <td align="center" style="font-size: 12px; line-height: 18px; font-family: Helvetica, Arial, sans-serif; color:#666666;">
  152. © {% now 'Y' %} {% site_name %}. All rights reserved.
  153. {% block unsub %}{% endblock %}
  154. </td>
  155. </tr>
  156. </table>
  157. <!--[if (gte mso 9)|(IE)]>
  158. </td>
  159. </tr>
  160. </table>
  161. <![endif]-->
  162. </td>
  163. </tr>
  164. </table>
  165. </body>
  166. </html>