- Repo for opensource odoo website theme (since V13.0)
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.

42 lines
1.9 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template name="4x Color Block" id="s_color_blocks_4">
  4. <section class="s_color_blocks_4">
  5. <div class="container-fluid">
  6. <div class="row">
  7. <div class="col-lg-3 text-center bg-alpha">
  8. <h4>A COLOR BLOCK</h4>
  9. <p>Highlight Your Content</p>
  10. </div>
  11. <div class="col-lg-3 text-center bg-beta">
  12. <h4>A COLOR BLOCK</h4>
  13. <p>Customize Backgrounds</p>
  14. </div>
  15. <div class="col-lg-3 text-center bg-gamma">
  16. <h4>A COLOR BLOCK</h4>
  17. <p>Resize and Duplicate</p>
  18. </div>
  19. <div class="col-lg-3 text-center bg-delta">
  20. <h4>A COLOR BLOCK</h4>
  21. <p>Select the Colors</p>
  22. </div>
  23. </div>
  24. </div>
  25. </section>
  26. </template>
  27. <template id="s_color_blocks_4-opt" inherit_id="website.snippet_options">
  28. <xpath expr="//div[@id='so_main_colorpicker']" position="attributes">
  29. <attribute name="data-selector" add=".s_color_blocks_4 [class*='col-']"/>
  30. <attribute name="data-exclude" add=".s_color_blocks_4"/>
  31. </xpath>
  32. <xpath expr="//div[@data-js='background']" position="attributes">
  33. <attribute name="data-selector" add=".s_color_blocks_4 [class*='col-']"/>
  34. <attribute name="data-exclude" add=".s_color_blocks_4"/>
  35. </xpath>
  36. <xpath expr="//div[@data-js='background_position']" position="attributes">
  37. <attribute name="data-selector" add=".s_color_blocks_4 [class*='col-']"/>
  38. <attribute name="data-exclude" add=".s_color_blocks_4"/>
  39. </xpath>
  40. </template>
  41. </odoo>