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.

113 lines
7.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- © 2016 Antiun Ingeniería S.L. - Jairo Llopis
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  4. <openerp>
  5. <data>
  6. <template id="snippet_event_date"
  7. inherit_id="website_mail.email_designer_snippets">
  8. <xpath expr="//div[@id='snippet_email_structure']">
  9. <t t-call="website_mail_snippet_responsive.snippet">
  10. <t t-set="image" t-value="'snippet_event_date'"/>
  11. <t t-set="title">Date + Text + Button (2 columns)</t>
  12. <tbody>
  13. <tr>
  14. <td style="padding:0 20px;">
  15. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  16. <tbody>
  17. <tr>
  18. <td align="left" style="font-size: 18pt; font-family: Arial, sans-serif; color: #000000; padding-top: 30px;">Title</td>
  19. </tr>
  20. </tbody>
  21. </table>
  22. </td>
  23. </tr>
  24. <tr>
  25. <td style="padding: 0;" valign="top"><!-- LEFT COLUMN -->
  26. <table align="left" border="0" cellpadding="0" cellspacing="0" style="width: 50%; min-width:285px;">
  27. <tbody>
  28. <tr>
  29. <td style="padding: 20px 0 20px 20px;">
  30. <table align="center" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" style="border-collapse:collapse;background:inherit;color:inherit; background:#000000">
  31. <tbody>
  32. <tr>
  33. <td style="padding:1px;">
  34. <table border="0" cellpadding="0" cellspacing="0" width="200" height="200" style="background:#FFFFFF">
  35. <tbody>
  36. <tr>
  37. <td align="center" style="font-size: 65pt; line-height:50pt; font-weight: bold; font-family: Arial, sans-serif; color: #000000; padding: 30px 0 0 0;">07</td>
  38. </tr>
  39. <tr>
  40. <td align="center" style="padding: 10px 0 0 0; font-size: 16pt; font-weight: bold; letter-spaccing:2px; text-transform: uppercase; line-height: 20px; font-family: Arial, sans-serif; color: #000000;">December</td>
  41. </tr>
  42. <tr>
  43. <td align="center" style="padding: 0 0 30px 0; font-size: 16pt; font-weight: bold; letter-spaccing:2px; text-transform: uppercase; line-height: 20px; font-family: Arial, sans-serif; color: #000000;">18:00</td>
  44. </tr>
  45. </tbody>
  46. </table>
  47. </td>
  48. </tr>
  49. </tbody>
  50. </table>
  51. </td>
  52. </tr>
  53. </tbody>
  54. </table>
  55. <!-- RIGHT COLUMN -->
  56. <table align="left" border="0" cellpadding="0" cellspacing="0" style="width: 50%; min-width:285px;">
  57. <tbody>
  58. <tr>
  59. <td style="padding: 20px 0 20px 20px;">
  60. <table align="center" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" style="border-collapse:collapse;background:inherit;color:inherit; background:#FFFFFF">
  61. <tbody>
  62. <tr>
  63. <td style="padding:0;">
  64. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  65. <tbody>
  66. <tr>
  67. <td align="left" style="padding: 0 0 0 0; font-size: 9pt; line-height: 20px; font-family: Arial, sans-serif; color: #000000;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed varius, leo a ullamcorper feugiat, ante purus sodales justo, a faucibus libero lacus a est. Aenean at mollis ipsum.</td>
  68. </tr>
  69. </tbody>
  70. </table>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td align="left">
  75. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  76. <tbody>
  77. <tr>
  78. <td align="left" style="padding: 25px 0;">
  79. <table border="0" cellpadding="0" cellspacing="0">
  80. <tbody>
  81. <tr>
  82. <td align="center"><a href="#" t-attf-style="font-size: 9pt; font-family: Arial, sans-serif; font-weight: normal; color: #ffffff; text-decoration: none; background-color: #{website.mail_button_color}; border-top: 10px solid #{website.mail_button_color}; border-bottom: 10px solid #{website.mail_button_color}; border-left: 20px solid #{website.mail_button_color}; border-right: 20px solid #{website.mail_button_color}; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; display: inline-block;" class="bg_color_picker" target="_blank">Learn more</a></td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. </td>
  87. </tr>
  88. </tbody>
  89. </table>
  90. </td>
  91. </tr>
  92. </tbody>
  93. </table>
  94. </td>
  95. </tr>
  96. </tbody>
  97. </table>
  98. </td>
  99. </tr>
  100. </tbody>
  101. </t>
  102. </xpath>
  103. </template>
  104. </data>
  105. </openerp>