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

79 lines
4.4 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template name="Features Slider" id="s_features_carousel">
  4. <section id="myCarousel" class="s_features_carousel carousel slide" data-interval="10000" >
  5. <!-- Indicators -->
  6. <ol type="1" class="carousel-indicators">
  7. <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
  8. <li data-target="#myCarousel" data-slide-to="1"></li>
  9. </ol>
  10. <div class="container carousel_header">
  11. <div class="row">
  12. <div class="col-lg-12 pt64">
  13. <h2>Features</h2>
  14. </div>
  15. </div>
  16. </div>
  17. <div class="carousel-inner">
  18. <div class="carousel-item image_text active">
  19. <div class="container">
  20. <div class="row content">
  21. <div class="col-lg-6 pt16">
  22. <div class="circle d-block mx-auto">
  23. <div class="mask bg-beta" data-name="Big circle">
  24. <span class="text-center">01.</span>
  25. <p>DECISIONS, DECISIONS, AND EVEN MORE DECISIONS</p>
  26. </div>
  27. </div>
  28. <p class="mt32 text-center">This theme does not limit you to one setup, we prefer to give you options. From boxed layout to wide, left sidebars to right and multiple headers; we let you decide. That’s right, you can have your cake and eat some too.</p>
  29. </div>
  30. <div class="col-lg-6 pt16">
  31. <img class="img img-fluid d-block mx-auto" src="/web/image/theme_common.image_content_04" alt=""/>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="carousel-item image_text">
  37. <div class="container">
  38. <div class="row content">
  39. <div class="col-lg-6 pt16">
  40. <div class="circle d-block mx-auto">
  41. <div class="mask bg-beta" data-name="Big circle">
  42. <span class="text-center">02.</span>
  43. <p>DESIGN, DESIGN, AND EVEN MORE DESIGN</p>
  44. </div>
  45. </div>
  46. <p class="mt32 text-center">This theme does not limit you to one setup, we prefer to give you options. From boxed layout to wide, left sidebars to right and multiple headers; we let you decide. That’s right, you can have your cake and eat some too.</p>
  47. </div>
  48. <div class="col-lg-6 pt16">
  49. <img class="img img-fluid d-block mx-auto" src="/web/image/theme_common.image_content_03" alt=""/>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="carousel-control-prev" data-target="#s_products_carousel" data-slide="prev" role="img" aria-label="Previous" title="Previous">
  56. <span class="carousel-control-prev-icon"/>
  57. <span class="sr-only">Previous</span>
  58. </div>
  59. <div class="carousel-control-next" data-target="#s_products_carousel" data-slide="next" role="img" aria-label="Next" title="Next">
  60. <span class="carousel-control-next-icon"/>
  61. <span class="sr-only">Next</span>
  62. </div>
  63. </section>
  64. </template>
  65. <template id="s_features_carousel-opt" inherit_id="website.snippet_options">
  66. <xpath expr="//div[@id='so_main_colorpicker']" position="attributes">
  67. <attribute name="data-selector" add=".s_features_carousel .mask"/>
  68. </xpath>
  69. <xpath expr="//div[@data-js='background']" position="attributes">
  70. <attribute name="data-selector" add=".s_features_carousel .mask"/>
  71. </xpath>
  72. <xpath expr="//div[@data-js='background_position']" position="attributes">
  73. <attribute name="data-selector" add=".s_features_carousel .mask"/>
  74. </xpath>
  75. </template>
  76. </odoo>