templates/form-advanced.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: 'Forms Advanced Plugins'}) }}
  5.         <!-- choices css -->
  6.         <link href="/libs/choices.js/assets/styles/choices.min.css" rel="stylesheet" type="text/css" />
  7.         <!-- color picker css -->
  8.         <link rel="stylesheet" href="/libs/@simonwep/pickr/dist/themes/classic.min.css"/> <!-- 'classic' theme -->
  9.         <link rel="stylesheet" href="/libs/@simonwep/pickr/dist/themes/monolith.min.css"/> <!-- 'monolith' theme -->
  10.         <link rel="stylesheet" href="/libs/@simonwep/pickr/dist/themes/nano.min.css"/> <!-- 'nano' theme -->
  11.         <!-- datepicker css -->
  12.         <link rel="stylesheet" href="/libs/flatpickr/dist/flatpickr.min.css">
  13.         {{ include('partials/head-css.html.twig') }}
  14.     </head>
  15.     {{ include('partials/body.html.twig') }}
  16.         <!-- Begin page -->
  17.         <div id="layout-wrapper">
  18.             {{ include('partials/menu.html.twig') }}
  19.             <!-- ============================================================== -->
  20.             <!-- Start right Content here -->
  21.             <!-- ============================================================== -->
  22.             <div class="main-content">
  23.                 <div class="page-content">
  24.                     <div class="container-fluid">
  25.                         {{ include('partials/page-title.html.twig', {pagetitle: 'Forms', title: 'Forms Advanced Plugins'}) }}
  26.                         <div class="row">
  27.                             <div class="col-lg-12">
  28.                                 <div class="card">
  29.                                     <div class="card-header">
  30.                                         <h4 class="card-title">Css Switch</h4>
  31.                                         <p class="card-title-desc">Here are a few types of switches. </p>
  32.                                     </div>
  33.                                     <!-- end card header -->
  34.                                     <div class="card-body">
  35.                                         <div class="row">
  36.                                             <div class="col-lg-6">
  37.                                                 <h5 class="font-size-14 mb-3">Example switch</h5>
  38.                                                 <div class="d-flex flex-wrap gap-2">
  39.                                                     <input type="checkbox" id="switch1" switch="none" checked />
  40.                                                     <label for="switch1" data-on-label="On" data-off-label="Off"></label>
  41.     
  42.                                                     <input type="checkbox" id="switch2" switch="default" checked />
  43.                                                     <label for="switch2" data-on-label="" data-off-label=""></label>
  44.     
  45.                                                     <input type="checkbox" id="switch3" switch="bool" checked />
  46.                                                     <label for="switch3" data-on-label="Yes" data-off-label="No"></label>
  47.     
  48.                                                     <input type="checkbox" id="switch6" switch="primary" checked />
  49.                                                     <label for="switch6" data-on-label="Yes" data-off-label="No"></label>
  50.     
  51.                                                     <input type="checkbox" id="switch4" switch="success" checked />
  52.                                                     <label for="switch4" data-on-label="Yes" data-off-label="No"></label>
  53.     
  54.                                                     <input type="checkbox" id="switch7" switch="info" checked />
  55.                                                     <label for="switch7" data-on-label="Yes" data-off-label="No"></label>
  56.     
  57.                                                     <input type="checkbox" id="switch5" switch="warning" checked />
  58.                                                     <label for="switch5" data-on-label="Yes" data-off-label="No"></label>
  59.     
  60.                                                     <input type="checkbox" id="switch8" switch="danger" checked />
  61.                                                     <label for="switch8" data-on-label="Yes" data-off-label="No"></label>
  62.     
  63.                                                     <input type="checkbox" id="switch9" switch="dark" checked />
  64.                                                     <label for="switch9" data-on-label="Yes" data-off-label="No"></label>
  65.                                                 </div>
  66.                                             </div>
  67.                                             <!-- end col -->
  68.     
  69.                                             <div class="col-lg-6">
  70.                                                 <div class="mt-4 mt-lg-0">
  71.                                                     <h5 class="font-size-14 mb-3">Square switch</h5>
  72.                                                     <div class="d-flex flex-wrap gap-2">
  73.                                                         <div class="square-switch">
  74.                                                             <input type="checkbox" id="square-switch1" switch="none" checked />
  75.                                                             <label for="square-switch1" data-on-label="On"
  76.                                                                 data-off-label="Off"></label>
  77.                                                         </div>
  78.                                                         <div class="square-switch">
  79.                                                             <input type="checkbox" id="square-switch2" switch="info" checked />
  80.                                                             <label for="square-switch2" data-on-label="Yes"
  81.                                                                 data-off-label="No"></label>
  82.                                                         </div>
  83.                                                         <div class="square-switch">
  84.                                                             <input type="checkbox" id="square-switch3" switch="bool" checked />
  85.                                                             <label for="square-switch3" data-on-label="Yes"
  86.                                                                 data-off-label="No"></label>
  87.                                                         </div>
  88.                                                         <div class="square-switch">
  89.                                                             <input type="checkbox" id="square-switch4" switch="warning" checked />
  90.                                                             <label for="square-switch4" data-on-label="Yes"
  91.                                                                 data-off-label="No"></label>
  92.                                                         </div>
  93.                                                         <div class="square-switch">
  94.                                                             <input type="checkbox" id="square-switch5" switch="danger" checked />
  95.                                                             <label for="square-switch5" data-on-label="Yes"
  96.                                                                 data-off-label="No"></label>
  97.                                                         </div>
  98.                                                     </div>
  99.                                                 </div>
  100.                                             </div>
  101.                                             <!-- end col -->
  102.                                         </div>
  103.                                         <!-- end row -->
  104.                                     </div>
  105.                                     <!-- end card body -->
  106.                                 </div>
  107.                                 <!-- end card -->
  108.                             </div>
  109.                             <!-- end col -->
  110.                         </div>
  111.                         <!-- end row -->
  112.                         <div class="row">
  113.                             <div class="col-lg-12">
  114.                                 <div class="card">
  115.                                     <div class="card-header">
  116.                                         <h4 class="card-title">Choices</h4>
  117.                                         <p class="card-title-desc">Choices.js is a lightweight, configurable select box/text input plugin.</p>
  118.                                     </div>
  119.                                     <!-- end card header -->
  120.                                     <div class="card-body">
  121.                                         <div>
  122.                                             <h5 class="font-size-14 mb-3">Single select input Example</h5>
  123.                                             <div class="row">
  124.                                                 <div class="col-lg-4 col-md-6">
  125.                                                     <div class="mb-3">
  126.                                                         <label for="choices-single-default" class="form-label font-size-13 text-muted">Default</label>
  127.                                                         <select class="form-control" data-trigger name="choices-single-default"
  128.                                                             id="choices-single-default"
  129.                                                             placeholder="This is a search placeholder">
  130.                                                             <option value="">This is a placeholder</option>
  131.                                                             <option value="Choice 1">Choice 1</option>
  132.                                                             <option value="Choice 2">Choice 2</option>
  133.                                                             <option value="Choice 3">Choice 3</option>
  134.                                                         </select>
  135.                                                     </div>
  136.                                                 </div>
  137.                                                 <div class="col-lg-4 col-md-6">
  138.                                                     <div class="mb-3">
  139.                                                         <label for="choices-single-groups" class="form-label font-size-13 text-muted">Option
  140.                                                             groups</label>
  141.                                                         <select class="form-control" data-trigger name="choices-single-groups"
  142.                                                             id="choices-single-groups">
  143.                                                             <option value="">Choose a city</option>
  144.                                                             <optgroup label="UK">
  145.                                                                 <option value="London">London</option>
  146.                                                                 <option value="Manchester">Manchester</option>
  147.                                                                 <option value="Liverpool">Liverpool</option>
  148.                                                             </optgroup>
  149.                                                             <optgroup label="FR">
  150.                                                                 <option value="Paris">Paris</option>
  151.                                                                 <option value="Lyon">Lyon</option>
  152.                                                                 <option value="Marseille">Marseille</option>
  153.                                                             </optgroup>
  154.                                                             <optgroup label="DE" disabled>
  155.                                                                 <option value="Hamburg">Hamburg</option>
  156.                                                                 <option value="Munich">Munich</option>
  157.                                                                 <option value="Berlin">Berlin</option>
  158.                                                             </optgroup>
  159.                                                             <optgroup label="US">
  160.                                                                 <option value="New York">New York</option>
  161.                                                                 <option value="Washington" disabled>Washington</option>
  162.                                                                 <option value="Michigan">Michigan</option>
  163.                                                             </optgroup>
  164.                                                             <optgroup label="SP">
  165.                                                                 <option value="Madrid">Madrid</option>
  166.                                                                 <option value="Barcelona">Barcelona</option>
  167.                                                                 <option value="Malaga">Malaga</option>
  168.                                                             </optgroup>
  169.                                                             <optgroup label="CA">
  170.                                                                 <option value="Montreal">Montreal</option>
  171.                                                                 <option value="Toronto">Toronto</option>
  172.                                                                 <option value="Vancouver">Vancouver</option>
  173.                                                             </optgroup>
  174.                                                         </select>
  175.                                                     </div>
  176.                                                 </div>
  177.                                                 <div class="col-lg-4 col-md-6">
  178.                                                     <div class="mb-3">
  179.                                                         <label for="choices-single-no-search" class="form-label font-size-13 text-muted">Options added
  180.                                                             via config with no search</label>
  181.                                                         <select class="form-control" name="choices-single-no-search"
  182.                                                             id="choices-single-no-search">
  183.                                                             <option value="0">Zero</option>
  184.                                                         </select>
  185.                                                     </div>
  186.                                                 </div>
  187.                                                 <div class="col-lg-4 col-md-6">
  188.                                                     <div class="mb-3">
  189.                                                         <label for="choices-single-no-sorting" class="form-label font-size-13 text-muted">Options added
  190.                                                             via config with no search</label>
  191.                                                         <select class="form-control" name="choices-single-no-sorting"
  192.                                                             id="choices-single-no-sorting">
  193.                                                             <option value="Madrid">Madrid</option>
  194.                                                             <option value="Toronto">Toronto</option>
  195.                                                             <option value="Vancouver">Vancouver</option>
  196.                                                             <option value="London">London</option>
  197.                                                             <option value="Manchester">Manchester</option>
  198.                                                             <option value="Liverpool">Liverpool</option>
  199.                                                             <option value="Paris">Paris</option>
  200.                                                             <option value="Malaga">Malaga</option>
  201.                                                             <option value="Washington" disabled>Washington</option>
  202.                                                             <option value="Lyon">Lyon</option>
  203.                                                             <option value="Marseille">Marseille</option>
  204.                                                             <option value="Hamburg">Hamburg</option>
  205.                                                             <option value="Munich">Munich</option>
  206.                                                             <option value="Barcelona">Barcelona</option>
  207.                                                             <option value="Berlin">Berlin</option>
  208.                                                             <option value="Montreal">Montreal</option>
  209.                                                             <option value="New York">New York</option>
  210.                                                             <option value="Michigan">Michigan</option>
  211.                                                         </select>
  212.                                                     </div>
  213.                                                 </div>
  214.                                             </div>
  215.                                             <!-- end row -->
  216.                                         </div>
  217.                                         <!-- Single select input Example -->
  218.                                         <div class="mt-4">
  219.                                             <h5 class="font-size-14 mb-3">Multiple select input</h5>
  220.     
  221.                                             <div class="row">
  222.                                                 <div class="col-lg-4 col-md-6">
  223.                                                     <div class="mb-3">
  224.                                                         <label for="choices-multiple-default" class="form-label font-size-13 text-muted">Default</label>
  225.                                                         <select class="form-control" data-trigger
  226.                                                             name="choices-multiple-default" id="choices-multiple-default"
  227.                                                             placeholder="This is a placeholder" multiple>
  228.                                                             <option value="Choice 1" selected>Choice 1</option>
  229.                                                             <option value="Choice 2">Choice 2</option>
  230.                                                             <option value="Choice 3">Choice 3</option>
  231.                                                             <option value="Choice 4" disabled>Choice 4</option>
  232.                                                         </select>
  233.                                                     </div>
  234.                                                 </div>
  235.     
  236.                                                 <div class="col-lg-4 col-md-6">
  237.                                                     <div class="mb-3">
  238.                                                         <label for="choices-multiple-remove-button" class="form-label font-size-13 text-muted">With
  239.                                                             remove button</label>
  240.                                                         <select class="form-control" name="choices-multiple-remove-button"
  241.                                                             id="choices-multiple-remove-button"
  242.                                                             placeholder="This is a placeholder" multiple>
  243.                                                             <option value="Choice 1" selected>Choice 1</option>
  244.                                                             <option value="Choice 2">Choice 2</option>
  245.                                                             <option value="Choice 3">Choice 3</option>
  246.                                                             <option value="Choice 4">Choice 4</option>
  247.                                                         </select>
  248.                                                     </div>
  249.                                                 </div>
  250.     
  251.                                                 <div class="col-lg-4 col-md-6">
  252.                                                     <div class="mb-3">
  253.                                                         <label for="choices-multiple-groups" class="form-label font-size-13 text-muted">Option
  254.                                                             groups</label>
  255.                                                         <select class="form-control" name="choices-multiple-groups"
  256.                                                             id="choices-multiple-groups" placeholder="This is a placeholder"
  257.                                                             multiple>
  258.                                                             <option value="">Choose a city</option>
  259.                                                             <optgroup label="UK">
  260.                                                                 <option value="London">London</option>
  261.                                                                 <option value="Manchester">Manchester</option>
  262.                                                                 <option value="Liverpool">Liverpool</option>
  263.                                                             </optgroup>
  264.                                                             <optgroup label="FR">
  265.                                                                 <option value="Paris">Paris</option>
  266.                                                                 <option value="Lyon">Lyon</option>
  267.                                                                 <option value="Marseille">Marseille</option>
  268.                                                             </optgroup>
  269.                                                             <optgroup label="DE" disabled>
  270.                                                                 <option value="Hamburg">Hamburg</option>
  271.                                                                 <option value="Munich">Munich</option>
  272.                                                                 <option value="Berlin">Berlin</option>
  273.                                                             </optgroup>
  274.                                                             <optgroup label="US">
  275.                                                                 <option value="New York">New York</option>
  276.                                                                 <option value="Washington" disabled>Washington</option>
  277.                                                                 <option value="Michigan">Michigan</option>
  278.                                                             </optgroup>
  279.                                                             <optgroup label="SP">
  280.                                                                 <option value="Madrid">Madrid</option>
  281.                                                                 <option value="Barcelona">Barcelona</option>
  282.                                                                 <option value="Malaga">Malaga</option>
  283.                                                             </optgroup>
  284.                                                             <optgroup label="CA">
  285.                                                                 <option value="Montreal">Montreal</option>
  286.                                                                 <option value="Toronto">Toronto</option>
  287.                                                                 <option value="Vancouver">Vancouver</option>
  288.                                                             </optgroup>
  289.                                                         </select>
  290.                                                     </div>
  291.                                                 </div>
  292.     
  293.                                             </div>
  294.                                             <!-- end row -->
  295.                                         </div>
  296.                                         <!-- multi select input Example -->
  297.                                         <div class="mt-4">
  298.                                             <h5 class="font-size-14 mb-3">Text inputs</h5>
  299.     
  300.                                             <div class="row">
  301.                                                 <div class="col-lg-4 col-md-6">
  302.                                                     <div class="mb-3">
  303.                                                         <label for="choices-text-remove-button" class="form-label font-size-13 text-muted">Limited to 5
  304.                                                             values with remove button</label>
  305.                                                         <input class="form-control" id="choices-text-remove-button" type="text"
  306.                                                             value="Task-1,Task-2" placeholder="Enter something" />
  307.                                                     </div>
  308.                                                 </div>
  309.                                                 <!-- end col -->
  310.     
  311.                                                 <div class="col-lg-4 col-md-6">
  312.                                                     <div class="mb-3">
  313.                                                         <label for="choices-text-unique-values" class="form-label font-size-13 text-muted">Unique values
  314.                                                             only, no pasting</label>
  315.                                                         <input class="form-control" id="choices-text-unique-values" type="text"
  316.                                                             value="Project-A, Project-B" placeholder="This is a placeholder"
  317.                                                             class="custom class" />
  318.                                                     </div>
  319.                                                 </div>
  320.                                                 <!-- end col -->
  321.                                             </div>
  322.                                             <!-- end row -->
  323.     
  324.                                             <div>
  325.                                                 <label for="choices-text-disabled" class="form-label font-size-13 text-muted">Disabled</label>
  326.                                                 <input class="form-control" id="choices-text-disabled" type="text"
  327.                                                     value="josh@joshuajohnson.co.uk, joe@bloggs.co.uk"
  328.                                                     placeholder="This is a placeholder" />
  329.                                             </div>
  330.                                         </div>
  331.                                     </div>
  332.                                     <!-- end card body -->
  333.                                 </div>
  334.                                 <!-- end card -->
  335.                             </div>
  336.                             <!-- end col -->
  337.                         </div>
  338.                         <!-- end row -->
  339.                         <div class="row">
  340.                             <div class="col-lg-12">
  341.                                 <div class="card">
  342.                                     <div class="card-header">
  343.                                         <h4 class="card-title">Colorpicker</h4>
  344.                                         <p class="card-title-desc">Flat, Simple, Hackable Color-Picker.</p>
  345.                                     </div>
  346.                                     <div class="card-body">
  347.     
  348.                                         <div class="text-center">
  349.                                             <div class="row">
  350.                                                 <div class="col-lg-4">
  351.                                                     <div class="mt-4">
  352.                                                         <h5 class="font-size-14">Classic Demo</h5>
  353.                                                         <div class="classic-colorpicker"></div>
  354.                                                     </div>
  355.                                                 </div>
  356.                                                 <div class="col-lg-4">
  357.                                                     <div class="mt-4">
  358.                                                         <h5 class="font-size-14">Monolith Demo</h5>
  359.                                                         <div class="monolith-colorpicker"></div>
  360.                                                     </div>
  361.                                                 </div>
  362.                                                 <div class="col-lg-4">
  363.                                                     <div class="mt-4">
  364.                                                         <h5 class="font-size-14">Nano Demo</h5>
  365.                                                         <div class="nano-colorpicker"></div>
  366.                                                     </div>
  367.                                                 </div>
  368.                                             </div>
  369.                                         </div>
  370.                                     </div>
  371.                                     <!-- end card body -->
  372.                                 </div>
  373.                                 <!-- end card -->
  374.                             </div>
  375.                             <!-- end col -->
  376.                         </div>
  377.                         <!-- end row -->
  378.                         <div class="row">
  379.                             <div class="col-lg-12">
  380.                                 <div class="card">
  381.                                     <div class="card-header">
  382.                                         <h4 class="card-title">Datepicker</h4>
  383.                                         <p class="card-title-desc">flatpickr is a lightweight and powerful datetime picker.</p>
  384.                                     </div>
  385.                                     <div class="card-body">
  386.     
  387.                                         <form action="#">
  388.                                             <div class="row">
  389.                                                 <div class="col-lg-6">
  390.                                                     <div class="mb-3">
  391.                                                         <label class="form-label">Basic</label>
  392.                                                         <input type="text" class="form-control" id="datepicker-basic">
  393.                                                     </div>
  394.     
  395.                                                     <div class="mb-3">
  396.                                                         <label class="form-label">DateTime</label>
  397.                                                         <input type="text" class="form-control" id="datepicker-datetime">
  398.                                                     </div>
  399.                                                     <div class="mb-3">
  400.                                                         <label class="form-label">Human-friendly Dates</label>
  401.                                                         <input type="text" class="form-control flatpickr-input" id="datepicker-humanfd">
  402.                                                     </div>
  403.     
  404.                                                     <div class="mb-3">
  405.                                                         <label class="form-label">MinDate and MaxDate</label>
  406.                                                         <input type="text" class="form-control" id="datepicker-minmax">
  407.                                                     </div>
  408.     
  409.                                                     <div class="mb-3">
  410.                                                         <label class="form-label">Disabling dates</label>
  411.                                                         <input type="text" class="form-control" id="datepicker-disable">
  412.                                                     </div>
  413.     
  414.                                                     <div class="mb-3">
  415.                                                         <label class="form-label">Selecting multiple dates</label>
  416.                                                         <input type="text" class="form-control" id="datepicker-multiple">
  417.                                                     </div>
  418.     
  419.                                                     <div>
  420.                                                         <label class="form-label">Range</label>
  421.                                                         <input type="text" class="form-control" id="datepicker-range">
  422.                                                     </div>
  423.                                                 </div>
  424.     
  425.                                                 <div class="col-lg-6">
  426.                                                     <div class="mt-3 mt-lg-0">
  427.                                                         <div class="mb-3">
  428.                                                             <label class="form-label">Timepicker</label>
  429.                                                             <input type="text" class="form-control" id="datepicker-timepicker">
  430.                                                         </div>
  431.         
  432.                                                         <div>
  433.                                                             <label class="form-label">Inline Date Picker Demo</label>
  434.                                                             <input type="text" class="form-control" id="datepicker-inline">
  435.                                                         </div>
  436.                                                     </div>
  437.                                                 </div>
  438.                                             </div>
  439.                                         </form>
  440.                                     </div>
  441.                                     <!-- end card body -->
  442.                                 </div>
  443.                                 <!-- end card -->
  444.                             </div>
  445.                             <!-- end col -->
  446.                         </div>
  447.                         <!-- end row -->
  448.                         
  449.                     </div> <!-- container-fluid -->
  450.                 </div>
  451.                 <!-- End Page-content -->
  452.                 
  453.                 {{ include('partials/footer.html.twig') }}
  454.             </div>
  455.             <!-- end main content-->
  456.         </div>
  457.         <!-- END layout-wrapper -->
  458.         {{ include('partials/right-sidebar.html.twig') }}
  459.         {{ include('partials/vendor-scripts.html.twig') }}
  460.         <!-- choices js -->
  461.         <script src="/libs/choices.js/assets/scripts/choices.min.js"></script>
  462.         <!-- color picker js -->
  463.         <script src="/libs/@simonwep/pickr/dist/pickr.min.js"></script>
  464.         <script src="/libs/@simonwep/pickr/dist/pickr.es5.min.js"></script>
  465.         <!-- datepicker js -->
  466.         <script src="/libs/flatpickr/dist/flatpickr.min.js"></script>
  467.         <!-- init js -->
  468.         <script src="/js/pages/form-advanced.init.js"></script>
  469.         <script src="/js/app.js"></script>
  470.     </body>
  471. </html>