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.

253 lines
9.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. .new, .paused {
  77. background: #AAA;
  78. font-family: Helvetica, Arial, sans-serif;
  79. font-weight: bold;
  80. font-size: 10px;
  81. line-height: 10px;
  82. color: white;
  83. padding: 6px;
  84. margin: 0;
  85. border-radius: 3px;
  86. }
  87. .grace {
  88. background: #f0ad4e;
  89. font-family: Helvetica, Arial, sans-serif;
  90. font-weight: bold;
  91. font-size: 10px;
  92. line-height: 10px;
  93. color: white;
  94. padding: 6px;
  95. border-radius: 3px;
  96. }
  97. .up {
  98. background: #5cb85c;
  99. font-family: Helvetica, Arial, sans-serif;
  100. font-weight: bold;
  101. font-size: 10px;
  102. line-height: 10px;
  103. color: white;
  104. padding: 6px;
  105. border-radius: 3px;
  106. }
  107. .down {
  108. background: #d9534f;
  109. font-family: Helvetica, Arial, sans-serif;
  110. font-weight: bold;
  111. font-size: 10px;
  112. line-height: 10px;
  113. color: white;
  114. padding: 6px;
  115. border-radius: 3px;
  116. }
  117. /* ANDROID CENTER FIX */
  118. div[style*="margin: 16px 0;"] { margin: 0 !important; }
  119. </style>
  120. </head>
  121. <body style="margin: 0 !important; padding: 0 !important;">
  122. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  123. <tr>
  124. <td bgcolor="#F2F4F6" align="center">
  125. <!--[if (gte mso 9)|(IE)]>
  126. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  127. <tr>
  128. <td align="center" valign="top" width="600">
  129. <![endif]-->
  130. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="wrapper">
  131. <tr>
  132. <td align="center" valign="top" style="padding: 15px 0;" class="logo">
  133. <a href="{% site_root %}" target="_blank">
  134. <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">
  135. </a>
  136. </td>
  137. </tr>
  138. </table>
  139. <!--[if (gte mso 9)|(IE)]>
  140. </td>
  141. </tr>
  142. </table>
  143. <![endif]-->
  144. </td>
  145. </tr>
  146. <tr>
  147. <td bgcolor="#ffffff" align="center" style="padding: 50px 15px 70px 15px;" class="section-padding">
  148. <!--[if (gte mso 9)|(IE)]>
  149. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  150. <tr>
  151. <td align="center" valign="top" width="600">
  152. <![endif]-->
  153. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="responsive-table">
  154. <tr>
  155. <td>
  156. <!-- HERO IMAGE -->
  157. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  158. <tr>
  159. <td>
  160. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  161. <tr>
  162. <td style="padding: 0; font-size: 16px; line-height: 25px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding">
  163. {% block content %}{% endblock %}
  164. </td>
  165. </tr>
  166. </table>
  167. </td>
  168. </tr>
  169. {% if button_text %}
  170. <tr>
  171. <td align="center">
  172. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  173. <tr>
  174. <td align="center" style="padding-top: 25px; padding-bottom: 15px;" class="padding">
  175. <table border="0" cellspacing="0" cellpadding="0" class="mobile-button-container">
  176. <tr>
  177. <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>
  178. </tr>
  179. </table>
  180. </td>
  181. </tr>
  182. </table>
  183. </td>
  184. </tr>
  185. {% endif %}
  186. <tr>
  187. <td>
  188. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  189. <tr>
  190. <td style="padding: 0; font-size: 16px; line-height: 25px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding">
  191. {% block content_more %}{% endblock %}
  192. </td>
  193. </tr>
  194. </table>
  195. </td>
  196. </tr>
  197. </table>
  198. </td>
  199. </tr>
  200. </table>
  201. <!--[if (gte mso 9)|(IE)]>
  202. </td>
  203. </tr>
  204. </table>
  205. <![endif]-->
  206. </td>
  207. </tr>
  208. <tr>
  209. <td bgcolor="#ffffff" align="center" style="padding: 20px 0px;">
  210. <!--[if (gte mso 9)|(IE)]>
  211. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  212. <tr>
  213. <td align="center" valign="top" width="600">
  214. <![endif]-->
  215. <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="max-width: 600px;" class="responsive-table">
  216. <tr>
  217. <td align="center" style="font-size: 12px; line-height: 18px; font-family: Helvetica, Arial, sans-serif; color:#666666;">
  218. © 2018 {% site_name %}. All rights reserved.
  219. {% block unsub %}{% endblock %}
  220. </td>
  221. </tr>
  222. </table>
  223. <!--[if (gte mso 9)|(IE)]>
  224. </td>
  225. </tr>
  226. </table>
  227. <![endif]-->
  228. </td>
  229. </tr>
  230. </table>
  231. </body>
  232. </html>