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.

57 lines
3.3 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_1_col"
  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_1_col'"/>
  11. <t t-set="title">Big image + Text + Button (1 column)</t>
  12. <tbody>
  13. <tr>
  14. <td><a href="#" target="_blank"><img src="http://placehold.it/570x200/333333/ffffff?text=width 570px" style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt; width: 100%; max-width: 570px; min-width:285px;" border="0"/> </a></td>
  15. </tr>
  16. <tr>
  17. <td style="padding:0 20px;">
  18. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  19. <tbody>
  20. <tr>
  21. <td style="font-size: 18pt; font-family: Arial, sans-serif; color: #000000; padding-top: 30px;" align="left">Title</td>
  22. </tr>
  23. <tr>
  24. <td style="padding: 20px 0 0 0; font-size: 9pt; line-height: 20px; font-family: Arial, sans-serif; color: #000000;" align="left">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>
  25. </tr>
  26. </tbody>
  27. </table>
  28. </td>
  29. </tr>
  30. <tr>
  31. <td align="left">
  32. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  33. <tbody>
  34. <tr>
  35. <td style="padding: 25px 20px;" align="left">
  36. <table border="0" cellpadding="0" cellspacing="0">
  37. <tbody>
  38. <tr>
  39. <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>
  40. </tr>
  41. </tbody>
  42. </table>
  43. </td>
  44. </tr>
  45. </tbody>
  46. </table>
  47. </td>
  48. </tr>
  49. </tbody>
  50. </t>
  51. </xpath>
  52. </template>
  53. </data>
  54. </openerp>