- 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
2.6 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template name="2x Color Block" id="s_color_blocks_2">
  4. <section class="s_color_blocks_2">
  5. <div class="container-fluid">
  6. <div class="row">
  7. <div class="col-lg-6 bg-alpha text-center">
  8. <i class="fa fa-shield fa-5x d-block mx-auto"/>
  9. <h2>This Is a Color Block</h2>
  10. <h3 class="text-muted mb16">Highlight Your Content</h3>
  11. <p class="text-justify mb32">Color blocks are a simple and effective way to <strong>present and highlight your content</strong>. Choose an image or a color for the background. You can even resize and duplicate the blocks to create your own layout. Add images or icons to customize the blocks.</p>
  12. <a href="#" class="btn btn-info mb32">
  13. <i class="fa fa-1x fa-cog"/> More Details
  14. </a>
  15. </div>
  16. <div class="col-lg-6 bg-gamma text-center">
  17. <i class="fa fa-cube fa-5x d-block mx-auto"/>
  18. <h2>An Other Color Block</h2>
  19. <h3 class="text-muted mb16">Customize Backgrounds</h3>
  20. <p class="text-justify mb32">Color blocks are a simple and effective way to <strong>present and highlight your content</strong>. Choose an image or a color for the background. You can even resize and duplicate the blocks to create your own layout. Add images or icons to customize the blocks.</p>
  21. <a href="#" class="btn btn-info mb32">
  22. <i class="fa fa-1x fa-cog"/> More Details
  23. </a>
  24. </div>
  25. </div>
  26. </div>
  27. </section>
  28. </template>
  29. <template id="s_color_blocks_2-opt" inherit_id="website.snippet_options">
  30. <xpath expr="//div[@id='so_main_colorpicker']" position="attributes">
  31. <attribute name="data-selector" add=".s_color_blocks_2 [class*='col-']"/>
  32. <attribute name="data-exclude" add=".s_color_blocks_2"/>
  33. </xpath>
  34. <xpath expr="//div[@data-js='background']" position="attributes">
  35. <attribute name="data-selector" add=".s_color_blocks_2 [class*='col-']"/>
  36. <attribute name="data-exclude" add=".s_color_blocks_2"/>
  37. </xpath>
  38. <xpath expr="//div[@data-js='background_position']" position="attributes">
  39. <attribute name="data-selector" add=".s_color_blocks_2 [class*='col-']"/>
  40. <attribute name="data-exclude" add=".s_color_blocks_2"/>
  41. </xpath>
  42. </template>
  43. </odoo>