templates/ui-alerts.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: 'Alerts'}) }}
  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: 'Alerts'}) }}
  18.                         <div class="row">
  19.                             <div class="col-xl-6">
  20.                                 <div class="card">
  21.                                     <div class="card-header">
  22.                                         <h4 class="card-title">Default Alerts</h4>
  23.                                         <p class="card-title-desc">Alerts are available for any length of
  24.                                             text, as well as an optional dismiss button. For proper styling, use one
  25.                                             of the four <strong>required</strong> contextual classes (e.g., <code>.alert-success</code>). For inline
  26.                                             dismissal, use the alerts jQuery plugin.
  27.                                         </p>
  28.                                     </div><!-- end card header-->
  29.                                     <div class="card-body">
  30.                                         <div class="alert alert-primary" role="alert">
  31.                                             A simple primary alert—check it out!
  32.                                         </div>
  33.                                         <div class="alert alert-secondary" role="alert">
  34.                                             A simple secondary alert—check it out!
  35.                                         </div>
  36.                                         <div class="alert alert-success" role="alert">
  37.                                             A simple success alert—check it out!
  38.                                         </div>
  39.                                         <div class="alert alert-danger" role="alert">
  40.                                             A simple danger alert—check it out!
  41.                                         </div>
  42.                                         <div class="alert alert-warning" role="alert">
  43.                                             A simple warning alert—check it out!
  44.                                         </div>
  45.                                         <div class="alert alert-info" role="alert">
  46.                                             A simple info alert—check it out!
  47.                                         </div>
  48.                                         <div class="alert alert-light" role="alert">
  49.                                             A simple light alert—check it out!
  50.                                         </div>
  51.                                         <div class="alert alert-dark mb-0" role="alert">
  52.                                             A simple dark alert—check it out!
  53.                                         </div>
  54.                                     </div><!-- end card-body --> 
  55.                                 </div><!-- end card -->
  56.                             </div><!-- end col -->
  57.                             <div class="col-xl-6">
  58.                                 <div class="card">
  59.                                     <div class="card-header">
  60.                                         <h4 class="card-title">Link Color</h4>
  61.                                         <p class="card-title-desc">Use the <code
  62.                                             >.alert-link</code> utility class to
  63.                                         quickly provide matching colored links within any alert.
  64.                                         </p>
  65.                                     </div><!-- end card header-->
  66.                                     <div class="card-body">
  67.                                         <div class="alert alert-primary" role="alert">
  68.                                             A simple primary alert with <a href="javascript: void(0);" class="alert-link">an example link</a>. Give it a
  69.                                             click if you like.
  70.                                         </div>
  71.                                         <div class="alert alert-secondary" role="alert">
  72.                                             A simple secondary alert with <a href="javascript: void(0);" class="alert-link">an example link</a>. Give it a
  73.                                             click if you like.
  74.                                         </div>
  75.                                         <div class="alert alert-success" role="alert">
  76.                                             A simple success alert with <a href="javascript: void(0);" class="alert-link">an example link</a>. Give it a
  77.                                             click if you like.
  78.                                         </div>
  79.                                         <div class="alert alert-danger" role="alert">
  80.                                             A simple danger alert with <a href="javascript: void(0);" class="alert-link">an example link</a>. Give it a
  81.                                             click if you like.
  82.                                         </div>
  83.                                         <div class="alert alert-warning" role="alert">
  84.                                             A simple warning alert with <a href="javascript: void(0);" class="alert-link">an example link</a>. Give it a
  85.                                             click if you like.
  86.                                         </div>
  87.                                         <div class="alert alert-info" role="alert">
  88.                                             A simple info alert with <a href="javascript: void(0);" class="alert-link">an example link</a>. Give it a click
  89.                                             if you like.
  90.                                         </div>
  91.                                         <div class="alert alert-light" role="alert">
  92.                                             A simple light alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
  93.                                         </div>
  94.                                         <div class="alert alert-dark mb-0" role="alert">
  95.                                             A simple dark alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
  96.                                         </div>
  97.                                     </div><!-- end card-body -->
  98.                                 </div><!-- end card -->
  99.                             </div><!-- end col -->
  100.                         </div><!-- end row -->
  101.                         <div class="row">
  102.                             <div class="col-xl-6">
  103.                                 <div class="card">
  104.                                     <div class="card-header">
  105.                                         <h4 class="card-title">Dismissing</h4>
  106.                                         <p class="card-title-desc">Add a dismiss button and the <code>.alert-dismissible</code> class, which adds extra padding
  107.                                             to the right of the alert and positions the <code>.btn-close</code> button.
  108.                                         </p>
  109.                                     </div><!-- end card header-->
  110.                                     <div class="card-body">
  111.                                         <div class="alert alert-success alert-dismissible fade show" role="alert">
  112.                                             A simple success alert—check it out!
  113.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  114.                                         </div>
  115.                                         <div class="alert alert-danger alert-dismissible fade show" role="alert">
  116.                                             A simple danger alert—check it out!
  117.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  118.                                         </div>
  119.                                         <div class="alert alert-warning alert-dismissible fade show" role="alert">
  120.                                             A simple warning alert—check it out!
  121.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  122.                                         </div>
  123.                                         <div class="alert alert-info alert-dismissible fade show mb-0" role="alert">
  124.                                             A simple info alert—check it out!
  125.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  126.                                         </div>
  127.                                     </div><!-- end card-body -->
  128.                                 </div><!-- end card -->
  129.                             </div><!-- end col -->
  130.                             <div class="col-xl-6">
  131.                                 <div class="card">
  132.                                     <div class="card-header">
  133.                                         <h4 class="card-title"> Alert with Icon</h4>
  134.                                         <p class="card-title-desc">You can use flexbox utilities and Icons to create alerts with icons</p>
  135.                                     </div><!-- end card header-->
  136.                                     <div class="card-body">
  137.                                         <div class="alert alert-success alert-dismissible fade show" role="alert">
  138.                                             <i class="mdi mdi-check-all me-2"></i>
  139.                                             A simple success alert—check it out!
  140.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  141.                                         </div>
  142.                                         <div class="alert alert-danger alert-dismissible fade show" role="alert">
  143.                                             <i class="mdi mdi-block-helper me-2"></i>
  144.                                             A simple danger alert—check it out!
  145.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  146.                                         </div>
  147.                                         <div class="alert alert-warning alert-dismissible fade show" role="alert">
  148.                                             <i class="mdi mdi-alert-outline me-2"></i>
  149.                                             A simple warning alert—check it out!
  150.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  151.                                         </div>
  152.                                         <div class="alert alert-info alert-dismissible fade show mb-0" role="alert">
  153.                                             <i class="mdi mdi-alert-circle-outline me-2"></i>
  154.                                             A simple info alert—check it out!
  155.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  156.                                         </div>
  157.                                     </div><!-- end card-body -->
  158.                                 </div><!-- end card -->
  159.                             </div><!-- end col -->
  160.                         </div><!-- end row -->
  161.                         <div class="row">
  162.                             <div class="col-xl-6">
  163.                                 <div class="card">
  164.                                     <div class="card-header">
  165.                                         <h4 class="card-title">Outline Alerts</h4>
  166.                                         <p class="card-title-desc">Add <code>.alert-outline</code> class with for Outline alerts.</p>
  167.                                     </div><!-- end card header-->
  168.                                     <div class="card-body">
  169.                                         <div class="alert alert-success alert-dismissible alert-outline fade show" role="alert">
  170.                                             <strong>Success</strong> - Outline success alert example
  171.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  172.                                         </div>
  173.                                         <div class="alert alert-danger alert-dismissible alert-outline fade show" role="alert">
  174.                                             <strong>Danger</strong> - Outline danger alert example
  175.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  176.                                         </div>
  177.                                         <div class="alert alert-warning alert-dismissible alert-outline fade show" role="alert">
  178.                                             <strong>Warning</strong> - Outline warning alert example
  179.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  180.                                         </div>
  181.                                         <div class="alert alert-info alert-dismissible alert-outline fade show mb-0" role="alert">
  182.                                             <strong>Info</strong> - Outline info alert example
  183.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  184.                                         </div>
  185.                                     </div><!-- end card-body -->
  186.                                 </div><!-- end card -->
  187.                             </div><!-- end col -->
  188.                             <div class="col-xl-6">
  189.                                 <div class="card">
  190.                                     <div class="card-header">
  191.                                         <h4 class="card-title">Left Border Alerts</h4>
  192.                                         <p class="card-title-desc">Add <code>.alert-outline</code> class with for Outline alerts.</p>
  193.                                     </div><!-- end card header-->
  194.                                     <div class="card-body">
  195.                                         <div class="alert alert-success alert-border-left alert-dismissible fade show" role="alert">
  196.                                             <i class="mdi mdi-check-all me-3 align-middle"></i><strong>Success</strong> - Left border alert
  197.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  198.                                         </div>
  199.                                         <div class="alert alert-danger alert-border-left alert-dismissible fade show" role="alert">
  200.                                             <i class="mdi mdi-block-helper me-3 align-middle"></i><strong>Danger</strong> - Left border alert
  201.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  202.                                         </div>
  203.                                         <div class="alert alert-warning alert-border-left alert-dismissible fade show" role="alert">
  204.                                             <i class="mdi mdi-alert-outline align-middle me-3"></i><strong>Warning</strong> - Left border alert
  205.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  206.                                         </div>
  207.                                         <div class="alert alert-info alert-border-left alert-dismissible fade show mb-0" role="alert">
  208.                                             <i class="mdi mdi-alert-circle-outline align-middle me-3"></i><strong>Info</strong> - Left border alert
  209.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  210.                                         </div>                                       
  211.                                     </div><!-- end card-body -->
  212.                                 </div><!-- end card -->
  213.                             </div><!-- end col -->
  214.                         </div><!-- end row -->
  215.                         <div class="row">
  216.                             <div class="col-xl-6">
  217.                                 <div class="card">
  218.                                     <div class="card-header">
  219.                                         <h4 class="card-title">Top Border Alerts</h4>
  220.                                         <p class="card-title-desc">Left Border Alert example</p>
  221.                                     </div><!-- end card header-->
  222.                                     <div class="card-body">
  223.                                         <div class="alert alert-success alert-top-border alert-dismissible fade show" role="alert">
  224.                                             <i class="mdi mdi-check-all me-3 align-middle text-success"></i><strong>Success</strong> - Top border alert
  225.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  226.                                         </div>
  227.                                         
  228.                                         <div class="alert alert-danger alert-top-border alert-dismissible fade show" role="alert">
  229.                                             <i class="mdi mdi-block-helper me-3 align-middle text-danger"></i><strong>Danger</strong> - Top border alert
  230.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  231.                                         </div>
  232.                                         
  233.                                         <div class="alert alert-warning alert-top-border alert-dismissible fade show" role="alert">
  234.                                             <i class="mdi mdi-alert-outline align-middle text-warning me-3"></i><strong>Warning</strong> - Top border alert
  235.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  236.                                         </div>
  237.                                         
  238.                                         <div class="alert alert-info alert-top-border alert-dismissible fade show mb-0" role="alert">
  239.                                             <i class="mdi mdi-alert-circle-outline text-info align-middle me-3"></i><strong>Info</strong> - Top border alert
  240.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  241.                                         </div>                                   
  242.                                     </div><!-- end card-body -->
  243.                                 </div><!-- end card -->
  244.                             </div><!-- end col -->
  245.                             <div class="col-xl-6">
  246.                                 <div class="card">
  247.                                     <div class="card-header">
  248.                                         <h4 class="card-title">Label Icon Arrow Alerts</h4>
  249.                                         <p class="card-title-desc">Alert label arrow example</p>
  250.                                     </div><!-- end card header-->
  251.                                     <div class="card-body">
  252.                                         <div class="alert alert-success alert-dismissible alert-label-icon label-arrow fade show" role="alert">
  253.                                             <i class="mdi mdi-check-all label-icon"></i><strong>Success</strong> - Label icon arrow alert
  254.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  255.                                         </div>
  256.                                         <div class="alert alert-danger alert-dismissible alert-label-icon label-arrow fade show" role="alert">
  257.                                             <i class="mdi mdi-block-helper label-icon"></i><strong>Danger</strong> - Label icon arrow alert
  258.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  259.                                         </div>
  260.                                         
  261.                                         <div class="alert alert-warning alert-dismissible alert-label-icon label-arrow fade show" role="alert">
  262.                                             <i class="mdi mdi-alert-outline label-icon"></i><strong>Warning</strong> - Label icon arrow alert
  263.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  264.                                         </div>
  265.                                         
  266.                                         <div class="alert alert-info alert-dismissible alert-label-icon label-arrow fade show mb-0" role="alert">
  267.                                             <i class="mdi mdi-alert-circle-outline label-icon"></i><strong>Info</strong> - Label icon arrow alert
  268.                                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  269.                                         </div>                                   
  270.                                     </div><!-- end card-body -->
  271.                                 </div><!-- end card -->
  272.                             </div><!-- end col -->
  273.                         </div><!-- end row -->
  274.                         <div class="row">
  275.                             <div class="col-xl-12">
  276.                                 <div class="card">
  277.                                     <div class="card-header">
  278.                                         <h4 class="card-title">Alert Live Examples</h4>
  279.                                         <p class="card-title-desc">Click the button below to show an alert (hidden with inline styles to start), then dismiss (and destroy) it with the built-in close button.</p>
  280.                                     </div><!-- end card header-->
  281.                                     <div class="card-body">
  282.                                         <div id="liveAlertPlaceholder"></div>
  283.                                         <button type="button" class="btn btn-primary" id="liveAlertBtn">Show live alert</button>
  284.                                     </div><!-- end card-body -->
  285.                                 </div><!-- end card -->
  286.                             </div><!-- end col -->
  287.                         </div><!-- end row --> 
  288.                         
  289.                         <div class="row">
  290.                             <div class="col-xl-12">
  291.                                 <div class="card">
  292.                                     <div class="card-header">
  293.                                         <h4 class="card-title">Alert Examples</h4>
  294.                                         <p class="card-title-desc">Success, Error and Warning Alert Examples.</p>
  295.                                     </div><!-- end card header-->
  296.                                     <div class="card-body">
  297.                                         <div class="row g-4">
  298.                                             <div class="col-sm-3">
  299.                                                 <div class="alert alert-success alert-dismissible fade show px-4 mb-0 text-center" role="alert">
  300.                                                     <i class="mdi mdi-check-all d-block display-4 mt-2 mb-3 text-success"></i>
  301.                                                     <h5 class="text-success">Success</h5>
  302.                                                     <p>A simple success alert</p>
  303.                                                     <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  304.                                                 </div>
  305.                                             </div><!-- end col -->
  306.                                             <div class="col-sm-3">
  307.                                                 <div class="alert alert-danger alert-dismissible fade show px-4 mb-0 text-center" role="alert">
  308.                                                     <i class="mdi mdi-block-helper d-block display-4 mt-2 mb-3 text-danger"></i>
  309.                                                     <h5 class="text-danger">Error</h5>
  310.                                                     <p>A simple danger alert</p>
  311.                                                     <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  312.                                                 </div>
  313.                                             </div><!-- end col -->
  314.                                             <div class="col-sm-3">
  315.                                                 <div class="alert alert-warning alert-dismissible fade show px-4 mb-0 text-center" role="alert">
  316.                                                     <i class="mdi mdi-alert-outline d-block display-4 mt-2 mb-3 text-warning"></i>
  317.                                                     <h5 class="text-warning">Warning</h5>
  318.                                                     <p>A simple warning alert</p>
  319.                                                     <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  320.                                                 </div>
  321.                                             </div><!-- end col -->
  322.                                             <div class="col-sm-3">
  323.                                                 <div class="alert alert-info alert-dismissible fade show px-4 mb-0 text-center" role="alert">
  324.                                                     <i class="mdi mdi-alert-circle-outline d-block display-4 mt-2 mb-3 text-info"></i>
  325.                                                     <h5 class="text-info">Info</h5>
  326.                                                     <p>A simple info alert</p>
  327.                                                     <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  328.                                                 </div>
  329.                                             </div><!-- end col -->
  330.                                         </div><!-- end row -->
  331.                                     </div><!-- end card-body -->
  332.                                 </div><!-- end card -->
  333.                             </div><!-- end col -->
  334.                         </div><!-- end row -->
  335.                     </div>
  336.                     <!-- container-fluid -->
  337.                 </div>
  338.                 <!-- End Page-content -->
  339.                 {{ include('partials/footer.html.twig') }}
  340.                 
  341.             </div>
  342.             <!-- end main content-->
  343.         </div>
  344.         <!-- END layout-wrapper -->
  345.         {{ include('partials/right-sidebar.html.twig') }}
  346.         {{ include('partials/vendor-scripts.html.twig') }}
  347.          <!-- Alert init js -->
  348.         <script src="/js/pages/alert.init.js"></script>
  349.         <script src="/js/app.js"></script>
  350.     </body>
  351. </html>