templates/extended-rangeslider.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: 'Range Slider'}) }}
  5.         <!-- nouisliderribute css -->
  6.         <link rel="stylesheet" href="/libs/nouislider/dist/nouislider.min.css">
  7.         {{ include('partials/head-css.html.twig') }}
  8.     </head>
  9.     {{ include('partials/body.html.twig') }}
  10.         <!-- Begin page -->
  11.         <div id="layout-wrapper">
  12.             {{ include('partials/menu.html.twig') }}
  13.             <!-- ============================================================== -->
  14.             <!-- Start right Content here -->
  15.             <!-- ============================================================== -->
  16.             <div class="main-content">
  17.                 <div class="page-content">
  18.                     <div class="container-fluid">
  19.                         {{ include('partials/page-title.html.twig', {pagetitle: 'Extended', title: 'Range Slider'}) }}
  20.                         <div class="row">
  21.                             <div class="col-lg-12">
  22.                                 <div class="card">
  23.                                     <div class="card-header">
  24.                                         <h5 class="card-title">noUiSlider</h5>
  25.                                         <p class="card-title-desc">noUiSlider is lightweight Javascript range slider</p>
  26.                                     </div>
  27.                                     <div class="card-body">
  28.                                         <div>
  29.                                             <div class="mb-5">
  30.                                                 <div class="row align-items-center">
  31.                                                     <div class="col-lg-3">
  32.                                                         <h5 class="font-size-14">Basic Example</h5>
  33.                                                     </div>
  34.                                                     <div class="col-lg-9">
  35.                                                         <div id="slider"></div>
  36.                                                     </div>
  37.                                                 </div>
  38.                                             </div>
  39.                                             <div class="mb-5">
  40.                                                 <div class="row">
  41.                                                     <div class="col-lg-3">
  42.                                                         <h5 class="font-size-14">Colorpicker</h5>
  43.                                                     </div>
  44.                                                     <div class="col-lg-9">
  45.                                                         <div class="sliders" id="red"></div>
  46.                                                         <div class="sliders" id="green"></div>
  47.                                                         <div class="sliders" id="blue"></div>
  48.                                             
  49.                                                         <div id="result"></div>
  50.                                                     </div>
  51.                                                 </div>
  52.                                             </div>
  53.                                             <div class="mb-5">
  54.                                                 <div class="row">
  55.                                                     <div class="col-lg-3">
  56.                                                         <h5 class="font-size-14">Using HTML5 input elements</h5>
  57.                                                     </div>
  58.                                                     <div class="col-lg-9">
  59.                                                         <div id="html5"></div>
  60.                                                         <div class="d-flex flex-wrap">
  61.                                                             <select id="input-select" class="form-select"></select>
  62.                                                             <input type="number" class="form-control" min="-20" max="40" step="1" id="input-number">
  63.                                                         </div>
  64.                                                     </div>
  65.                                                 </div>
  66.                                             </div>
  67.                                             <div class="mb-5">
  68.                                                 <div class="row">
  69.                                                     <div class="col-lg-3">
  70.                                                         <h5 class="font-size-14">Non linear slider</h5>
  71.                                                     </div>
  72.                                                     <div class="col-lg-9">
  73.                                                         <div id="nonlinear"></div>
  74.                                                         <span class="example-val" id="lower-value"></span>
  75.                                                         <span class="example-val" id="upper-value"></span>
  76.                                                     </div>
  77.                                                 </div>
  78.                                             </div>
  79.                                             <div class="mb-5">
  80.                                                 <div class="row">
  81.                                                     <div class="col-lg-3">
  82.                                                         <h5 class="font-size-14">Locking sliders together</h5>
  83.                                                     </div>
  84.                                                     <div class="col-lg-9">
  85.                                                         <div class="slider" id="slider1"></div>
  86.                                                         <span class="example-val mt-2" id="slider1-span"></span>
  87.             
  88.                                                         <div class="slider" id="slider2"></div>
  89.                                                         <span class="example-val mt-2" id="slider2-span"></span>
  90.             
  91.                                                         <button id="lockbutton" class="btn btn-primary" style="float: right; margin: 20px 0 0;">Lock</button>
  92.                                                     </div>
  93.                                                 </div>
  94.                                             </div>
  95.                                             <div class="mb-5">
  96.                                                 <div class="row">
  97.                                                     <div class="col-lg-3">
  98.                                                         <h5 class="font-size-14">Only showing tooltips when sliding handle</h5>
  99.                                                     </div>
  100.                                                     <div class="col-lg-9">
  101.                                                         <div class="slider" id="slider-hide"></div>
  102.                                                     </div>
  103.                                                 </div>
  104.                                             </div>
  105.                                             <div class="mb-5">
  106.                                                 <div class="row">
  107.                                                     <div class="col-lg-3">
  108.                                                         <h5 class="font-size-14">Colored Connect Elements</h5>
  109.                                                     </div>
  110.                                                     <div class="col-lg-9">
  111.                                                         <div class="slider" id="slider-color"></div>
  112.                                                     </div>
  113.                                                 </div>
  114.                                             </div>
  115.                                             <div class="mb-5">
  116.                                                 <div class="row">
  117.                                                     <div class="col-lg-3">
  118.                                                         <h5 class="font-size-14">Creating a toggle</h5>
  119.                                                     </div>
  120.                                                     <div class="col-lg-9">
  121.                                                         <div id="slider-toggle"></div>
  122.                                                     </div>
  123.                                                 </div>
  124.                                             </div>
  125.                                             <div class="mb-5">
  126.                                                 <div class="row">
  127.                                                     <div class="col-lg-3">
  128.                                                         <h5 class="font-size-14">Soft limits</h5>
  129.                                                     </div>
  130.                                                     <div class="col-lg-9">
  131.                                                         <div id="soft"></div>
  132.                                                     </div>
  133.                                                 </div>
  134.                                             </div>
  135.                                         </div>
  136.                                     </div>
  137.                                     <!-- end card body -->
  138.                                 </div>
  139.                                 <!-- end card -->
  140.                             </div>
  141.                             <!-- end col -->
  142.                         </div>
  143.                         <!-- end row -->
  144.                         
  145.                     </div> <!-- container-fluid -->
  146.                 </div>
  147.                 <!-- End Page-content -->
  148.                 
  149.                 {{ include('partials/footer.html.twig') }}
  150.             </div>
  151.             <!-- end main content-->
  152.         </div>
  153.         <!-- END layout-wrapper -->
  154.         {{ include('partials/right-sidebar.html.twig') }}
  155.         {{ include('partials/vendor-scripts.html.twig') }}
  156.         <!-- nouisliderribute js -->
  157.         <script src="/libs/nouislider/dist/nouislider.min.js"></script>
  158.         <script src="/libs/wnumb/wNumb.min.js"></script>
  159.         <!-- range slider init -->
  160.         <script src="/js/pages/rangeslider.init.js"></script>
  161.         <script src="/js/app.js"></script>
  162.     </body>
  163. </html>