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.

95 lines
6.4 KiB

9 years ago
  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="560px_section">
  8. <xpath expr=".">
  9. <t t-call="website_mail_snippet_fixed.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 align="left" colspan="2" style="font-size: 11pt; font-family: Arial, sans-serif; font-weight: bold; color: #000; padding: 20px 10px 0 20px;">Title</td>
  15. </tr>
  16. <tr>
  17. <td style="padding: 0;" valign="top"><!-- LEFT COLUMN -->
  18. <table align="left" border="0" cellpadding="0" cellspacing="0" width="50%">
  19. <tbody>
  20. <tr>
  21. <td style="padding: 20px 10px 20px 20px;">
  22. <table align="center" cellpadding="0" cellspacing="0" style="border-collapse:collapse;background:inherit;color:inherit;" width="250">
  23. <tbody>
  24. <tr>
  25. <td style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt;"><a href="#" target="_blank"><img src="http://placehold.it/250x200/aaaaaa/ffffff?text=width%20250px" style="display: block; color: #000000; font-family: Arial, sans-serif; font-size: 9pt; width: 250px;" border="0" width="250"/></a></td>
  26. </tr>
  27. </tbody>
  28. </table>
  29. </td>
  30. </tr>
  31. </tbody>
  32. </table>
  33. </td>
  34. <!-- RIGHT COLUMN -->
  35. <td>
  36. <table align="left" border="0" cellpadding="0" cellspacing="0" width="50%">
  37. <tbody>
  38. <tr>
  39. <td style="padding: 20px 20px 20px 10px;" valign="top">
  40. <table align="center" cellpadding="0" cellspacing="0" style="border-collapse:collapse;background:inherit;color:inherit;" width="250">
  41. <tbody>
  42. <tr>
  43. <td style="padding:0;">
  44. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  45. <tbody>
  46. <tr>
  47. <td style="font-size: 18pt; font-family: Arial, sans-serif; color: #000000; padding-top: 10px;" align="left">News Item</td>
  48. </tr>
  49. <tr>
  50. <td align="left" style="padding: 10px 0 0 0; font-size: 9pt; line-height: 20px; font-family: Arial, sans-serif; color: #000000;">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</td>
  51. </tr>
  52. <tr>
  53. <td align="left">
  54. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  55. <tbody>
  56. <tr>
  57. <td style="padding: 25px 0;" align="left">
  58. <table border="0" cellpadding="0" cellspacing="0">
  59. <tbody>
  60. <tr>
  61. <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;" class="bg_color_picker" target="_blank">Learn more</a></td>
  62. </tr>
  63. </tbody>
  64. </table>
  65. </td>
  66. </tr>
  67. </tbody>
  68. </table>
  69. </td>
  70. </tr>
  71. </tbody>
  72. </table>
  73. </td>
  74. </tr>
  75. </tbody>
  76. </table>
  77. </td>
  78. </tr>
  79. </tbody>
  80. </table>
  81. </td>
  82. </tr>
  83. </tbody>
  84. </t>
  85. </xpath>
  86. </template>
  87. </data>
  88. </openerp>