代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">
<title>SweetAlert | CORK - Multipurpose Bootstrap Dashboard Template </title>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700" rel="stylesheet">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/css/plugins.css" rel="stylesheet" type="text/css" />
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN THEME GLOBAL STYLES -->
<link href="assets/css/scrollspyNav.css" rel="stylesheet" type="text/css" />
<link href="plugins/animate/animate.css" rel="stylesheet" type="text/css" />
<script src="plugins/sweetalerts/promise-polyfill.js"></script>
<link href="plugins/sweetalerts/sweetalert2.min.css" rel="stylesheet" type="text/css" />
<link href="plugins/sweetalerts/sweetalert.css" rel="stylesheet" type="text/css" />
<link href="assets/css/components/custom-sweetalert.css" rel="stylesheet" type="text/css" />
<!-- END THEME GLOBAL STYLES -->
</head>
<body data-spy="scroll" data-target="#navSection" data-offset="100">
<!-- BEGIN NAVBAR -->
<div class="header-container fixed-top">
<header class="header navbar navbar-expand-sm">
<ul class="navbar-item theme-brand flex-row text-center">
<li class="nav-item theme-logo">
<a href="index.html">
<img src="assets/img/logo.svg" class="navbar-logo" alt="logo">
</a>
</li>
<li class="nav-item theme-text">
<a href="index.html" class="nav-link"> CORK </a>
</li>
</ul>
<ul class="navbar-item flex-row ml-md-0 ml-auto">
<li class="nav-item align-self-center search-animated">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search toggle-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
<form class="form-inline search-full form-inline search" role="search">
<div class="search-bar">
<input type="text" class="form-control search-form-control ml-lg-auto" placeholder="Search...">
</div>
</form>
</li>
</ul>
<ul class="navbar-item flex-row ml-md-auto">
<li class="nav-item dropdown language-dropdown">
<a href="javascript:void(0);" class="nav-link dropdown-toggle" id="language-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="assets/img/ca.png" class="flag-width" alt="flag">
</a>
<div class="dropdown-menu position-absolute" aria-labelledby="language-dropdown">
<a class="dropdown-item d-flex" href="javascript:void(0);"><img src="assets/img/de.png" class="flag-width" alt="flag"> <span class="align-self-center"> German</span></a>
<a class="dropdown-item d-flex" href="javascript:void(0);"><img src="assets/img/jp.png" class="flag-width" alt="flag"> <span class="align-self-center"> Japanese</span></a>
<a class="dropdown-item d-flex" href="javascript:void(0);"><img src="assets/img/fr.png" class="flag-width" alt="flag"> <span class="align-self-center"> French</span></a>
<a class="dropdown-item d-flex" href="javascript:void(0);"><img src="assets/img/ca.png" class="flag-width" alt="flag"> <span class="align-self-center"> English</span></a>
</div>
</li>
<li class="nav-item dropdown message-dropdown">
<a href="javascript:void(0);" class="nav-link dropdown-toggle" id="messageDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mail"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>
</a>
<div class="dropdown-menu p-0 position-absolute" aria-labelledby="messageDropdown">
<div class="">
<a class="dropdown-item">
<div class="">
<div class="media">
<div class="user-img">
<img class="usr-img rounded-circle" src="assets/img/profile-11.jpeg.jpg" alt="profile">
</div>
<div class="media-body">
<div class="">
<h5 class="usr-name">Kara Young</h5>
<p class="msg-title">ACCOUNT UPDATE</p>
</div>
</div>
</div>
</div>
</a>
<a class="dropdown-item">
<div class="">
<div class="media">
<div class="user-img">
<img class="usr-img rounded-circle" src="assets/img/profile-16.jpeg.jpg" alt="profile">
</div>
<div class="media-body">
<div class="">
<h5 class="usr-name">Daisy Anderson</h5>
<p class="msg-title">ACCOUNT UPDATE</p>
</div>
</div>
</div>
</div>
</a>
<a class="dropdown-item">
<div class="">
<div class="media">
<div class="user-img">
<img class="usr-img rounded-circle" src="assets/img/profile-34.jpeg.jpg" alt="profile">
</div>
<div class="media-body">
<div class="">
<h5 class="usr-name">Oscar Garner</h5>
<p class="msg-title">ACCOUNT UPDATE</p>
</div>
</div>
</div>
</div>
</a>
</div>
</div>
</li>
<li class="nav-item dropdown notification-dropdown">
<a href="javascript:void(0);" class="nav-link dropdown-toggle" id="notificationDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg><span class="badge badge-success"></span>
</a>
<div class="dropdown-menu position-absolute" aria-labelledby="notificationDropdown">
<div class="notification-scroll">
<div class="dropdown-item">
<div class="media">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-heart"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>
<div class="media-body">
<div class="notification-para"><span class="user-name">Shaun Park</span> likes your photo.</div>
</div>
</div>
</div>
<div class="dropdown-item">
<div class="media">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-share-2"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line></svg>
<div class="media-body">
<div class="notification-para"><span class="user-name">Kelly Young</span> shared your post</div>
</div>
</div>
</div>
<div class="dropdown-item">
<div class="media">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg>
<div class="media-body">
<div class="notification-para"><span class="user-name">Kelly Young</span> mentioned you in comment.</div>
</div>
</div>
</div>
</div>
</div>
</li>
<li class="nav-item dropdown user-profile-dropdown">
<a href="javascript:void(0);" class="nav-link dropdown-toggle user" id="userProfileDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<img src="assets/img/profile-16.jpeg.jpg" alt="avatar">
</a>
<div class="dropdown-menu position-absolute" aria-labelledby="userProfileDropdown">
<div class="">
<div class="dropdown-item">
<a class="" href="user_profile.html"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg> My Profile</a>
</div>
<div class="dropdown-item">
<a class="" href="apps_mailbox.html"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-inbox"><polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path></svg> Inbox</a>
</div>
<div class="dropdown-item">
<a class="" href="auth_lockscreen.html"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg> Lock Screen</a>
</div>
<div class="dropdown-item">
<a class="" href="auth_login.html"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-log-out"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg> Sign Out</a>
</div>
</div>
</div>
</li>
</ul>
</header>
</div>
<!-- END NAVBAR -->
<!-- BEGIN NAVBAR -->
<div class="sub-header-container">
<header class="header navbar navbar-expand-sm">
<a href="javascript:void(0);" class="sidebarCollapse" data-placement="bottom"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg></a>
<ul class="navbar-nav flex-row">
<li>
<div class="page-header">
<nav class="breadcrumb-one" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="javascript:void(0);">Components</a></li>
<li class="breadcrumb-item active" aria-current="page"><span>SweetAlerts</span></li>
</ol>
</nav>
</div>
</li>
</ul>
</header>
</div>
<!-- END NAVBAR -->
<!-- BEGIN MAIN CONTAINER -->
<div class="main-container" id="container">
<div class="overlay"></div>
<div class="search-overlay"></div>
<!-- BEGIN SIDEBAR -->
<div class="sidebar-wrapper sidebar-theme">
<nav id="sidebar">
<div class="shadow-bottom"></div>
<ul class="list-unstyled menu-categories" id="accordionExample">
<li class="menu">
<a href="#dashboard" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>
<span>Dashboard</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="dashboard" data-parent="#accordionExample">
<li>
<a href="index.html"> Sales </a>
</li>
<li>
<a href="index2.html"> Analytics </a>
</li>
</ul>
</li>
<li class="menu">
<a href="#app" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cpu"><rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect><rect x="9" y="9" width="6" height="6"></rect><line x1="9" y1="1" x2="9" y2="4"></line><line x1="15" y1="1" x2="15" y2="4"></line><line x1="9" y1="20" x2="9" y2="23"></line><line x1="15" y1="20" x2="15" y2="23"></line><line x1="20" y1="9" x2="23" y2="9"></line><line x1="20" y1="14" x2="23" y2="14"></line><line x1="1" y1="9" x2="4" y2="9"></line><line x1="1" y1="14" x2="4" y2="14"></line></svg>
<span>Apps</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="app" data-parent="#accordionExample">
<li>
<a href="apps_chat.html"> Chat </a>
</li>
<li>
<a href="apps_mailbox.html"> Mailbox </a>
</li>
<li>
<a href="apps_todoList.html"> Todo List </a>
</li>
<li>
<a href="apps_notes.html"> Notes </a>
</li>
<li>
<a href="apps_scrumboard.html">Scrumboard</a>
</li>
<li>
<a href="apps_contacts.html"> Contacts </a>
</li>
<li>
<a href="apps_invoice.html"> Invoice List </a>
</li>
<li>
<a href="apps_calendar.html"> Calendar </a>
</li>
</ul>
</li>
<li class="menu">
<a href="#components" data-toggle="collapse" data-active="true" aria-expanded="true" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-box"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>
<span>Components</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled show" id="components" data-parent="#accordionExample">
<li>
<a href="component_tabs.html"> Tabs </a>
</li>
<li>
<a href="component_accordion.html"> Accordions </a>
</li>
<li>
<a href="component_modal.html"> Modals </a>
</li>
<li>
<a href="component_cards.html"> Cards </a>
</li>
<li>
<a href="component_bootstrap_carousel.html">Carousel</a>
</li>
<li>
<a href="component_blockui.html"> Block UI </a>
</li>
<li>
<a href="component_countdown.html"> Countdown </a>
</li>
<li>
<a href="component_counter.html"> Counter </a>
</li>
<li class="active">
<a href="component_sweetalert.html"> Sweet Alerts </a>
</li>
<li>
<a href="component_timeline.html"> Timeline </a>
</li>
<li>
<a href="component_snackbar.html"> Notifications </a>
</li>
<li>
<a href="component_session_timeout.html"> Session Timeout </a>
</li>
<li>
<a href="component_media_object.html"> Media Object </a>
</li>
<li>
<a href="component_list_group.html"> List Group </a>
</li>
<li>
<a href="component_pricing_table.html"> Pricing Tables </a>
</li>
<li>
<a href="component_lightbox.html"> Lightbox </a>
</li>
</ul>
</li>
<li class="menu">
<a href="#elements" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-zap"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg>
<span>Elements</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="elements" data-parent="#accordionExample">
<li>
<a href="element_alerts.html"> Alerts </a>
</li>
<li>
<a href="element_avatar.html"> Avatar </a>
</li>
<li>
<a href="element_badges.html"> Badges </a>
</li>
<li>
<a href="element_breadcrumbs.html"> Breadcrumbs </a>
</li>
<li>
<a href="element_buttons.html"> Buttons </a>
</li>
<li>
<a href="element_buttons_group.html"> Button Groups </a>
</li>
<li>
<a href="element_color_library.html"> Color Library </a>
</li>
<li>
<a href="element_dropdown.html"> Dropdown </a>
</li>
<li>
<a href="element_infobox.html"> Infobox </a>
</li>
<li>
<a href="element_jumbotron.html"> Jumbotron </a>
</li>
<li>
<a href="element_loader.html"> Loader </a>
</li>
<li>
<a href="element_pagination.html"> Pagination </a>
</li>
<li>
<a href="element_popovers.html"> Popovers </a>
</li>
<li>
<a href="element_progress_bar.html"> Progress Bar </a>
</li>
<li>
<a href="element_search.html"> Search </a>
</li>
<li>
<a href="element_tooltips.html"> Tooltips </a>
</li>
<li>
<a href="element_treeview.html"> Treeview </a>
</li>
<li>
<a href="element_typography.html"> Typography </a>
</li>
</ul>
</li>
<li class="menu">
<a href="fonticons.html" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-target"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle></svg>
<span>Font Icons</span>
</div>
</a>
</li>
<li class="menu">
<a href="widgets.html" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-airplay"><path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon></svg>
<span>Widgets</span>
</div>
</a>
</li>
<li class="menu">
<a href="table_basic.html" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layout"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line></svg>
<span>Tables</span>
</div>
</a>
</li>
<li class="menu">
<a href="#datatables" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-layers"><polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline></svg>
<span>DataTables</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="datatables" data-parent="#accordionExample">
<li>
<a href="table_dt_basic.html"> Basic </a>
</li>
<li>
<a href="table_dt_basic-dark.html"> Dark </a>
</li>
<li>
<a href="table_dt_ordering_sorting.html"> Order Sorting </a>
</li>
<li>
<a href="table_dt_multi-column_ordering.html"> Multi-Column </a>
</li>
<li>
<a href="table_dt_multiple_tables.html"> Multiple Tables</a>
</li>
<li>
<a href="table_dt_alternative_pagination.html"> Alt. Pagination</a>
</li>
<li>
<a href="table_dt_custom.html"> Custom </a>
</li>
<li>
<a href="table_dt_range_search.html"> Range Search </a>
</li>
<li>
<a href="table_dt_html5.html"> HTML5 Export </a>
</li>
<li>
<a href="table_dt_live_dom_ordering.html"> Live DOM ordering </a>
</li>
<li>
<a href="table_dt_miscellaneous.html"> Miscellaneous </a>
</li>
</ul>
</li>
<li class="menu">
<a href="#forms" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clipboard"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect></svg>
<span>Forms</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="forms" data-parent="#accordionExample">
<li>
<a href="form_bootstrap_basic.html"> Basic </a>
</li>
<li>
<a href="form_input_group_basic.html"> Input Group </a>
</li>
<li>
<a href="form_layouts.html"> Layouts </a>
</li>
<li>
<a href="form_validation.html"> Validation </a>
</li>
<li>
<a href="form_input_mask.html"> Input Mask </a>
</li>
<li>
<a href="form_bootstrap_select.html"> Bootstrap Select </a>
</li>
<li>
<a href="form_select2.html"> Select2 </a>
</li>
<li>
<a href="form_bootstrap_touchspin.html"> TouchSpin </a>
</li>
<li>
<a href="form_maxlength.html"> Maxlength </a>
</li>
<li>
<a href="form_checkbox_radio.html"> Checkbox & Radio </a>
</li>
<li>
<a href="form_switches.html"> Switches </a>
</li>
<li>
<a href="form_wizard.html"> Wizards </a>
</li>
<li>
<a href="form_fileupload.html"> File Upload </a>
</li>
<li>
<a href="form_quill.html"> Quill Editor </a>
</li>
<li>
<a href="form_markdown.html"> Markdown Editor </a>
</li>
<li>
<a href="form_date_range_picker.html"> Date & Range Picker </a>
</li>
<li>
<a href="form_clipboard.html"> Clipboard </a>
</li>
<li>
<a href="form_typeahead.html"> Typeahead </a>
</li>
</ul>
</li>
<li class="menu">
<a href="#users" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
<span>Users</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="users" data-parent="#accordionExample">
<li>
<a href="user_profile.html"> Profile </a>
</li>
<li>
<a href="user_account_setting.html"> Account Settings </a>
</li>
</ul>
</li>
<li class="menu">
<a href="#pages" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"><path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline></svg>
<span>Pages</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="pages" data-parent="#accordionExample">
<li>
<a href="pages_helpdesk.html"> Helpdesk </a>
</li>
<li>
<a href="pages_contact_us.html"> Contact Form </a>
</li>
<li>
<a href="pages_faq.html"> FAQ </a>
</li>
<li>
<a href="pages_faq2.html"> FAQ 2 </a>
</li>
<li>
<a href="pages_privacy.html"> Privacy Policy </a>
</li>
<li>
<a href="pages_coming_soon.html"> Coming Soon </a>
</li>
<li>
<a href="#pages-error" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle"> Error <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg> </a>
<ul class="collapse list-unstyled sub-submenu" id="pages-error" data-parent="#pages">
<li>
<a href="pages_error404.html"> 404 </a>
</li>
<li>
<a href="pages_error500.html"> 500 </a>
</li>
<li>
<a href="pages_error503.html"> 503 </a>
</li>
<li>
<a href="pages_maintenence.html"> Maintanence </a>
</li>
</ul>
</li>
</ul>
</li>
<li class="menu">
<a href="#authentication" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>
<span>Authentication</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="authentication" data-parent="#accordionExample">
<li>
<a href="auth_login_boxed.html"> Login Boxed </a>
</li>
<li>
<a href="auth_register_boxed.html"> Register Boxed </a>
</li>
<li>
<a href="auth_lockscreen_boxed.html"> Unlock Boxed </a>
</li>
<li>
<a href="auth_pass_recovery_boxed.html"> Recover ID Boxed </a>
</li>
<li>
<a href="auth_login.html"> Login Cover </a>
</li>
<li>
<a href="auth_register.html"> Register Cover </a>
</li>
<li>
<a href="auth_lockscreen.html"> Unlock Cover </a>
</li>
<li>
<a href="auth_pass_recovery.html"> Recover ID Cover </a>
</li>
</ul>
</li>
<li class="menu">
<a href="dragndrop_dragula.html" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-move"><polyline points="5 9 2 12 5 15"></polyline><polyline points="9 5 12 2 15 5"></polyline><polyline points="15 19 12 22 9 19"></polyline><polyline points="19 9 22 12 19 15"></polyline><line x1="2" y1="12" x2="22" y2="12"></line><line x1="12" y1="2" x2="12" y2="22"></line></svg>
<span>Drag and Drop</span>
</div>
</a>
</li>
<li class="menu">
<a href="map_jvector.html" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map"><polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"></polygon><line x1="8" y1="2" x2="8" y2="18"></line><line x1="16" y1="6" x2="16" y2="22"></line></svg>
<span>Maps</span>
</div>
</a>
</li>
<li class="menu">
<a href="charts_apex.html" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-pie-chart"><path d="M21.21 15.89A10 10 0 1 1 8 2.83"></path><path d="M22 12A10 10 0 0 0 12 2v10z"></path></svg>
<span>Charts</span>
</div>
</a>
</li>
<li class="menu">
<a href="#starter-kit" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-terminal"><polyline points="4 17 10 11 4 5"></polyline><line x1="12" y1="19" x2="20" y2="19"></line></svg>
<span>Starter Kit</span>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
</div>
</a>
<ul class="collapse submenu list-unstyled" id="starter-kit" data-parent="#accordionExample">
<li>
<a href="starter_kit_blank_page.html"> Blank Page </a>
</li>
<li>
<a href="starter_kit_breadcrumbs.html"> Breadcrumbs </a>
</li>
<li>
<a href="starter_kit_boxed.html"> Boxed </a>
</li>
<li>
<a href="starter_kit_alt_menu.html"> Alternate Menu </a>
</li>
</ul>
</li>
<li class="menu">
<a href="" aria-expanded="false" class="dropdown-toggle">
<div class="">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg>
<span>Documentation</span>
</div>
</a>
</li>
</ul>
</nav>
</div>
<!-- END SIDEBAR -->
<!-- BEGIN CONTENT AREA -->
<div id="content" class="main-content">
<div class="container">
<div class="container">
<div id="navSection" data-spy="affix" class="nav sidenav">
<div class="sidenav-content">
<a href="#saBasic" class="active nav-link">Basic</a>
<a href="#saMessage" class="nav-link">Message</a>
<a href="#saDynamic" class="nav-link">Dynamic</a>
<a href="#satitle" class="nav-link">A title with text</a>
<a href="#saChaining" class="nav-link">Chaining modals</a>
<a href="#saAnimation" class="nav-link">Animation</a>
<a href="#saAuto" class="nav-link">Auto close timer</a>
<a href="#saImage" class="nav-link">Custom image</a>
<a href="#saHTML" class="nav-link">Custom HTML</a>
<a href="#saWarning" class="nav-link">Warning message</a>
<a href="#saCancel" class="nav-link">Cancel</a>
<a href="#saCustom" class="nav-link">Custom Style</a>
<a href="#saFooter" class="nav-link">Footer</a>
<a href="#saRTL" class="nav-link">RTL</a>
<a href="#saMixin" class="nav-link">Mixin</a>
</div>
</div>
<div class="row layout-top-spacing" id="cancel-row">
<div id="saBasic" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Basic message</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary message">Basic message</button>
<div class="code-section-container show-code">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary message">Basic message</button>
$('.widget-content .message').on('click', function () {
swal({
title: 'Saved succesfully',
padding: '2em'
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saMessage" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Success message</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary success">Success message!</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary success">Success message!</button>
$('.widget-content .success').on('click', function () {
swal({
title: 'Good job!',
text: "You clicked the!",
type: 'success',
padding: '2em'
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saDynamic" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Dynamic queue</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary dynamic-queue">Dynamic queue</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary dynamic-queue">Dynamic queue</button>
$('.widget-content .dynamic-queue').on('click', function () {
const ipAPI = 'https://api.ipify.org?format=json'
swal.queue([{
title: 'Your public IP',
confirmButtonText: 'Show my public IP',
text:
'Your public IP will be received ' +
'via AJAX request',
showLoaderOnConfirm: true,
preConfirm: function() {
return fetch(ipAPI)
.then(function (response) {
return response.json();
})
.then(function(data) {
return swal.insertQueueStep(data.ip)
})
.catch(function() {
swal.insertQueueStep({
type: 'error',
title: 'Unable to get your public IP'
})
})
}
}])
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="satitle" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>A title with a text under</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary title-text">Title & text</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary title-text">Title & text</button>
$('.widget-content .title-text').on('click', function () {
swal({
title: 'The Internet?',
text: "That thing is still around?",
type: 'question',
padding: '2em'
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saChaining" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Chaining modals (queue)</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary chaining-modals">Chaining modals (queue)</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary chaining-modals">Chaining modals (queue)</button>
$('.widget-content .chaining-modals').on('click', function () {
swal.mixin({
input: 'text',
confirmButtonText: 'Next →',
showCancelButton: true,
progressSteps: ['1', '2', '3'],
padding: '2em',
}).queue([
{
title: 'Question 1',
text: 'Chaining swal2 modals is easy'
},
'Question 2',
'Question 3'
]).then(function(result) {
if (result.value) {
swal({
title: 'All done!',
padding: '2em',
html:
'Your answers: <pre>' +
JSON.stringify(result.value) +
'</pre>',
confirmButtonText: 'Lovely!'
})
}
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saAnimation" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Custom animation</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary html-jquery">Custom animation</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary html-jquery">Custom animation</button>
$('.widget-content .html-jquery').on('click', function () {
swal({
title: 'Custom animation with Animate.css',
animation: false,
customClass: 'animated tada',
padding: '2em'
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saAuto" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Message with auto close timer</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary timer">Message timer</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary timer">Message timer</button>
$('.widget-content .timer').on('click', function () {
swal({
title: 'Auto close alert!',
text: 'I will close in 2 seconds.',
timer: 2000,
padding: '2em',
onOpen: function () {
swal.showLoading()
}
}).then(function (result) {
if (
// Read more about handling dismissals
result.dismiss === swal.DismissReason.timer
) {
console.log('I was closed by the timer')
}
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saImage" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Message with custom image</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary custom-image">Message with custom image</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary custom-image">Message with custom image</button>
$('.widget-content .custom-image').on('click', function () {
swal({
title: 'Sweet!',
text: 'Modal with a custom image.',
imageUrl: 'assets/img/thumbs-up.jpg',
imageWidth: 400,
imageHeight: 200,
imageAlt: 'Custom image',
animation: false,
padding: '2em'
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saHTML" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Custom HTML description and buttons</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary html">Custom Description & buttons</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary html">Custom Description & buttons</button>
$('.widget-content .html').on('click', function () {
swal({
title: '<i>HTML</i> <u>example</u>',
type: 'info',
html:
'You can use <b>bold text</b>, ' +
'<a href="//github.com">links</a> ' +
'and other HTML tags',
showCloseButton: true,
showCancelButton: true,
focusConfirm: false,
confirmButtonText:
'<i class="flaticon-checked-1"></i> Great!',
confirmButtonAriaLabel: 'Thumbs up, great!',
cancelButtonText:
'<i class="flaticon-cancel-circle"></i> Cancel',
cancelButtonAriaLabel: 'Thumbs down',
padding: '2em'
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saWarning" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Warning message, with "Confirm" button</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary warning confirm">Confirm</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary warning confirm">Confirm</button>
$('.widget-content .warning.confirm').on('click', function () {
swal({
title: 'Are you sure?',
text: "You won't be able to revert this!",
type: 'warning',
showCancelButton: true,
confirmButtonText: 'Delete',
padding: '2em'
}).then(function(result) {
if (result.value) {
swal(
'Deleted!',
'Your file has been deleted.',
'success'
)
}
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saCancel" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Execute something else for "Cancel".</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary warning cancel">Addition else for "Cancel".</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary warning cancel">Addition else for "Cancel".</button>
$('.widget-content .warning.cancel').on('click', function () {
const swalWithBootstrapButtons = swal.mixin({
confirmButtonClass: 'btn btn-success btn-rounded',
cancelButtonClass: 'btn btn-danger btn-rounded mr-3',
buttonsStyling: false,
})
swalWithBootstrapButtons({
title: 'Are you sure?',
text: "You won't be able to revert this!",
type: 'warning',
showCancelButton: true,
confirmButtonText: 'Yes, delete it!',
cancelButtonText: 'No, cancel!',
reverseButtons: true,
padding: '2em'
}).then(function(result) {
if (result.value) {
swalWithBootstrapButtons(
'Deleted!',
'Your file has been deleted.',
'success'
)
} else if (
// Read more about handling dismissals
result.dismiss === swal.DismissReason.cancel
) {
swalWithBootstrapButtons(
'Cancelled',
'Your imaginary file is safe :)',
'error'
)
}
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saCustom" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>A message with custom width, padding and background</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary custom-width-padding-background">Custom Message</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary custom-width-padding-background">Custom Message</button>
$('.widget-content .custom-width-padding-background').on('click', function () {
swal({
title: 'Custom width, padding, background.',
width: 600,
padding: "7em",
customClass: "background-modal",
background: '#fff url(assets/img/sweet-bg.jpg) no-repeat 100% 100%',
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saFooter" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>With Footer</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary footer">With Footer</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary footer">With Footer</button>
$('.widget-content .footer').on('click', function () {
swal({
type: 'error',
title: 'Oops...',
text: 'Something went wrong!',
footer: '<a href>Why do I have this issue?</a>',
padding: '2em'
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saRTL" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>RTL Support</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary RTL">RTL</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary RTL">RTL</button>
$('.widget-content .RTL').on('click', function () {
swal({
title: 'هل تريد الاستمرار؟',
confirmButtonText: 'نعم',
cancelButtonText: 'لا',
showCancelButton: true,
showCloseButton: true,
padding: '2em',
target: document.getElementById('rtl-container')
})
})</pre>
</div>
</div>
</div>
</div>
</div>
<div id="saMixin" class="col-lg-12 col-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-xl-12 col-md-12 col-sm-12 col-12">
<h4>Mixin</h4>
</div>
</div>
</div>
<div class="widget-content widget-content-area text-center">
<button class="mr-2 btn btn-primary mixin">Mixin</button>
<div class="code-section-container">
<button class="btn toggle-code-snippet"><span>Code</span></button>
<div class="code-section text-left">
<pre>
<button class="mr-2 btn btn-primary mixin">Mixin</button>
$('.widget-content .mixin').on('click', function () {
const toast = swal.mixin({
toast: true,
position: 'top-end',
showConfirmButton: false,
timer: 3000,
padding: '2em'
});
toast({
type: 'success',
title: 'Signed in successfully',
padding: '2em',
})
})</pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer-wrapper">
<div class="footer-section f-section-1">
<p class="">Copyright © 2020 <a target="_blank" href="../../../designreset.html">DesignReset</a>, All rights <a href="http://www.bootstrapmb.com">Reserved </a>.</p>
</div>
<div class="footer-section f-section-2">
<p class="">Coded with <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-heart"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg></p>
</div>
</div>
</div>
<!-- END CONTENT AREA -->
</div>
<!-- END MAIN CONTAINER -->
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<script src="assets/js/libs/jquery-3.1.1.min.js"></script>
<script src="bootstrap/js/popper.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="plugins/perfect-scrollbar/perfect-scrollbar.min.js"></script>
<script src="assets/js/app.js"></script>
<script>
$(document).ready(function() {
App.init();
});
</script>
<script src="plugins/highlight/highlight.pack.js"></script>
<script src="assets/js/custom.js"></script>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN THEME GLOBAL STYLE -->
<script src="assets/js/scrollspyNav.js"></script>
<script src="plugins/sweetalerts/sweetalert2.min.js"></script>
<script src="plugins/sweetalerts/custom-sweetalert.js"></script>
<!-- END THEME GLOBAL STYLE -->
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。