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.

55 lines
1.8 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. <!-- Section with 560px width snippets -->
  7. <template id="560px_section_add"
  8. inherit_id="website_mail.email_designer_snippets">
  9. <xpath expr="//a[@href='#snippet_email_structure']/.." position="after">
  10. <li>
  11. <a href="#snippet_email_560px" data-toggle="tab">
  12. Fixed 560px Width
  13. </a>
  14. </li>
  15. </xpath>
  16. <xpath expr="//div[@id='snippet_email_structure']" position="after">
  17. <div id="snippet_email_560px" class="tab-pane fade">
  18. <t t-call="website_mail_snippet_fixed.560px_section"/>
  19. </div>
  20. </xpath>
  21. </template>
  22. <template id="560px_section"/>
  23. <!-- Base structure for all snippets -->
  24. <template id="snippet">
  25. <div>
  26. <div class="oe_snippet_thumbnail">
  27. <img
  28. class="oe_snippet_thumbnail_img"
  29. t-attf-src="/website_mail_snippet_fixed/static/src/img/#{image}.png"/>
  30. <span
  31. t-esc="title"
  32. class="oe_snippet_thumbnail_title"/>
  33. </div>
  34. <div
  35. class="oe_snippet_body"
  36. style="padding:0px; width:100%; background-color:#ececec; color:rgb(0,0,0); line-height:20px; font-family:Arial,sans-serif; font-size:9pt">
  37. <table
  38. style="width: 560px; border-collapse: collapse; background: inherit; color: inherit; background: #FFFFFF"
  39. cellpadding="0"
  40. cellspacing="0"
  41. align="center"
  42. class="bg_color_picker">
  43. <t t-raw="0"/>
  44. </table>
  45. </div>
  46. </div>
  47. </template>
  48. </data>
  49. </openerp>