templates/ui-modals.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: 'Modals'}) }}
  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: 'Modals'}) }}
  18.                         <div class="row">
  19.                             <div class="col-12">
  20.                                 <div class="card">
  21.                                     <div class="card-header">
  22.                                         <h4 class="card-title">Modals Examples</h4>
  23.                                         <p class="card-title-desc">Modals are streamlined, but flexible
  24.                                             dialog prompts powered by JavaScript. They support a number of use cases
  25.                                             from user notification to completely custom content and feature a
  26.                                             handful of helpful subcomponents, sizes, and more.</p>
  27.                                     </div><!-- end card header -->
  28.                                     <div class="card-body">
  29.                                         <div class="modal bs-example-modal" tabindex="-1" role="dialog">
  30.                                             <div class="modal-dialog" role="document">
  31.                                                 <div class="modal-content">
  32.                                                     <div class="modal-header">
  33.                                                         <h5 class="modal-title">Modal title</h5>
  34.                                                         <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  35.                                                     </div>
  36.                                                     <div class="modal-body">
  37.                                                         <p>One fine body&hellip;</p>
  38.                                                     </div>
  39.                                                     <div class="modal-footer">
  40.                                                         <button type="button" class="btn btn-primary">Save changes</button>
  41.                                                         <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
  42.                                                     </div>
  43.                                                 </div><!-- /.modal-content -->
  44.                                             </div><!-- /.modal-dialog -->
  45.                                         </div><!-- /.modal -->
  46.                                     </div><!-- end card-body -->
  47.                                 </div><!-- end card -->
  48.                             </div><!-- end col -->
  49.                         </div><!-- end row -->
  50.                         <div class="row">
  51.                             <div class="col-lg-6">
  52.                                 <div class="card">
  53.                                     <div class="card-header">
  54.                                         <h4 class="card-title">Default Modal</h4>
  55.                                         <p class="card-title-desc">Toggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page.</p>
  56.                                     </div><!-- end card header -->
  57.                                     <div class="card-body">
  58.                                         <div>
  59.                                             <button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal" data-bs-target="#myModal">Standard modal</button>
  60.                                             <!-- sample modal content -->
  61.                                             <div id="myModal" class="modal fade" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true" data-bs-scroll="true">
  62.                                                 <div class="modal-dialog">
  63.                                                     <div class="modal-content">
  64.                                                         <div class="modal-header">
  65.                                                             <h5 class="modal-title" id="myModalLabel">Default Modal Heading</h5>
  66.                                                             <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  67.                                                         </div>
  68.                                                         <div class="modal-body">
  69.                                                             <h5>Overflowing text to show scroll behavior</h5>
  70.                                                             <p>Cras mattis consectetur purus sit amet fermentum.
  71.                                                                 Cras justo odio, dapibus ac facilisis in,
  72.                                                                 egestas eget quam. Morbi leo risus, porta ac
  73.                                                                 consectetur ac, vestibulum at eros.</p>
  74.                                                             <p>Praesent commodo cursus magna, vel scelerisque
  75.                                                                 nisl consectetur et. Vivamus sagittis lacus vel
  76.                                                                 augue laoreet rutrum faucibus dolor auctor.</p>
  77.                                                             <p>Aenean lacinia bibendum nulla sed consectetur.
  78.                                                                 Praesent commodo cursus magna, vel scelerisque
  79.                                                                 nisl consectetur et. Donec sed odio dui. Donec
  80.                                                                 ullamcorper nulla non metus auctor
  81.                                                                 fringilla.</p>
  82.                                                             <p>Cras mattis consectetur purus sit amet fermentum.
  83.                                                                 Cras justo odio, dapibus ac facilisis in,
  84.                                                                 egestas eget quam. Morbi leo risus, porta ac
  85.                                                                 consectetur ac, vestibulum at eros.</p>
  86.                                                             <p>Praesent commodo cursus magna, vel scelerisque
  87.                                                                 nisl consectetur et. Vivamus sagittis lacus vel
  88.                                                                 augue laoreet rutrum faucibus dolor auctor.</p>
  89.                                                             <p>Aenean lacinia bibendum nulla sed consectetur.
  90.                                                                 Praesent commodo cursus magna, vel scelerisque
  91.                                                                 nisl consectetur et. Donec sed odio dui. Donec
  92.                                                                 ullamcorper nulla non metus auctor
  93.                                                                 fringilla.</p>
  94.                                                             <p>Cras mattis consectetur purus sit amet fermentum.
  95.                                                                 Cras justo odio, dapibus ac facilisis in,
  96.                                                                 egestas eget quam. Morbi leo risus, porta ac
  97.                                                                 consectetur ac, vestibulum at eros.</p>
  98.                                                         </div>
  99.                                                         <div class="modal-footer">
  100.                                                             <button type="button" class="btn btn-secondary waves-effect" data-bs-dismiss="modal">Close</button>
  101.                                                             <button type="button" class="btn btn-primary waves-effect waves-light">Save changes</button>
  102.                                                         </div>
  103.                                                     </div><!-- /.modal-content -->
  104.                                                 </div><!-- /.modal-dialog -->
  105.                                             </div><!-- /.modal -->
  106.                                         </div> <!-- end preview-->
  107.                                     </div><!-- end card-body -->
  108.                                 </div><!-- end card -->
  109.                             </div><!-- end col -->
  110.                             <div class="col-lg-6">
  111.                                 <div class="card">
  112.                                     <div class="card-header">
  113.                                         <h4 class="card-title">Fullscreen Modal</h4>
  114.                                         <p class="card-title-desc">Another override is the option to pop up a modal that covers the user viewport, available via modifier classes that are placed a <code>.modal-fullscreen</code>.</p>
  115.                                     </div><!-- end card header -->
  116.                                     <div class="card-body">
  117.                                         <div>
  118.                                             <button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal" data-bs-target="#exampleModalFullscreen">Fullscreen modal</button>
  119.                                             <!-- sample modal content -->
  120.                                             <div id="exampleModalFullscreen" class="modal fade" tabindex="-1" aria-labelledby="exampleModalFullscreenLabel" aria-hidden="true">
  121.                                                 <div class="modal-dialog modal-fullscreen">
  122.                                                     <div class="modal-content">
  123.                                                         <div class="modal-header">
  124.                                                             <h5 class="modal-title" id="exampleModalFullscreenLabel">Fullscreen Modal</h5>
  125.                                                             <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  126.                                                         </div>
  127.                                                         <div class="modal-body">
  128.                                                             <h5>Overflowing text to show scroll behavior</h5>
  129.                                                             <p>Cras mattis consectetur purus sit amet fermentum.
  130.                                                                 Cras justo odio, dapibus ac facilisis in,
  131.                                                                 egestas eget quam. Morbi leo risus, porta ac
  132.                                                                 consectetur ac, vestibulum at eros.</p>
  133.                                                             <p>Praesent commodo cursus magna, vel scelerisque
  134.                                                                 nisl consectetur et. Vivamus sagittis lacus vel
  135.                                                                 augue laoreet rutrum faucibus dolor auctor.</p>
  136.                                                             <p>Aenean lacinia bibendum nulla sed consectetur.
  137.                                                                 Praesent commodo cursus magna, vel scelerisque
  138.                                                                 nisl consectetur et. Donec sed odio dui. Donec
  139.                                                                 ullamcorper nulla non metus auctor
  140.                                                                 fringilla.</p>
  141.                                                             <p>Cras mattis consectetur purus sit amet fermentum.
  142.                                                                 Cras justo odio, dapibus ac facilisis in,
  143.                                                                 egestas eget quam. Morbi leo risus, porta ac
  144.                                                                 consectetur ac, vestibulum at eros.</p>
  145.                                                             <p>Praesent commodo cursus magna, vel scelerisque
  146.                                                                 nisl consectetur et. Vivamus sagittis lacus vel
  147.                                                                 augue laoreet rutrum faucibus dolor auctor.</p>
  148.                                                             <p>Aenean lacinia bibendum nulla sed consectetur.
  149.                                                                 Praesent commodo cursus magna, vel scelerisque
  150.                                                                 nisl consectetur et. Donec sed odio dui. Donec
  151.                                                                 ullamcorper nulla non metus auctor
  152.                                                                 fringilla.</p>
  153.                                                             <p>Cras mattis consectetur purus sit amet fermentum.
  154.                                                                 Cras justo odio, dapibus ac facilisis in,
  155.                                                                 egestas eget quam. Morbi leo risus, porta ac
  156.                                                                 consectetur ac, vestibulum at eros.</p>
  157.                                                         </div>
  158.                                                         <div class="modal-footer">
  159.                                                             <button type="button" class="btn btn-secondary waves-effect" data-bs-dismiss="modal">Close</button>
  160.                                                             <button type="button" class="btn btn-primary waves-effect waves-light">Save changes</button>
  161.                                                         </div>
  162.                                                     </div><!-- /.modal-content -->
  163.                                                 </div><!-- /.modal-dialog -->
  164.                                             </div><!-- /.modal -->
  165.                                         </div> <!-- end preview-->
  166.                                     </div><!-- end card-body -->
  167.                                 </div><!-- end card -->
  168.                             </div><!-- end col -->
  169.                         </div><!-- end row -->
  170.                         <div class="row">
  171.                             <div class="col-lg-6">
  172.                                 <div class="card">
  173.                                     <div class="card-header">
  174.                                         <h4 class="card-title">Optional Sizes</h4>
  175.                                         <p class="card-title-desc">Modals have three optional sizes, available via modifier classes to be placed on a <code>.modal-dialog</code>.</p>
  176.                                     </div><!-- end card header -->
  177.                                     <div class="card-body">
  178.                                         <div class="d-flex flex-wrap gap-3">
  179.                                             <div>
  180.                                                 <!-- Extra Large modal button -->
  181.                                                 <button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal" data-bs-target=".bs-example-modal-xl">Extra large modal</button>
  182.                                                 <!--  Extra Large modal example -->
  183.                                                 <div class="modal fade bs-example-modal-xl" tabindex="-1" role="dialog" aria-labelledby="myExtraLargeModalLabel" aria-hidden="true">
  184.                                                     <div class="modal-dialog modal-xl">
  185.                                                         <div class="modal-content">
  186.                                                             <div class="modal-header">
  187.                                                                 <h5 class="modal-title" id="myExtraLargeModalLabel">Extra large modal</h5>
  188.                                                                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  189.                                                             </div>
  190.                                                             <div class="modal-body">
  191.                                                                 <p>Cras mattis consectetur purus sit amet fermentum.
  192.                                                                     Cras justo odio, dapibus ac facilisis in,
  193.                                                                     egestas eget quam. Morbi leo risus, porta ac
  194.                                                                     consectetur ac, vestibulum at eros.</p>
  195.                                                                 <p>Praesent commodo cursus magna, vel scelerisque
  196.                                                                     nisl consectetur et. Vivamus sagittis lacus vel
  197.                                                                     augue laoreet rutrum faucibus dolor auctor.</p>
  198.                                                                 <p class="mb-0">Aenean lacinia bibendum nulla sed consectetur.
  199.                                                                     Praesent commodo cursus magna, vel scelerisque
  200.                                                                     nisl consectetur et. Donec sed odio dui. Donec
  201.                                                                     ullamcorper nulla non metus auctor
  202.                                                                     fringilla.</p>
  203.                                                             </div>
  204.                                                         </div><!-- /.modal-content -->
  205.                                                     </div><!-- /.modal-dialog -->
  206.                                                 </div><!-- /.modal -->
  207.                                             </div>
  208.                                             <div>
  209.                                                 <!-- Large modal button -->
  210.                                                 <button type="button" class="btn btn-light waves-effect" data-bs-toggle="modal"
  211.                                                     data-bs-target=".bs-example-modal-lg">Large modal</button>
  212.                                             
  213.                                                 <!--  Large modal example -->
  214.                                                 <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel"
  215.                                                     aria-hidden="true">
  216.                                                     <div class="modal-dialog modal-lg">
  217.                                                         <div class="modal-content">
  218.                                                             <div class="modal-header">
  219.                                                                 <h5 class="modal-title" id="myLargeModalLabel">Large modal</h5>
  220.                                                                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  221.                                                             </div>
  222.                                                             <div class="modal-body">
  223.                                                                 <p>Cras mattis consectetur purus sit amet fermentum.
  224.                                                                     Cras justo odio, dapibus ac facilisis in,
  225.                                                                     egestas eget quam. Morbi leo risus, porta ac
  226.                                                                     consectetur ac, vestibulum at eros.</p>
  227.                                                                 <p>Praesent commodo cursus magna, vel scelerisque
  228.                                                                     nisl consectetur et. Vivamus sagittis lacus vel
  229.                                                                     augue laoreet rutrum faucibus dolor auctor.</p>
  230.                                                                 <p class="mb-0">Aenean lacinia bibendum nulla sed consectetur.
  231.                                                                     Praesent commodo cursus magna, vel scelerisque
  232.                                                                     nisl consectetur et. Donec sed odio dui. Donec
  233.                                                                     ullamcorper nulla non metus auctor
  234.                                                                     fringilla.</p>
  235.                                                             </div>
  236.                                                         </div><!-- /.modal-content -->
  237.                                                     </div><!-- /.modal-dialog -->
  238.                                                 </div><!-- /.modal -->
  239.                                             </div>
  240.                                             <div>
  241.                                                 <!-- Small modal button -->
  242.                                                 <button type="button" class="btn btn-success waves-effect waves-light" data-bs-toggle="modal" data-bs-target=".bs-example-modal-sm">Small modal</button>
  243.                                                 <!--  Small modal example -->
  244.                                                 <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
  245.                                                     <div class="modal-dialog modal-sm">
  246.                                                         <div class="modal-content">
  247.                                                             <div class="modal-header">
  248.                                                                 <h5 class="modal-title" id="mySmallModalLabel">Small modal</h5>
  249.                                                                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  250.                                                             </div>
  251.                                                             <div class="modal-body">
  252.                                                                 <p>Cras mattis consectetur purus sit amet fermentum.
  253.                                                                     Cras justo odio, dapibus ac facilisis in,
  254.                                                                     egestas eget quam. Morbi leo risus, porta ac
  255.                                                                     consectetur ac, vestibulum at eros.</p>
  256.                                                                 <p>Praesent commodo cursus magna, vel scelerisque
  257.                                                                     nisl consectetur et. Vivamus sagittis lacus vel
  258.                                                                     augue laoreet rutrum faucibus dolor auctor.</p>
  259.                                                                 <p class="mb-0">Aenean lacinia bibendum nulla sed consectetur.
  260.                                                                     Praesent commodo cursus magna, vel scelerisque
  261.                                                                     nisl consectetur et. Donec sed odio dui. Donec
  262.                                                                     ullamcorper nulla non metus auctor
  263.                                                                     fringilla.</p>
  264.                                                             </div>
  265.                                                         </div><!-- /.modal-content -->
  266.                                                     </div><!-- /.modal-dialog -->
  267.                                                 </div><!-- /.modal -->
  268.                                             </div>
  269.                                         </div>
  270.                                     </div><!-- end card-body -->
  271.                                 </div><!-- end card -->
  272.                             </div><!-- end col -->
  273.                             <div class="col-lg-6">
  274.                                 <div class="card">
  275.                                     <div class="card-header">
  276.                                         <h5 class="card-title">Vertically Centered</h5>
  277.                                         <p class="card-title-desc">Add <code>.modal-dialog-centered</code> to <code>.modal-dialog</code> to vertically center the modal.</p>
  278.                                     </div><!-- end card header -->
  279.                                     <div class="card-body">
  280.                                         <div>
  281.                                             <!-- center modal -->
  282.                                             <button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal" data-bs-target=".bs-example-modal-center">Center modal</button>
  283.                                             <div class="modal fade bs-example-modal-center" tabindex="-1" role="dialog" aria-hidden="true">
  284.                                                 <div class="modal-dialog modal-dialog-centered">
  285.                                                     <div class="modal-content">
  286.                                                         <div class="modal-header">
  287.                                                             <h5 class="modal-title">Center modal</h5>
  288.                                                             <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  289.                                                         </div>
  290.                                                         <div class="modal-body">
  291.                                                             <p>Cras mattis consectetur purus sit amet fermentum.
  292.                                                                 Cras justo odio, dapibus ac facilisis in,
  293.                                                                 egestas eget quam. Morbi leo risus, porta ac
  294.                                                                 consectetur ac, vestibulum at eros.</p>
  295.                                                             <p>Praesent commodo cursus magna, vel scelerisque
  296.                                                                 nisl consectetur et. Vivamus sagittis lacus vel
  297.                                                                 augue laoreet rutrum faucibus dolor auctor.</p>
  298.                                                             <p class="mb-0">Aenean lacinia bibendum nulla sed consectetur.
  299.                                                                 Praesent commodo cursus magna, vel scelerisque
  300.                                                                 nisl consectetur et. Donec sed odio dui. Donec
  301.                                                                 ullamcorper nulla non metus auctor
  302.                                                                 fringilla.
  303.                                                             </p>
  304.                                                         </div>
  305.                                                     </div><!-- /.modal-content -->
  306.                                                 </div><!-- /.modal-dialog -->
  307.                                             </div><!-- /.modal -->
  308.                                         </div>
  309.                                     </div><!-- end card body -->
  310.                                 </div><!-- end card -->
  311.                             </div><!-- end col -->
  312.                         </div><!-- end row -->
  313.                         <div class="row">
  314.                             <div class="col-lg-6">
  315.                                 <div class="card">
  316.                                     <div class="card-header">
  317.                                         <h5 class="card-title">Scrollable Modal</h5>
  318.                                         <p class="card-title-desc">Scrolling long content modal and You can also create a scrollable modal that allows scroll the modal body by adding <code>.modal-dialog-scrollable</code> to <code>.modal-dialog</code>.</p>
  319.                                     </div><!-- end card header -->
  320.                                     <div class="card-body">
  321.                                         <div class="d-flex flex-wrap gap-3">
  322.                                     
  323.                                             <div>
  324.                                                 <!-- Scrollable modal button -->
  325.                                                 <button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal"
  326.                                                     data-bs-target="#exampleModalLongScrollable">Long Scrollable Modal</button>
  327.                                     
  328.                                                 <!-- Scrollable modal -->
  329.                                                 <div class="modal fade" id="exampleModalLongScrollable" tabindex="-1" role="dialog"
  330.                                                     aria-labelledby="exampleModalLongScrollableTitle" aria-hidden="true">
  331.                                                     <div class="modal-dialog">
  332.                                                         <div class="modal-content">
  333.                                                             <div class="modal-header">
  334.                                                                 <h5 class="modal-title" id="exampleModalLongScrollableTitle">Long Scrollable Modal</h5>
  335.                                                                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  336.                                                             </div>
  337.                                                             <div class="modal-body">
  338.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  339.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  340.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  341.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  342.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  343.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  344.                                                                     auctor fringilla.</p>
  345.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  346.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  347.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  348.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  349.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  350.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  351.                                                                     auctor fringilla.</p>
  352.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  353.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  354.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  355.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  356.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  357.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  358.                                                                     auctor fringilla.</p>
  359.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  360.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  361.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  362.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  363.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  364.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  365.                                                                     auctor fringilla.</p>
  366.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  367.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  368.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  369.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  370.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  371.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  372.                                                                     auctor fringilla.</p>
  373.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  374.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  375.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  376.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  377.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  378.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  379.                                                                     auctor fringilla.</p>
  380.                                                             </div>
  381.                                                             <div class="modal-footer">
  382.                                                                 <button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
  383.                                                                 <button type="button" class="btn btn-primary">Save changes</button>
  384.                                                             </div>
  385.                                                         </div><!-- /.modal-content -->
  386.                                                     </div><!-- /.modal-dialog -->
  387.                                                 </div><!-- /.modal -->
  388.                                             </div>
  389.                                             <div>
  390.                                                 <!-- Scrollable modal button -->
  391.                                                 <button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal"
  392.                                                     data-bs-target="#exampleModalScrollable">Scrollable Modal</button>
  393.                                     
  394.                                                 <!-- Scrollable modal -->
  395.                                                 <div class="modal fade" id="exampleModalScrollable" tabindex="-1" role="dialog"
  396.                                                     aria-labelledby="exampleModalScrollableTitle" aria-hidden="true">
  397.                                                     <div class="modal-dialog modal-dialog-scrollable">
  398.                                                         <div class="modal-content">
  399.                                                             <div class="modal-header">
  400.                                                                 <h5 class="modal-title" id="exampleModalScrollableTitle">Scrollable Modal</h5>
  401.                                                                 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  402.                                                             </div>
  403.                                                             <div class="modal-body">
  404.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  405.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  406.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  407.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  408.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  409.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  410.                                                                     auctor fringilla.</p>
  411.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  412.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  413.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  414.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  415.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  416.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  417.                                                                     auctor fringilla.</p>
  418.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  419.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  420.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  421.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  422.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  423.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  424.                                                                     auctor fringilla.</p>
  425.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  426.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  427.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  428.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  429.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  430.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  431.                                                                     auctor fringilla.</p>
  432.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  433.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  434.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  435.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  436.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  437.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  438.                                                                     auctor fringilla.</p>
  439.                                                                 <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis
  440.                                                                     in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
  441.                                                                 <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis
  442.                                                                     lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
  443.                                                                 <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel
  444.                                                                     scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus
  445.                                                                     auctor fringilla.</p>
  446.                                                             </div>
  447.                                                             <div class="modal-footer">
  448.                                                                 <button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
  449.                                                                 <button type="button" class="btn btn-primary">Save changes</button>
  450.                                                             </div>
  451.                                                         </div><!-- /.modal-content -->
  452.                                                     </div><!-- /.modal-dialog -->
  453.                                                 </div><!-- /.modal -->
  454.                                             </div>
  455.                                         </div>
  456.                                     </div><!-- end card body -->
  457.                                 </div><!-- end card -->
  458.                             </div><!-- end col -->
  459.                             <div class="col-lg-6">
  460.                                 <div class="card">
  461.                                     <div class="card-header">
  462.                                         <h5 class="card-title">Static Backdrop</h5>
  463.                                         <p class="card-title-desc">When backdrop is set to static, the modal will not close when clicking outside it. Click the button below to try it.</p>
  464.                                     </div><!-- end card header -->
  465.                                     <div class="card-body">                                        
  466.                                         <div>
  467.                                             
  468.                                             <!-- Static Backdrop modal Button -->
  469.                                             <button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal" data-bs-target="#staticBackdrop">
  470.                                                 Static backdrop modal
  471.                                             </button>
  472.                                             
  473.                                             
  474.                                             <!-- Static Backdrop Modal -->
  475.                                             <div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" role="dialog" aria-labelledby="staticBackdropLabel" aria-hidden="true">
  476.                                                 <div class="modal-dialog modal-dialog-centered" role="document">
  477.                                                     <div class="modal-content">
  478.                                                         <div class="modal-header">
  479.                                                             <h5 class="modal-title" id="staticBackdropLabel">Modal title</h5>
  480.                                                             <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  481.                                                         </div>
  482.                                                         <div class="modal-body">
  483.                                                             <p>I will not close if you click outside me. Don't even try to press escape key.</p>
  484.                                                         </div>
  485.                                                         <div class="modal-footer">
  486.                                                             <button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
  487.                                                             <button type="button" class="btn btn-primary">Understood</button>
  488.                                                         </div>
  489.                                                     </div>
  490.                                                 </div>
  491.                                             </div>
  492.                                         </div>
  493.                                     </div><!-- end card body -->
  494.                                 </div><!-- end card -->
  495.                             </div><!-- end col -->
  496.                         </div><!-- end row -->
  497.                         <div class="row">
  498.                             <div class="col-lg-6">
  499.                                 <div class="card">
  500.                                     <div class="card-header">
  501.                                         <h4 class="card-title">Varying Modal Content</h4>
  502.                                         <p class="card-title-desc">Use <code>event.relatedTarget</code> and HTML <code>data-bs-*</code> attributes</a> to vary the contents of the modal depending on which button was clicked.</p>
  503.                                     </div><!-- end card header -->
  504.                                     <div class="card-body">
  505.                                         <div class="d-flex flex-wrap gap-3">
  506.                                             <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal"
  507.                                                 data-bs-whatever="@mdo">Open modal for @mdo</button>
  508.                                             <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal"
  509.                                                 data-bs-whatever="@fat">Open modal for @fat</button>
  510.                                             <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal"
  511.                                                 data-bs-whatever="@getbootstrap">Open modal for @getbootstrap</button>
  512.                                         
  513.                                             <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  514.                                                 <div class="modal-dialog">
  515.                                                     <div class="modal-content">
  516.                                                         <div class="modal-header">
  517.                                                             <h5 class="modal-title" id="exampleModalLabel">New message</h5>
  518.                                                             <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  519.                                                         </div>
  520.                                                         <div class="modal-body">
  521.                                                             <form>
  522.                                                                 <div class="mb-3">
  523.                                                                     <label for="recipient-name" class="col-form-label">Recipient:</label>
  524.                                                                     <input type="text" class="form-control" id="recipient-name">
  525.                                                                 </div>
  526.                                                                 <div class="mb-3">
  527.                                                                     <label for="message-text" class="col-form-label">Message:</label>
  528.                                                                     <textarea class="form-control" id="message-text"></textarea>
  529.                                                                 </div>
  530.                                                             </form>
  531.                                                         </div>
  532.                                                         <div class="modal-footer">
  533.                                                             <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
  534.                                                             <button type="button" class="btn btn-primary">Send message</button>
  535.                                                         </div>
  536.                                                     </div>
  537.                                                 </div>
  538.                                             </div>
  539.                                         </div><!-- end preview-->
  540.                                     </div><!-- end card body -->
  541.                                 </div><!-- end card -->
  542.                             </div><!-- end col -->
  543.                             
  544.                             <div class="col-lg-6">
  545.                                 <div class="card">
  546.                                     <div class="card-header">
  547.                                         <h4 class="card-title">Toggle between modals</h4>
  548.                                         <p class="card-title-desc">Toggle between multiple modals with some clever placement of the <code>data-bs-target</code> and <code>data-bs-toggle</code> attributes.</p>
  549.                                     </div><!-- end card header -->
  550.                                     <div class="card-body">
  551.                                         <div>
  552.                                             <button type="button" class="btn btn-primary waves-effect waves-light" data-bs-toggle="modal" data-bs-target="#firstmodal">Open First Modal</button>
  553.                                             <!-- First modal dialog -->
  554.                                             <div class="modal fade" id="firstmodal" aria-hidden="true" aria-labelledby="exampleModalToggleLabel" tabindex="-1">
  555.                                                 <div class="modal-dialog modal-dialog-centered">
  556.                                                     <div class="modal-content">
  557.                                                         <div class="modal-header">
  558.                                                             <h5 class="modal-title" id="exampleModalToggleLabel">Modal 1</h5>
  559.                                                             <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  560.                                                         </div>
  561.                                                         <div class="modal-body">
  562.                                                             <p>Show a second modal and hide this one with the button below.</p>
  563.                                                         </div>
  564.                                                         <div class="modal-footer">
  565.                                                             <!-- Toogle to second dialog -->
  566.                                                             <button class="btn btn-primary" data-bs-target="#secondmodal" data-bs-toggle="modal" data-bs-dismiss="modal">Open Second Modal</button>
  567.                                                         </div>
  568.                                                     </div>
  569.                                                 </div>
  570.                                             </div>
  571.                                             <!-- Second modal dialog -->
  572.                                             <div class="modal fade" id="secondmodal" aria-hidden="true" aria-labelledby="exampleModalToggleLabel2" tabindex="-1">
  573.                                                 <div class="modal-dialog modal-dialog-centered">
  574.                                                     <div class="modal-content">
  575.                                                         <div class="modal-header">
  576.                                                             <h5 class="modal-title" id="exampleModalToggleLabel2">Modal 2</h5>
  577.                                                             <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  578.                                                         </div>
  579.                                                         <div class="modal-body">
  580.                                                             <p>Hide this modal and show the first with the button below.</p>
  581.                                                         </div>
  582.                                                         <div class="modal-footer">
  583.                                                             <!-- Toogle to first dialog, `data-bs-dismiss` attribute can be omitted - clicking on link will close dialog anyway -->
  584.                                                             <button class="btn btn-primary" data-bs-target="#firstmodal" data-bs-toggle="modal" data-bs-dismiss="modal">Back to First</button>
  585.                                                         </div>
  586.                                                     </div>
  587.                                                 </div>
  588.                                             </div>
  589.                                         </div><!-- end preview-->
  590.                                     </div><!-- end card body -->
  591.                                 </div><!-- end card -->
  592.                             </div><!-- end col -->
  593.                         </div><!-- end row -->
  594.                         
  595.                     </div> <!-- container-fluid -->
  596.                 </div>
  597.                 <!-- End Page-content -->
  598.                 
  599.                 {{ include('partials/footer.html.twig') }}
  600.             </div>
  601.             <!-- end main content-->
  602.         </div>
  603.         <!-- END layout-wrapper -->
  604.         {{ include('partials/right-sidebar.html.twig') }}
  605.         {{ include('partials/vendor-scripts.html.twig') }}
  606.         <script src="/js/pages/modal.init.js"></script>
  607.         <script>
  608.             var myModal = document.getElementById('myModal')
  609.             var myInput = document.getElementById('myInput')
  610.             myModal.addEventListener('shown.bs.modal', function () {
  611.             myInput.focus()
  612.             })
  613.         </script>
  614.         <script src="/js/app.js"></script>
  615.     </body>
  616. </html>