templates/ui-carousel.html.twig line 1

Open in your IDE?
  1. {{ include('partials/main.html.twig') }}
  2.     <head>
  3.         
  4.         {{ include('partials/title-meta.html.twig', {title: 'Carousel'}) }}
  5.         {{ include('partials/head-css.html.twig') }}
  6.     </head>
  7.     {{ include('partials/body.html.twig') }}
  8.         <!-- Begin page -->
  9.         <div id="layout-wrapper">
  10.             {{ include('partials/menu.html.twig') }}
  11.             <!-- ============================================================== -->
  12.             <!-- Start right Content here -->
  13.             <!-- ============================================================== -->
  14.             <div class="main-content">
  15.                 <div class="page-content">
  16.                     <div class="container-fluid">
  17.                         {{ include('partials/page-title.html.twig', {pagetitle: 'Components', title: 'Carousel'}) }}
  18.                         <div class="row">
  19.                             <div class="col-xl-6">
  20.                                 <div class="card">
  21.                                     <div class="card-header">
  22.                                         <h4 class="card-title">Slides only</h4>
  23.                                         <p class="card-title-desc">Here’s a carousel with slides only.
  24.                                             Note the presence of the <code>.d-block</code>
  25.                                             and <code>.img-fluid</code> on carousel images
  26.                                             to prevent browser default image alignment.</p>
  27.                                     </div><!-- end card header -->
  28.                                     <div class="card-body">
  29.                                         <div id="carouselExampleSlidesOnly" class="carousel slide" data-bs-ride="carousel" data-bs-interval="3000">
  30.                                             <div class="carousel-inner" role="listbox">
  31.                                                 <div class="carousel-item active">
  32.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-1.jpg" alt="First slide">
  33.                                                 </div>
  34.                                                 <div class="carousel-item">
  35.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-2.jpg" alt="Second slide">
  36.                                                 </div>
  37.                                                 <div class="carousel-item">
  38.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-3.jpg" alt="Third slide">
  39.                                                 </div>
  40.                                             </div>
  41.                                         </div><!-- end carousel -->
  42.                                     </div><!-- end card-body -->
  43.                                 </div><!-- end card -->
  44.                             </div><!-- end col -->
  45.                             <div class="col-xl-6">
  46.                                 <div class="card">
  47.                                     <div class="card-header">
  48.                                         <h4 class="card-title">With Controls</h4>
  49.                                         <p class="card-title-desc">Adding in the previous and next controls.</p>
  50.                                     </div><!-- end card header -->
  51.                                     <div class="card-body">
  52.                                         <div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">
  53.                                             <div class="carousel-inner" role="listbox">
  54.                                                 <div class="carousel-item active">
  55.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-4.jpg" alt="First slide">
  56.                                                 </div>
  57.                                                 <div class="carousel-item">
  58.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-5.jpg" alt="Second slide">
  59.                                                 </div>
  60.                                                 <div class="carousel-item">
  61.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-6.jpg" alt="Third slide">
  62.                                                 </div>
  63.                                             </div>
  64.                                             <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-bs-slide="prev">
  65.                                                 <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  66.                                                 <span class="sr-only">Previous</span>
  67.                                             </a>
  68.                                             <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-bs-slide="next">
  69.                                                 <span class="carousel-control-next-icon" aria-hidden="true"></span>
  70.                                                 <span class="sr-only">Next</span>
  71.                                             </a>
  72.                                         </div><!-- end carousel -->
  73.                                     </div><!-- end card-body -->
  74.                                 </div><!-- end card -->
  75.                             </div><!-- end col -->
  76.                         </div> <!-- end row -->
  77.                         <div class="row">
  78.                             <div class="col-xl-6">
  79.                                 <div class="card">
  80.                                     <div class="card-header">
  81.                                         <h4 class="card-title">With indicators</h4>
  82.                                         <p class="card-title-desc">You can also add the indicators to the
  83.                                             carousel, alongside the controls, too.</p>
  84.                                     </div><!-- end card header -->
  85.                                     <div class="card-body">
  86.                                         <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
  87.                                             <ol class="carousel-indicators">
  88.                                                 <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active"></li>
  89.                                                 <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"></li>
  90.                                                 <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"></li>
  91.                                             </ol>
  92.                                             <div class="carousel-inner" role="listbox">
  93.                                                 <div class="carousel-item active">
  94.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-3.jpg" alt="First slide">
  95.                                                 </div>
  96.                                                 <div class="carousel-item">
  97.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-2.jpg" alt="Second slide">
  98.                                                 </div>
  99.                                                 <div class="carousel-item">
  100.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-1.jpg" alt="Third slide">
  101.                                                 </div>
  102.                                             </div>
  103.                                             <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-bs-slide="prev">
  104.                                                 <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  105.                                                 <span class="sr-only">Previous</span>
  106.                                             </a>
  107.                                             <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-bs-slide="next">
  108.                                                 <span class="carousel-control-next-icon" aria-hidden="true"></span>
  109.                                                 <span class="sr-only">Next</span>
  110.                                             </a>
  111.                                         </div><!-- end carousel -->
  112.                                     </div><!-- end card-body -->
  113.                                 </div><!-- end card -->
  114.                             </div> <!-- end col -->
  115.                             <div class="col-xl-6">
  116.                                 <div class="card">
  117.                                     <div class="card-header">
  118.                                         <h4 class="card-title">With captions</h4>
  119.                                         <p class="card-title-desc">Add captions to your slides easily with the <code>.carousel-caption</code> element within
  120.                                             any <code>.carousel-item</code>.</p>
  121.                                     </div><!-- end card header -->
  122.                                     <div class="card-body">
  123.                                         <div id="carouselExampleCaption" class="carousel slide" data-bs-ride="carousel">
  124.                                             <div class="carousel-inner" role="listbox">
  125.                                                 <div class="carousel-item active">
  126.                                                     <img src="/images/small/img-7.jpg" alt="..." class="d-block img-fluid mx-auto">
  127.                                                     <div class="carousel-caption d-none d-md-block text-white-50">
  128.                                                         <h5 class="text-white">First slide label</h5>
  129.                                                         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
  130.                                                     </div>
  131.                                                 </div>
  132.                                                 <div class="carousel-item">
  133.                                                     <img src="/images/small/img-5.jpg" alt="..." class="d-block img-fluid mx-auto">
  134.                                                     <div class="carousel-caption d-none d-md-block text-white-50">
  135.                                                         <h5 class="text-white">Second slide label</h5>
  136.                                                         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
  137.                                                     </div>
  138.                                                 </div>
  139.                                                 <div class="carousel-item">
  140.                                                     <img src="/images/small/img-4.jpg" alt="..." class="d-block img-fluid mx-auto">
  141.                                                     <div class="carousel-caption d-none d-md-block text-white-50">
  142.                                                         <h5 class="text-white">Third slide label</h5>
  143.                                                         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
  144.                                                     </div>
  145.                                                 </div>
  146.                                             </div>
  147.                                             <a class="carousel-control-prev" href="#carouselExampleCaption" role="button" data-bs-slide="prev">
  148.                                                 <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  149.                                                 <span class="sr-only">Previous</span>
  150.                                             </a>
  151.                                             <a class="carousel-control-next" href="#carouselExampleCaption" role="button" data-bs-slide="next">
  152.                                                 <span class="carousel-control-next-icon" aria-hidden="true"></span>
  153.                                                 <span class="sr-only">Next</span>
  154.                                             </a>
  155.                                         </div><!-- end carousel -->
  156.                                     </div><!-- end card-body -->
  157.                                 </div><!-- end card -->
  158.                             </div> <!-- end col -->
  159.                         </div> <!-- end row -->
  160.                         <div class="row">
  161.                             <div class="col-xl-6">
  162.                                 <div class="card">
  163.                                     <div class="card-header">
  164.                                         <h4 class="card-title">Crossfade</h4>
  165.                                         <p class="card-title-desc">Add <code>.carousel-fade</code> to your carousel to animate slides with a fade transition instead of a slide.</p>
  166.                                     </div><!-- end card header -->
  167.                                     <div class="card-body">
  168.                                         <div id="carouselExampleFade" class="carousel slide carousel-fade" data-ride="carousel">
  169.                                             <ol class="carousel-indicators">
  170.                                                 <li data-bs-target="#carouselExampleFade" data-bs-slide-to="0" class="active"></li>
  171.                                                 <li data-bs-target="#carouselExampleFade" data-bs-slide-to="1"></li>
  172.                                                 <li data-bs-target="#carouselExampleFade" data-bs-slide-to="2"></li>
  173.                                             </ol>
  174.                                             <div class="carousel-inner">
  175.                                                 <div class="carousel-item active">
  176.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-1.jpg" alt="First slide">
  177.                                                 </div>
  178.                                                 <div class="carousel-item">
  179.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-2.jpg" alt="Second slide">
  180.                                                 </div>
  181.                                                 <div class="carousel-item">
  182.                                                     <img class="d-block img-fluid mx-auto" src="/images/small/img-3.jpg" alt="Third slide">
  183.                                                 </div>
  184.                                             </div>
  185.                                             <a class="carousel-control-prev" href="#carouselExampleFade" role="button" data-bs-slide="prev">
  186.                                                 <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  187.                                                 <span class="sr-only">Previous</span>
  188.                                             </a>
  189.                                             <a class="carousel-control-next" href="#carouselExampleFade" role="button" data-bs-slide="next">
  190.                                                 <span class="carousel-control-next-icon" aria-hidden="true"></span>
  191.                                                 <span class="sr-only">Next</span>
  192.                                             </a>
  193.                                         </div><!-- end carousel -->
  194.                                     </div><!-- end card-body -->
  195.                                 </div><!-- end card -->
  196.                             </div> <!-- end col -->
  197.                         </div><!-- end row -->
  198.                     </div>
  199.                     <!-- container-fluid -->
  200.                 </div>
  201.                 <!-- End Page-content -->
  202.                 {{ include('partials/footer.html.twig') }}
  203.             </div>
  204.             <!-- end main content-->
  205.         </div>
  206.         <!-- END layout-wrapper -->
  207.         {{ include('partials/right-sidebar.html.twig') }}
  208.         {{ include('partials/vendor-scripts.html.twig') }}
  209.         <script src="/js/app.js"></script>
  210.     </body>
  211. </html>