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

68 lines
3.2 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="s_masonry_block" name="Masonry Block">
  4. <section class="s_masonry_block">
  5. <div class="container-fluid">
  6. <div class="row">
  7. <div class="block col-lg-6 text-center bg-img-03">
  8. <div class="content">
  9. <h2>A great title</h2>
  10. <p>And a great subtitle</p>
  11. </div>
  12. </div>
  13. <div class="s_masonry_block_pseudo_col col-lg-6">
  14. <div class="row">
  15. <div class="block col-lg-6 col-md-6 bg-alpha text-center">
  16. <div class="content">
  17. <h3>A great title</h3>
  18. <p>And a great subtitle</p>
  19. </div>
  20. </div>
  21. <div class="block col-lg-6 col-md-6 text-center bg-img-01">
  22. <div class="content">
  23. <h3>A great title</h3>
  24. <p>And a great subtitle</p>
  25. </div>
  26. </div>
  27. <div class="block col-lg-6 col-md-6 text-center bg-img-06">
  28. <div class="content">
  29. <h3>A great title</h3>
  30. <p>And a great subtitle</p>
  31. </div>
  32. </div>
  33. <div class="block col-lg-6 col-md-6 text-center bg-beta-lighter">
  34. <div class="content">
  35. <h3>A great title</h3>
  36. <p>And a great subtitle</p>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </section>
  44. </template>
  45. <template id="s_masonry_block-opt" inherit_id="website.snippet_options">
  46. <xpath expr="//div[@id='so_main_colorpicker']" position="attributes">
  47. <attribute name="data-selector" separator=", " add=".s_masonry_block .block"/>
  48. </xpath>
  49. <xpath expr="//div[@data-js='background']" position="attributes">
  50. <attribute name="data-selector" separator=", " add=".s_masonry_block .block"/>
  51. </xpath>
  52. <xpath expr="//div[@data-js='background_position']" position="attributes">
  53. <attribute name="data-selector" separator=", " add=".s_masonry_block .block"/>
  54. </xpath>
  55. <xpath expr="//div[@data-js='background']" position="before">
  56. <div data-selector=".s_masonry_block">
  57. <we-collapse-area>
  58. <we-toggler><i class="fa fa-fw fa-expand"/> Inner Spacing</we-toggler>
  59. <we-collapse>
  60. <we-button data-select-class="">Normal</we-button>
  61. <we-button data-select-class="s_ratio_2_1">Bigger</we-button>
  62. </we-collapse>
  63. </we-collapse-area>
  64. </div>
  65. </xpath>
  66. </template>
  67. </odoo>