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

44 lines
1.8 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="s_clonable_boxes" name="Clonable Boxes">
  4. <section class="s_clonable_boxes">
  5. <div class="container">
  6. <div class="row">
  7. <div class="col-lg-4 bg-alpha">
  8. <div class="item">
  9. <h3>Box title</h3>
  10. <p>Box Description</p>
  11. <div class="oe_structure"/>
  12. </div>
  13. </div>
  14. <div class="col-lg-4 bg-beta">
  15. <div class="item">
  16. <h3>Box title</h3>
  17. <p>Box Description</p>
  18. <div class="oe_structure"/>
  19. </div>
  20. </div>
  21. <div class="col-lg-4 bg-gamma">
  22. <div class="item">
  23. <h3>Box title</h3>
  24. <p>Box Description</p>
  25. <div class="oe_structure"/>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. </section>
  31. </template>
  32. <template id="s_clonable_boxes-opt" inherit_id="website.snippet_options">
  33. <xpath expr="//div[@id='so_main_colorpicker']" position="attributes">
  34. <attribute name="data-selector" separator=", " add=".s_clonable_boxes .row > div"/>
  35. </xpath>
  36. <xpath expr="//div[@data-js='background']" position="attributes">
  37. <attribute name="data-selector" separator=", " add=".s_clonable_boxes .row > div"/>
  38. </xpath>
  39. <xpath expr="//div[@data-js='background_position']" position="attributes">
  40. <attribute name="data-selector" separator=", " add=".s_clonable_boxes .row > div"/>
  41. </xpath>
  42. </template>
  43. </odoo>