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.1 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_text_img"
  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_text_img'"/>
  11. <t t-set="title">Left Text and Button, Right Image</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 border="0" cellpadding="0" cellspacing="0" align="left" width="50%">
  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 style="padding: 15px 0 0 0; font-family: Arial, sans-serif; color: #333333; font-size: 20px;" align="left">News Item</td>
  27. </tr>
  28. <tr>
  29. <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>
  30. </tr>
  31. <tr>
  32. <td align="left">
  33. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  34. <tbody>
  35. <tr>
  36. <td style="padding: 25px 0 0 0;" align="left">
  37. <table border="0" cellpadding="0" cellspacing="0">
  38. <tbody>
  39. <tr>
  40. <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>
  41. </tr>
  42. </tbody>
  43. </table>
  44. </td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. </td>
  49. </tr>
  50. </tbody>
  51. </table>
  52. </td>
  53. </tr>
  54. </tbody>
  55. </table>
  56. <!-- RIGHT COLUMN -->
  57. <table border="0" cellpadding="0" cellspacing="0" align="left" width="50%">
  58. <tbody>
  59. <tr>
  60. <td style="padding: 20px;">
  61. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  62. <tbody>
  63. <tr>
  64. <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;" border="0"/></a></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>