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.0 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_text_img"
  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_text_img'"/>
  11. <t t-set="title">Left Text and Button, Right Image</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 style="padding:0;">
  23. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  24. <tbody>
  25. <tr>
  26. <td style="font-size: 18pt; font-family: Arial, sans-serif; color: #000000; padding-top: 10px;" align="left">News Item</td>
  27. </tr>
  28. <tr>
  29. <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>
  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;" 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">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. </td>
  57. </tr>
  58. </tbody>
  59. </table>
  60. </td>
  61. <!-- RIGHT COLUMN -->
  62. <td>
  63. <table align="left" border="0" cellpadding="0" cellspacing="0" width="50%">
  64. <tbody>
  65. <tr><td style="padding: 20px 20px 20px 10px;">
  66. <table align="center" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" style="border-collapse:collapse;background:inherit;color:inherit; background:#FFFFFF" width="250">
  67. <tbody>
  68. <tr>
  69. <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>
  70. </tr>
  71. </tbody>
  72. </table>
  73. </td></tr>
  74. </tbody>
  75. </table>
  76. </td>
  77. </tr>
  78. </tbody>
  79. </t>
  80. </xpath>
  81. </template>
  82. </data>
  83. </openerp>