templates/extended-sweet-alert.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: 'SweetAlert 2'}) }}
  5.         <!-- Sweet Alert-->
  6.         <link href="/libs/sweetalert2/dist/sweetalert2.min.css" rel="stylesheet" type="text/css" />
  7.         {{ include('partials/head-css.html.twig') }}
  8.     </head>
  9.     {{ include('partials/body.html.twig') }}
  10.         <!-- Begin page -->
  11.         <div id="layout-wrapper">
  12.             {{ include('partials/menu.html.twig') }}
  13.             <!-- ============================================================== -->
  14.             <!-- Start right Content here -->
  15.             <!-- ============================================================== -->
  16.             <div class="main-content">
  17.                 <div class="page-content">
  18.                     <div class="container-fluid">
  19.                         {{ include('partials/page-title.html.twig', {pagetitle: 'Extended', title: 'SweetAlert 2'}) }}
  20.                         <div class="row">
  21.                             <div class="col-12">
  22.                                 <div class="card">
  23.                                     <div class="card-header">
  24.                                         <h4 class="card-title">Examples</h4>
  25.                                         <p class="card-title-desc">A beautiful, responsive, customizable
  26.                                             and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero
  27.                                             dependencies.</p>
  28.                                     </div>
  29.                                     <div class="card-body">
  30.                                         <div class="table-responsive">
  31.                                             <table class="table table-nowrap align-middle justify-content-center mb-0">
  32.                                                 <thead>
  33.                                                     <tr>
  34.                                                         <th scope="col" style="width: 50%;">
  35.                                                             Sweet Alert Type
  36.                                                         </th>
  37.                                                         <th scope="col" class="text-center">
  38.                                                             Sweet Alert Examples
  39.                                                         </th>
  40.                                                     </tr>
  41.                                                 </thead>
  42.                                                 <tbody>
  43.                                                     
  44.                                                     <tr>
  45.                                                         <th scope="row">
  46.                                                             A Basic Message
  47.                                                         </th>
  48.                                                         <td class="text-center">
  49.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-basic">Click me</button>
  50.                                                         </td>
  51.                                                     </tr>
  52.                                                     <tr>
  53.                                                         <th scope="row">
  54.                                                             A Title with a Text Under
  55.                                                         </th>
  56.                                                         <td class="text-center">
  57.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-title">Click me</button>
  58.                                                         </td>
  59.                                                     </tr>
  60.                                                     <tr>
  61.                                                         <th scope="row">
  62.                                                             A success message!
  63.                                                         </th>
  64.                                                         <td class="text-center">
  65.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-success">Click me</button>
  66.                                                         </td>
  67.                                                     </tr>
  68.                                                     <tr>
  69.                                                         <th scope="row">
  70.                                                             A warning message, with a function attached to the "Confirm"-button...
  71.                                                         </th>
  72.                                                         <td class="text-center">
  73.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-warning">Click me</button>
  74.                                                         </td>
  75.                                                     </tr>
  76.                                                     <tr>
  77.                                                         <th scope="row">
  78.                                                             By passing a parameter, you can execute something else for "Cancel".
  79.                                                         </th>
  80.                                                         <td class="text-center">
  81.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-params">Click me</button>
  82.                                                         </td>
  83.                                                     </tr>
  84.                                                     <tr>
  85.                                                         <th scope="row">
  86.                                                             A message with custom Image Header
  87.                                                         </th>
  88.                                                         <td class="text-center">
  89.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-image">Click me</button>
  90.                                                         </td>
  91.                                                     </tr>
  92.                                                     <tr>
  93.                                                         <th scope="row">
  94.                                                             A message with auto close timer
  95.                                                         </th>
  96.                                                         <td class="text-center">
  97.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-close">Click me</button>
  98.                                                         </td>
  99.                                                     </tr>
  100.                                                     <tr>
  101.                                                         <th scope="row">
  102.                                                             Custom HTML description and buttons
  103.                                                         </th>
  104.                                                         <td class="text-center">
  105.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="custom-html-alert">Click me</button>
  106.                                                         </td>
  107.                                                     </tr>
  108.                                                     <tr>
  109.                                                         <th scope="row">
  110.                                                             A custom positioned dialog
  111.                                                         </th>
  112.                                                         <td class="text-center">
  113.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-position">Click me</button>
  114.                                                         </td>
  115.                                                     </tr>
  116.                                                     <tr>
  117.                                                         <th scope="row">
  118.                                                             A message with custom width, padding and background
  119.                                                         </th>
  120.                                                         <td class="text-center">
  121.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="custom-padding-width-alert">Click me</button>
  122.                                                         </td>
  123.                                                     </tr>
  124.                                                     <tr>
  125.                                                         <th scope="row">
  126.                                                             Ajax request example
  127.                                                         </th>
  128.                                                         <td class="text-center">
  129.                                                             <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="ajax-alert">Click me</button>
  130.                                                         </td>
  131.                                                     </tr>
  132.                                                 </tbody>
  133.                                             </table>
  134.                                             <!-- end table -->
  135.                                         </div>
  136.                                         <!-- end table responsive -->
  137.                                         
  138.                                     </div>
  139.                                 </div>
  140.                             </div> <!-- end col -->
  141.                         </div> <!-- end row -->
  142.                     </div> <!-- container-fluid -->
  143.                 </div>
  144.                 <!-- End Page-content -->
  145.                 
  146.                 {{ include('partials/footer.html.twig') }}
  147.             </div>
  148.             <!-- end main content-->
  149.         </div>
  150.         <!-- END layout-wrapper -->
  151.         {{ include('partials/right-sidebar.html.twig') }}
  152.         {{ include('partials/vendor-scripts.html.twig') }}
  153.         <!-- Sweet Alerts js -->
  154.         <script src="/libs/sweetalert2/dist/sweetalert2.min.js"></script>
  155.         <!-- Sweet alert init js-->
  156.         <script src="/js/pages/sweetalert.init.js"></script>
  157.         <script src="/js/app.js"></script>
  158.     </body>
  159. </html>