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.

83 lines
5.2 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_img_text"
  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_img_text'"/>
  11. <t t-set="title">Left Image, Right Text + Button</t>
  12. <tbody>
  13. <tr>
  14. <td bgcolor="#ECECEC" height="10"></td>
  15. </tr>
  16. <tr>
  17. <td style="padding: 0;" valign="top">
  18. <!-- LEFT COLUMN -->
  19. <table style="width: 50%; min-width:285px;" border="0" cellpadding="0" cellspacing="0" align="left">
  20. <tbody>
  21. <tr>
  22. <td style="padding: 20px;">
  23. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  24. <tbody>
  25. <tr>
  26. <td align="center" valign="middle"><a href="#" target="_blank"><img src="http://placehold.it/245x150/333333/ffffff?text=width 245px" style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt; width: 100%; min-width:245px; max-width: none; height:auto;" border="0"/></a></td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </td>
  31. </tr>
  32. </tbody>
  33. </table>
  34. <!-- RIGHT COLUMN -->
  35. <table style="width: 50%; min-width:285px;" border="0" cellpadding="0" cellspacing="0" align="left">
  36. <tbody>
  37. <tr>
  38. <td style="padding: 20px;">
  39. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  40. <tbody>
  41. <tr>
  42. <td style="padding: 15px 0 0 0; font-family: Arial, sans-serif; color: #333333; font-size: 20px;" align="left">News Item</td>
  43. </tr>
  44. <tr>
  45. <td style="padding: 5px 0 0 0; font-family: Arial, sans-serif; color: #000000; font-size: 9pt; line-height: 20px;" align="left">Integer ut tempor lectus. Vivamus at gravida arcu.</td>
  46. </tr>
  47. <tr>
  48. <td align="left">
  49. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  50. <tbody>
  51. <tr>
  52. <td style="padding: 25px 0 0 0;" align="left">
  53. <table border="0" cellpadding="0" cellspacing="0">
  54. <tbody>
  55. <tr>
  56. <td align="center"><a href="#" style="font-size: 9pt; font-family: Arial, sans-serif; font-weight: normal; color: #ffffff; text-decoration: none; background-color: #00B518; border-top: 10px solid #00B518; border-bottom: 10px solid #00B518; border-left: 20px solid #00B518; border-right: 20px solid #00B518; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; display: inline-block;" target="_blank" class="bg_color_picker">Learn more</a></td>
  57. </tr>
  58. </tbody>
  59. </table>
  60. </td>
  61. </tr>
  62. </tbody>
  63. </table>
  64. </td>
  65. </tr>
  66. </tbody>
  67. </table>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. </td>
  73. </tr>
  74. </tbody>
  75. </t>
  76. </xpath>
  77. </template>
  78. </data>
  79. </openerp>