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.

61 lines
2.0 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. <xpath expr="//*[@id='snippet_options']" position="inside">
  22. <div
  23. data-snippet-option-id='fixed_560px'
  24. data-selector=".fixed_560px"/>
  25. </xpath>
  26. </template>
  27. <template id="560px_section"/>
  28. <!-- Base structure for all snippets -->
  29. <template id="snippet">
  30. <div>
  31. <div class="oe_snippet_thumbnail">
  32. <img
  33. class="oe_snippet_thumbnail_img"
  34. t-attf-src="/website_mail_snippet_fixed/static/src/img/#{image}.png"/>
  35. <span
  36. t-esc="title"
  37. class="oe_snippet_thumbnail_title"/>
  38. </div>
  39. <div
  40. class="oe_snippet_body fixed_560px"
  41. style="padding:0px; width:100%; background-color:#ececec; color:rgb(0,0,0); line-height:20px; font-family:Arial,sans-serif; font-size:9pt">
  42. <table
  43. style="width: 560px; border-collapse: collapse; background: inherit; color: inherit; background: #FFFFFF"
  44. cellpadding="0"
  45. cellspacing="0"
  46. align="center"
  47. class="bg_color_picker">
  48. <t t-raw="0"/>
  49. </table>
  50. </div>
  51. </div>
  52. </template>
  53. </data>
  54. </openerp>