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.3 KiB

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