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

80 lines
5.1 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template name="News Carousel" id="s_news_carousel">
  4. <section class="pt48 pb48" style="background-color: rgb(239, 239, 239);">
  5. <div class="container">
  6. <div class="row">
  7. <div id="s_news_carousel" class="col-lg-12 s_news_carousel s_carousel s_carousel_default carousel slide s_col_no_bgcolor" data-interval="10000">
  8. <!-- Control -->
  9. <div class="carousel-control-prev" data-target="#s_news_carousel" data-slide="prev" role="img" aria-label="Previous" title="Previous">
  10. <span class="carousel-control-prev-icon"/>
  11. <span class="sr-only">Previous</span>
  12. </div>
  13. <!-- Content -->
  14. <div class="carousel-inner">
  15. <div class="carousel-item active">
  16. <div class="row no-gutters content">
  17. <div class="col-lg-3 s_news_carousel_date text-center bg-alpha pt16 pb16">
  18. <span class="s_news_carousel_day" style="font-size: 62px;">18</span>
  19. <span class="s_news_carousel_month">December</span>
  20. </div>
  21. <div class="col-lg-9 s_news_carousel_content">
  22. <span class="s_badge badge bg-secondary pull-right">
  23. <i class="fa fa-1x fa-fw fa-exclamation-circle"/>New
  24. </span>
  25. <h3>Create an irresistible website.</h3>
  26. <p>Your website is where almost all of your customers will end up first. <br/>Let's clear up what it takes to give them the best experience with it.</p>
  27. </div>
  28. </div>
  29. </div>
  30. <div class="carousel-item">
  31. <div class="row no-gutters content">
  32. <div class="col-lg-3 s_news_carousel_date text-center bg-gamma pt16 pb16">
  33. <span class="s_news_carousel_day" style="font-size: 62px;">3</span>
  34. <span class="s_news_carousel_month">January</span>
  35. </div>
  36. <div class="col-lg-9 s_news_carousel_content">
  37. <h3>Prepare for the future of eCommerce.</h3>
  38. <p>Which trends to follow? Which ideas will work? <br/>Opening Keynote - Presented by John DOE.</p>
  39. <a href="#" class="btn btn-alpha">REGISTER <i class="fa fa-1x fa-caret-right ml-2"/></a>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="carousel-item">
  44. <div class="row no-gutters content">
  45. <div class="col-lg-3 s_news_carousel_date text-center bg-delta pt16 pb16">
  46. <span class="s_news_carousel_icon">
  47. <i class="fa fa-3x fa-envelope"/>
  48. </span>
  49. </div>
  50. <div class="col-lg-9 s_news_carousel_content">
  51. <h3>Use newsletters to increase your popularity</h3>
  52. <p>Build relationships and recognition by staying in touch with your customers.</p>
  53. <a href="#" class="btn btn-delta">Discover</a>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <!-- Control -->
  59. <div class="carousel-control-next" data-target="#s_news_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. </div>
  64. </div>
  65. </div>
  66. </section>
  67. </template>
  68. <template id="s_news_carousel_options" inherit_id="website.snippet_options">
  69. <xpath expr="//div[@data-js='background_position']" position="attributes">
  70. <attribute name="data-exclude" add=".s_news_carousel .carousel-item" separator=","/>
  71. </xpath>
  72. <xpath expr="//div[@id='so_main_colorpicker']" position="attributes">
  73. <attribute name="data-exclude" add=".s_news_carousel .carousel-item" separator=","/>
  74. </xpath>
  75. <xpath expr="//div[@data-js='background']" position="attributes">
  76. <attribute name="data-exclude" add=".s_news_carousel .carousel-item" separator=","/>
  77. </xpath>
  78. </template>
  79. </odoo>