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

34 lines
1.8 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template name="Showcase Slider" id="s_showcase_slider">
  4. <section class="s_showcase_slider o_not-animable">
  5. <div class="s_ss_slider_wrapper">
  6. <ul class="s_ss_slider o_animable">
  7. <li class="selected o_not-animable"><img src="/web/image/theme_common.image_content_20"/></li>
  8. <li><img class="o_not-animable" src="/web/image/theme_common.image_content_21"/></li>
  9. <li><img class="o_not-animable" src="/web/image/theme_common.image_content_22"/></li>
  10. </ul>
  11. <ul class="s_ss_slider_navigation">
  12. <li><span contentEditable="false" class="o_not-animable fa fa-chevron-left s_ss_prev inactive"/></li>
  13. <li><span contentEditable="false" class="o_not-animable fa fa-chevron-right s_ss_next"/></li>
  14. </ul>
  15. <span href="#0" class="s_ss_close fa fa-times">Close</span>
  16. </div>
  17. <div class="s_ss_item_info o_animable">
  18. <h2>My Title</h2>
  19. <p>A great way to catch your reader's attention is to tell a story. Everything you consider writing can be told as a story.</p>
  20. <button class="btn btn-primary">Add to cart</button>
  21. </div>
  22. </section>
  23. </template>
  24. <!-- Snippets options -->
  25. <template id="s_showcase_slider_options" inherit_id="website.snippet_options">
  26. <xpath expr="//div[@data-js='background']" position="before">
  27. <div data-js='s_showcase_slider' data-selector=".s_showcase_slider">
  28. <we-button class="js_s_ss_addSlide">Add Slide</we-button>
  29. <we-button class="js_s_ss_removeSlide">Remove current slide</we-button>
  30. </div>
  31. </xpath>
  32. </template>
  33. </odoo>