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.

92 lines
6.1 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 style="padding: 0;" valign="top"><!-- LEFT COLUMN -->
  15. <table align="left" border="0" cellpadding="0" cellspacing="0" width="50%">
  16. <tbody>
  17. <tr>
  18. <td style="padding: 20px 10px 20px 20px;">
  19. <table align="center" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" style="border-collapse:collapse;background:inherit;color:inherit; background:#FFFFFF" width="250">
  20. <tbody>
  21. <tr>
  22. <td><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>
  23. </tr>
  24. </tbody>
  25. </table>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </td>
  31. <!-- RIGHT COLUMN -->
  32. <td>
  33. <table align="left" border="0" cellpadding="0" cellspacing="0" width="50%">
  34. <tbody>
  35. <tr>
  36. <td style="padding: 20px 20px 20px 10px;">
  37. <table align="center" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" style="border-collapse:collapse;background:inherit;color:inherit; background:#FFFFFF" width="250">
  38. <tbody>
  39. <tr>
  40. <td style="padding:0;">
  41. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  42. <tbody>
  43. <tr>
  44. <td style="font-size: 18pt; font-family: Arial, sans-serif; color: #000000; padding-top: 10px;" align="left">News Item</td>
  45. </tr>
  46. <tr>
  47. <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>
  48. </tr>
  49. <tr>
  50. <td align="left">
  51. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  52. <tbody>
  53. <tr>
  54. <td style="padding: 25px 0;" align="left">
  55. <table border="0" cellpadding="0" cellspacing="0">
  56. <tbody>
  57. <tr>
  58. <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">Learn more</a></td>
  59. </tr>
  60. </tbody>
  61. </table>
  62. </td>
  63. </tr>
  64. </tbody>
  65. </table>
  66. </td>
  67. </tr>
  68. </tbody>
  69. </table>
  70. </td>
  71. </tr>
  72. </tbody>
  73. </table>
  74. </td>
  75. </tr>
  76. </tbody>
  77. </table>
  78. </td>
  79. </tr>
  80. </tbody>
  81. </t>
  82. </xpath>
  83. </template>
  84. </data>
  85. </openerp>