templates/extended-sweet-alert.html.twig line 1

Open in your IDE?
  1. {{ include('partials/main.html.twig') }}
    
        <head>
            
            {{ include('partials/title-meta.html.twig', {title: 'SweetAlert 2'}) }}
    
            <!-- Sweet Alert-->
            <link href="/libs/sweetalert2/dist/sweetalert2.min.css" rel="stylesheet" type="text/css" />
    
            {{ include('partials/head-css.html.twig') }}
    
        </head>
    
        {{ include('partials/body.html.twig') }}
    
            <!-- Begin page -->
            <div id="layout-wrapper">
    
                {{ include('partials/menu.html.twig') }}
    
                <!-- ============================================================== -->
                <!-- Start right Content here -->
                <!-- ============================================================== -->
                <div class="main-content">
    
                    <div class="page-content">
                        <div class="container-fluid">
    
                            {{ include('partials/page-title.html.twig', {pagetitle: 'Extended', title: 'SweetAlert 2'}) }}
                            <div class="row">
                                <div class="col-12">
                                    <div class="card">
                                        <div class="card-header">
                                            <h4 class="card-title">Examples</h4>
                                            <p class="card-title-desc">A beautiful, responsive, customizable
                                                and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero
                                                dependencies.</p>
                                        </div>
                                        <div class="card-body">
                                            <div class="table-responsive">
                                                <table class="table table-nowrap align-middle justify-content-center mb-0">
                                                    <thead>
                                                        <tr>
                                                            <th scope="col" style="width: 50%;">
                                                                Sweet Alert Type
                                                            </th>
                                                            <th scope="col" class="text-center">
                                                                Sweet Alert Examples
                                                            </th>
                                                        </tr>
                                                    </thead>
                                                    <tbody>
                                                        
                                                        <tr>
                                                            <th scope="row">
                                                                A Basic Message
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-basic">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                A Title with a Text Under
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-title">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                A success message!
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-success">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                A warning message, with a function attached to the "Confirm"-button...
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-warning">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                By passing a parameter, you can execute something else for "Cancel".
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-params">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                A message with custom Image Header
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-image">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                A message with auto close timer
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-close">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                Custom HTML description and buttons
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="custom-html-alert">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                A custom positioned dialog
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="sa-position">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                A message with custom width, padding and background
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="custom-padding-width-alert">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                        <tr>
                                                            <th scope="row">
                                                                Ajax request example
                                                            </th>
                                                            <td class="text-center">
                                                                <button type="button" class="btn btn-primary btn-sm waves-effect waves-light" id="ajax-alert">Click me</button>
                                                            </td>
                                                        </tr>
    
                                                    </tbody>
                                                </table>
                                                <!-- end table -->
                                            </div>
                                            <!-- end table responsive -->
                                            
                                        </div>
                                    </div>
                                </div> <!-- end col -->
                            </div> <!-- end row -->
                        </div> <!-- container-fluid -->
                    </div>
                    <!-- End Page-content -->
    
                    
                    {{ include('partials/footer.html.twig') }}
                </div>
                <!-- end main content-->
    
            </div>
            <!-- END layout-wrapper -->
    
            {{ include('partials/right-sidebar.html.twig') }}
    
            {{ include('partials/vendor-scripts.html.twig') }}
    
            <!-- Sweet Alerts js -->
            <script src="/libs/sweetalert2/dist/sweetalert2.min.js"></script>
    
            <!-- Sweet alert init js-->
            <script src="/js/pages/sweetalert.init.js"></script>
    
            <script src="/js/app.js"></script>
    
        </body>
    </html>