浏览代码

移除多余文件

jqh 5 年之前
父节点
当前提交
8853af8a97

+ 0 - 11
resources/assets/SmartWizard/examples/ajaxtest.php

@@ -1,11 +0,0 @@
-<?php
-sleep(2);
-$step_number = $_REQUEST["step_number"];
-echo '<h2 class="StepTitle">Hello from Server! Step '.($step_number + 1).',</h2>
-            <p>We have added a 2 sec sleep to feel the ajax loading, It would be faster otherwise</p>
-            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, 
-            sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, 
-            quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 
-            Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. 
-            Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
-            </p>';

+ 0 - 162
resources/assets/SmartWizard/examples/index.html

@@ -1,162 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>Smart Wizard - a JavaScript jQuery Step Wizard plugin</title>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-    <!-- Include Bootstrap CSS -->
-    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
-    <!-- Optional Bootstrap Theme -->
-    <link rel="stylesheet" href="../dist/css/bootstrap.min.css">
-
-    <!-- Include SmartWizard CSS -->
-    <link href="../dist/css/smart_wizard.css" rel="stylesheet" type="text/css" />
-
-    <!-- Optional SmartWizard theme -->
-    <link href="../dist/css/smart_wizard_theme_circles.css" rel="stylesheet" type="text/css" />
-    <link href="../dist/css/smart_wizard_theme_arrows.css" rel="stylesheet" type="text/css" />
-    <link href="../dist/css/smart_wizard_theme_dots.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-    <div class="container">
-
-        <form class="form-inline">
-            <label class="mr-sm-2">Choose Theme:</label>
-            <select id="theme_selector" class="custom-select mb-2 mr-sm-2 mb-sm-0">
-                  <option value="default">default</option>
-                  <option value="arrows">arrows</option>
-                  <option value="circles">circles</option>
-                  <option value="dots">dots</option>
-            </select>
-
-            <label class="mr-sm-2">External Buttons:</label>
-            <div class="btn-group" role="group">
-                <button class="btn btn-secondary" id="prev-btn" type="button">Go Previous</button>
-                <button class="btn btn-secondary" id="next-btn" type="button">Go Next</button>
-                <button class="btn btn-danger" id="reset-btn" type="button">Reset Wizard</button>
-            </div>
-        </form>
-
-        <br />
-
-        <!-- SmartWizard html -->
-        <div id="smartwizard">
-            <ul>
-                <li><a href="#step-1">Step 1<br /><small>This is step description</small></a></li>
-                <li><a href="#step-2">Step 2<br /><small>This is step description</small></a></li>
-                <li><a href="#step-3">Step 3<br /><small>This is step description</small></a></li>
-                <li><a href="#step-4">Step 4<br /><small>This is step description</small></a></li>
-            </ul>
-
-            <div>
-                <div id="step-1" class="">
-                    <h2>Step 1 Content</h2>
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-2" class="">
-                    <h2>Step 2 Content</h2>
-                    <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div>
-                </div>
-                <div id="step-3" class="">
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-4" class="">
-                    <h2>Step 4 Content</h2>
-                    <div class="card">
-                        <div class="card-header">My Details</div>
-                        <div class="card-block p-0">
-                          <table class="table">
-                              <tbody>
-                                  <tr> <th>Name:</th> <td>Tim Smith</td> </tr>
-                                  <tr> <th>Email:</th> <td>example@example.com</td> </tr>
-                              </tbody>
-                          </table>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-
-
-    </div>
-
-    <!-- Include jQuery -->
-    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-
-    <!-- Include SmartWizard JavaScript source -->
-    <script type="text/javascript" src="../dist/js/jquery.smartWizard.min.js"></script>
-
-    <script type="text/javascript">
-        $(document).ready(function(){
-
-            // Step show event
-            $("#smartwizard").on("showStep", function(e, anchorObject, stepNumber, stepDirection, stepPosition) {
-               //alert("You are on step "+stepNumber+" now");
-               if(stepPosition === 'first'){
-                   $("#prev-btn").addClass('disabled');
-               }else if(stepPosition === 'final'){
-                   $("#next-btn").addClass('disabled');
-               }else{
-                   $("#prev-btn").removeClass('disabled');
-                   $("#next-btn").removeClass('disabled');
-               }
-            });
-
-            // Toolbar extra buttons
-            var btnFinish = $('<button></button>').text('Finish')
-                                             .addClass('btn btn-info')
-                                             .on('click', function(){ alert('Finish Clicked'); });
-            var btnCancel = $('<button></button>').text('Cancel')
-                                             .addClass('btn btn-danger')
-                                             .on('click', function(){ $('#smartwizard').smartWizard("reset"); });
-
-
-            // Smart Wizard
-            $('#smartwizard').smartWizard({
-                    selected: 0,
-                    theme: 'default',
-                    transitionEffect:'fade',
-                    showStepURLhash: true,
-                    toolbarSettings: {toolbarPosition: 'both',
-                                      toolbarExtraButtons: [btnFinish, btnCancel]
-                                    }
-            });
-
-
-            // External Button Events
-            $("#reset-btn").on("click", function() {
-                // Reset wizard
-                $('#smartwizard').smartWizard("reset");
-                return true;
-            });
-
-            $("#prev-btn").on("click", function() {
-                // Navigate previous
-                $('#smartwizard').smartWizard("prev");
-                return true;
-            });
-
-            $("#next-btn").on("click", function() {
-                // Navigate next
-                $('#smartwizard').smartWizard("next");
-                return true;
-            });
-
-            $("#theme_selector").on("change", function() {
-                // Change theme
-                $('#smartwizard').smartWizard("theme", $(this).val());
-                return true;
-            });
-
-            // Set selected theme on page refresh
-            $("#theme_selector").change();
-        });
-    </script>
-</body>
-</html>

+ 0 - 98
resources/assets/SmartWizard/examples/smartwizard-ajax.html

@@ -1,98 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>Smart Wizard - a JavaScript jQuery Step Wizard plugin</title>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-    <!-- Include Bootstrap CSS -->
-    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
-    <!-- Optional Bootstrap Theme -->
-    <link rel="stylesheet" href="../dist/css/bootstrap.min.css">
-
-    <!-- Include SmartWizard CSS -->
-    <link href="../dist/css/smart_wizard.css" rel="stylesheet" type="text/css" />
-
-    <!-- Optional SmartWizard theme -->
-    <link href="../dist/css/smart_wizard_theme_arrows.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-    <div class="container">
-
-        <!-- SmartWizard html -->
-        <div id="smartwizard">
-            <ul>
-                <li><a href="#step-1">Step 1<br /><small>This is tab's description</small></a></li>
-                <li><a href="#step-2" data-content-url="./ajaxtest.php">Step 2<br /><small>This is tab's description</small></a></li>
-                <li><a href="#step-3">Step 3<br /><small>This is tab's description</small></a></li>
-                <li><a href="#step-4" data-content-url="./ajaxtest.php">Step 4<br /><small>This is tab's description</small></a></li>
-            </ul>
-
-            <div>
-                <div id="step-1" class="">
-                    <h2>Step 1 Content, Non ajax content</h2>
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-2" class="">
-                    <h2>Step 2 Content, Non ajax content</h2>
-                    <div>Hello This is a div</div>
-                </div>
-                <div id="step-3" class="">
-                    <h2>Step 3 Content, Non ajax content</h2>
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-4" class="">
-                    <h2>Step 4 Content, Non ajax content</h2>
-                    <div class="card">
-                        <div class="card-header">My Details</div>
-                        <div class="card-block p-0">
-                          <table class="table">
-                              <tbody>
-                                  <tr> <th>Name:</th> <td>Tim Smith</td> </tr>
-                                  <tr> <th>Email:</th> <td>example@example.com</td> </tr>
-                              </tbody>
-                          </table>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-
-
-    </div>
-
-    <!-- Include jQuery -->
-    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-
-    <!-- Include SmartWizard JavaScript source -->
-    <script type="text/javascript" src="../dist/js/jquery.smartWizard.min.js"></script>
-
-    <script type="text/javascript">
-        $(document).ready(function(){
-
-            // Toolbar extra buttons
-            var btnFinish = $('<button></button>').text('Finish')
-                                             .addClass('btn btn-info')
-                                             .on('click', function(){ alert('Finish Clicked'); });
-            var btnCancel = $('<button></button>').text('Cancel')
-                                             .addClass('btn btn-danger')
-                                             .on('click', function(){ $('#smartwizard').smartWizard("reset"); });
-
-            // Smart Wizard
-            $('#smartwizard').smartWizard({
-                    selected: 0,
-                    theme: 'arrows',
-                    transitionEffect:'fade',
-                    toolbarSettings: {toolbarPosition: 'bottom',
-                                      toolbarExtraButtons: [btnFinish, btnCancel]
-                                    }
-                 });
-        });
-    </script>
-</body>
-</html>

+ 0 - 173
resources/assets/SmartWizard/examples/smartwizard-events.html

@@ -1,173 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>Smart Wizard - a JavaScript jQuery Step Wizard plugin</title>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-    <!-- Include Bootstrap CSS -->
-    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
-    <!-- Optional Bootstrap Theme -->
-    <link rel="stylesheet" href="../dist/css/bootstrap.min.css">
-
-    <!-- Include SmartWizard CSS -->
-    <link href="../dist/css/smart_wizard.css" rel="stylesheet" type="text/css" />
-
-    <!-- Optional SmartWizard theme -->
-    <link href="../dist/css/smart_wizard_theme_circles.css" rel="stylesheet" type="text/css" />
-    <link href="../dist/css/smart_wizard_theme_arrows.css" rel="stylesheet" type="text/css" />
-    <link href="../dist/css/smart_wizard_theme_dots.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-    <div class="container">
-
-      <form class="form-inline">
-          <label class="mr-sm-2">Choose Theme:</label>
-          <select id="theme_selector" class="custom-select mb-2 mr-sm-2 mb-sm-0">
-                <option value="default">default</option>
-                <option value="arrows">arrows</option>
-                <option value="circles">circles</option>
-                <option value="dots">dots</option>
-          </select>
-
-          <label class="mr-sm-2">External Buttons:</label>
-          <div class="btn-group" role="group">
-              <button class="btn btn-secondary" id="prev-btn" type="button">Go Previous</button>
-              <button class="btn btn-secondary" id="next-btn" type="button">Go Next</button>
-              <button class="btn btn-danger" id="reset-btn" type="button">Reset Wizard</button>
-          </div>
-      </form>
-        <div class="alert alert-info" role="alert" id="message-box"><strong>Event Log:</strong></div>
-
-        <!-- SmartWizard html -->
-        <div id="smartwizard">
-            <ul>
-                <li><a href="#step-1">Step 1<br /><small>This is tab's description</small></a></li>
-                <li><a href="#step-2">Step 2<br /><small>This is tab's description</small></a></li>
-                <li><a href="#step-3">Step 3<br /><small>This is tab's description</small></a></li>
-                <li><a href="#step-4">Step 4<br /><small>This is tab's description</small></a></li>
-            </ul>
-
-            <div>
-                <div id="step-1" class="">
-                    <h2>Step 1 Content</h2>
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-2" class="">
-                    <h2>Step 2 Content</h2>
-                    <div>Hello This is a div</div>
-                </div>
-                <div id="step-3" class="">
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-4" class="">
-                    <h2>Step 4 Content</h2>
-                    <div class="card">
-                        <div class="card-header">My Details</div>
-                        <div class="card-block p-0">
-                          <table class="table">
-                              <tbody>
-                                  <tr> <th>Name:</th> <td>Tim Smith</td> </tr>
-                                  <tr> <th>Email:</th> <td>example@example.com</td> </tr>
-                              </tbody>
-                          </table>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-
-
-    </div>
-
-    <!-- Include jQuery -->
-    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-
-    <!-- Include SmartWizard JavaScript source -->
-    <script type="text/javascript" src="../dist/js/jquery.smartWizard.min.js"></script>
-
-    <script type="text/javascript">
-        $(document).ready(function(){
-
-            // Smart Wizard events
-            $("#smartwizard").on("leaveStep", function(e, anchorObject, stepNumber, stepDirection) {
-                $("#message-box").append("<br /> > <strong>leaveStep</strong> called on " + stepNumber + ". Direction: " + stepDirection);
-                var res = confirm("Do you want to leave the step "+stepNumber+"?");
-                if(!res){
-                    $("#message-box").append(" <strong>leaveStep</strong> Cancelled");
-                }else{
-                    $("#message-box").append(" <strong>leaveStep</strong> Allowed");
-                }
-                return res;
-            });
-
-            // This event should initialize before initializing smartWizard
-            // Otherwise this event wont load on first page load
-            $("#smartwizard").on("showStep", function(e, anchorObject, stepNumber, stepDirection, stepPosition) {
-                $("#message-box").append(" > <strong>showStep</strong> called on " + stepNumber + ". Direction: " + stepDirection+ ". Position: " + stepPosition);
-            });
-
-            $("#smartwizard").on("beginReset", function(e) {
-                $("#message-box").append("<br /> > <strong>beginReset</strong> called");
-            });
-
-            $("#smartwizard").on("endReset", function(e) {
-                $("#message-box").append(" > <strong>endReset</strong> called");
-            });
-
-            $("#smartwizard").on("themeChanged", function(e, theme) {
-                $("#message-box").append("<br /> > <strong>themeChanged</strong> called. New theme: " + theme);
-            });
-
-            // Toolbar extra buttons
-            var btnFinish = $('<button></button>').text('Finish')
-                                             .addClass('btn btn-info')
-                                             .on('click', function(){ alert('Finish Clicked'); });
-            var btnCancel = $('<button></button>').text('Cancel')
-                                             .addClass('btn btn-danger')
-                                             .on('click', function(){ $('#smartwizard').smartWizard("reset"); });
-
-            // Smart Wizard initialize
-            $('#smartwizard').smartWizard({
-                    selected: 0,
-                    theme: 'dots',
-                    transitionEffect:'fade',
-                    toolbarSettings: {toolbarPosition: 'bottom',
-                                      toolbarExtraButtons: [btnFinish, btnCancel]
-                                    }
-                 });
-
-            // External Button Events
-            $("#reset-btn").on("click", function() {
-                // Reset wizard
-                $('#smartwizard').smartWizard("reset");
-                return true;
-            });
-
-            $("#prev-btn").on("click", function() {
-                // Navigate previous
-                $('#smartwizard').smartWizard("prev");
-                return true;
-            });
-
-            $("#next-btn").on("click", function() {
-                // Navigate next
-                $('#smartwizard').smartWizard("next");
-                return true;
-            });
-
-            $("#theme_selector").on("change", function() {
-                // Change theme
-                $('#smartwizard').smartWizard("theme", $(this).val());
-                return true;
-            });
-
-        });
-    </script>
-</body>
-</html>

+ 0 - 190
resources/assets/SmartWizard/examples/smartwizard-input.html

@@ -1,190 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>Smart Wizard - a JavaScript jQuery Step Wizard plugin</title>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-    <!-- Include Bootstrap CSS -->
-    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
-    <!-- Optional Bootstrap Theme -->
-    <link rel="stylesheet" href="../dist/css/bootstrap.min.css">
-
-    <!-- Include SmartWizard CSS -->
-    <link href="../dist/css/smart_wizard.css" rel="stylesheet" type="text/css" />
-
-    <!-- Optional SmartWizard theme -->
-    <link href="../dist/css/smart_wizard_theme_dots.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-    <div class="container">
-        <br />
-        <form action="#" id="myForm" role="form" data-toggle="validator" method="post" accept-charset="utf-8">
-
-        <!-- SmartWizard html -->
-        <div id="smartwizard">
-            <ul>
-                <li><a href="#step-1">Step 1<br /><small>Email Address</small></a></li>
-                <li><a href="#step-2">Step 2<br /><small>Name</small></a></li>
-                <li><a href="#step-3">Step 3<br /><small>Address</small></a></li>
-                <li><a href="#step-4">Step 4<br /><small>Terms and Conditions</small></a></li>
-            </ul>
-
-            <div>
-                <div id="step-1">
-                    <h2>Your Email Address</h2>
-                    <div id="form-step-0" role="form" data-toggle="validator">
-                        <div class="form-group">
-                            <label for="email">Email address:</label>
-                            <input pattern="^[0-9]{1,}$" class="form-control" name="email" id="email" placeholder="Write your email address" required>
-                            <div class="help-block with-errors"></div>
-                        </div>
-                    </div>
-
-                </div>
-                <div id="step-2">
-                    <h2>Your Name</h2>
-                    <div id="form-step-1" role="form" data-toggle="validator">
-                        <div class="form-group">
-                            <label for="name">Name:</label>
-                            <input type="text" class="form-control" name="name" id="email" placeholder="Write your name" required>
-                            <div class="help-block with-errors"></div>
-                        </div>
-                    </div>
-                </div>
-                <div id="step-3">
-                    <h2>Your Address</h2>
-                    <div id="form-step-2" role="form" data-toggle="validator">
-                        <div class="form-group">
-                            <label for="address">Address</label>
-                            <textarea class="form-control" name="address" id="address" rows="3" placeholder="Write your address..." required></textarea>
-                            <div class="help-block with-errors"></div>
-                        </div>
-                    </div>
-                </div>
-                <div id="step-4" class="">
-                    <h2>Terms and Conditions</h2>
-                    <p>
-                        Terms and conditions: Keep your smile :)
-                    </p>
-                    <div id="form-step-3" role="form" data-toggle="validator">
-                        <div class="form-group">
-                            <label for="terms">I agree with the T&C</label>
-                            <input type="checkbox" id="terms" data-error="Please accept the Terms and Conditions" required>
-                            <div class="help-block with-errors"></div>
-                        </div>
-                    </div>
-
-
-                </div>
-            </div>
-        </div>
-
-            <div class=""><button id="next-step">下一步</button></div>
-        </form>
-
-    </div>
-
-    <!-- Include jQuery -->
-    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-    <!-- Include jQuery Validator plugin -->
-    <script src="https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.5/validator.min.js"></script>
-
-
-    <!-- Include SmartWizard JavaScript source -->
-    <script type="text/javascript" src="../dist/js/jquery.smartWizard.min.js"></script>
-
-    <script type="text/javascript">
-        $(document).ready(function(){
-
-            // Toolbar extra buttons
-            var btnFinish = $('<button></button>').text('Finish')
-                                             .addClass('btn btn-info')
-                                             .on('click', function(){
-                                                    if( !$(this).hasClass('disabled')){
-                                                        var elmForm = $("#myForm");
-                                                        if(elmForm){
-                                                            elmForm.validator('validate');
-                                                            var elmErr = elmForm.find('.has-error');
-                                                            if(elmErr && elmErr.length > 0){
-                                                                alert('Oops we still have error in the form');
-                                                                return false;
-                                                            }else{
-                                                                alert('Great! we are ready to submit form');
-                                                                elmForm.submit();
-                                                                return false;
-                                                            }
-                                                        }
-                                                    }
-                                                });
-            var btnCancel = $('<button></button>').text('Cancel')
-                                             .addClass('btn btn-danger')
-                                             .on('click', function(){
-                                                    $('#smartwizard').smartWizard("reset");
-                                                    $('#myForm').find("input, textarea").val("");
-                                                });
-
-
-
-            // Smart Wizard
-            var smartWizard = $('#smartwizard').smartWizard({
-                    selected: 0,
-                    theme: 'dots',
-                    transitionEffect:'fade',
-                    useURLhash: false,
-                    toolbarSettings: {toolbarPosition: 'bottom',
-                                      // toolbarExtraButtons: [btnFinish, btnCancel]
-                        showNextButton: false, // show/hide a Next button
-                        showPreviousButton: false, // show/hide a Previous button
-                                    },
-                    anchorSettings: {
-                                markDoneStep: true, // add done css
-                                markAllPreviousStepsAsDone: true, // When a step selected by url hash, all previous steps are marked done
-                                removeDoneStepOnNavigateBack: true, // While navigate back done step after active step will be cleared
-                                enableAnchorOnDoneStep: true // Enable/Disable the done steps navigation
-                            }
-                 });
-            smartWizard = smartWizard.data('smartWizard');
-
-            $("#smartwizard").on("leaveStep", function(e, anchorObject, stepNumber, stepDirection) {
-                var elmForm = $("#form-step-" + stepNumber);
-                // stepDirection === 'forward' :- this condition allows to do the form validation
-                // only on forward navigation, that makes easy navigation on backwards still do the validation when going next
-
-                console.log('leaveStep', anchorObject, stepNumber, stepDirection, elmForm);
-                if(stepDirection === 'forward' && elmForm){
-                    elmForm.validator('validate');
-                    var elmErr = elmForm.children('.has-error');
-                    if(elmErr && elmErr.length > 0){
-                        // Form validation failed
-                        return false;
-                    }
-                }
-                return true;
-            });
-
-            $("#smartwizard").on("showStep", function(e, anchorObject, stepNumber, stepDirection) {
-                // Enable finish button only on last step
-                if(stepNumber == 3){
-                    $('.btn-finish').removeClass('disabled');
-                }else{
-                    $('.btn-finish').addClass('disabled');
-                }
-            });
-
-            var $sw = $("#smartwizard");
-            $('#next-step').click(function (e) {
-                console.log(smartWizard.current_index, '点击下一步按钮');
-
-                e.preventDefault();
-                if (smartWizard.steps.index(this) !== smartWizard.current_index) {
-                    smartWizard.next();
-                }
-            });
-
-
-
-        });
-    </script>
-</body>
-</html>

+ 0 - 217
resources/assets/SmartWizard/examples/smartwizard-multiple.html

@@ -1,217 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>Smart Wizard - a JavaScript jQuery Step Wizard plugin</title>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-    <!-- Include Bootstrap CSS -->
-    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
-    <!-- Optional Bootstrap Theme -->
-    <link rel="stylesheet" href="../dist/css/bootstrap.min.css">
-
-    <!-- Include SmartWizard CSS -->
-    <link href="../dist/css/smart_wizard.css" rel="stylesheet" type="text/css" />
-
-    <!-- Optional SmartWizard theme -->
-    <link href="../dist/css/smart_wizard_theme_circles.css" rel="stylesheet" type="text/css" />
-    <link href="../dist/css/smart_wizard_theme_arrows.css" rel="stylesheet" type="text/css" />
-    <link href="../dist/css/smart_wizard_theme_dots.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-    <div class="container">
-
-        <form class="form-inline">
-            <label class="mr-sm-2">Choose Theme:</label>
-            <select id="theme_selector" class="custom-select mb-2 mr-sm-2 mb-sm-0">
-                  <option value="default">default</option>
-                  <option value="arrows">arrows</option>
-                  <option value="circles">circles</option>
-                  <option value="dots">dots</option>
-            </select>
-
-            <label class="mr-sm-2">External Buttons:</label>
-            <div class="btn-group" role="group">
-                <button class="btn btn-secondary" id="prev-btn" type="button">Go Previous</button>
-                <button class="btn btn-secondary" id="next-btn" type="button">Go Next</button>
-                <button class="btn btn-danger" id="reset-btn" type="button">Reset Wizard</button>
-            </div>
-        </form>
-
-        <br />
-
-        <!-- SmartWizard 1 html -->
-        <div id="smartwizard">
-            <ul>
-                <li><a href="#step-1">Step 1<br /><small>This is step description</small></a></li>
-                <li><a href="#step-2">Step 2<br /><small>This is step description</small></a></li>
-                <li><a href="#step-3">Step 3<br /><small>This is step description</small></a></li>
-                <li><a href="#step-4">Step 4<br /><small>This is step description</small></a></li>
-            </ul>
-
-            <div>
-                <div id="step-1" class="">
-                    <h2>Step 1 Content</h2>
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-2" class="">
-                    <h2>Step 2 Content</h2>
-                    <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div>
-                </div>
-                <div id="step-3" class="">
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-4" class="">
-                  <h2>Step 4 Content</h2>
-                  <div class="card">
-                      <div class="card-header">My Details</div>
-                      <div class="card-block p-0">
-                        <table class="table">
-                            <tbody>
-                                <tr> <th>Name:</th> <td>Tim Smith</td> </tr>
-                                <tr> <th>Email:</th> <td>example@example.com</td> </tr>
-                            </tbody>
-                        </table>
-                      </div>
-                  </div>
-                </div>
-            </div>
-        </div>
-
-        <br />
-
-        <!-- SmartWizard 2 html -->
-        <div id="smartwizard2">
-            <ul>
-                <li><a href="#step-1">Step 1<br /><small>This is step description</small></a></li>
-                <li><a href="#step-2">Step 2<br /><small>This is step description</small></a></li>
-                <li><a href="#step-3">Step 3<br /><small>This is step description</small></a></li>
-                <li><a href="#step-4">Step 4<br /><small>This is step description</small></a></li>
-            </ul>
-
-            <div>
-                <div id="step-1" class="">
-                    <h2>Step 1 Content</h2>
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-2" class="">
-                    <h2>Step 2 Content</h2>
-                    <div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div>
-                </div>
-                <div id="step-3" class="">
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-                </div>
-                <div id="step-4" class="">
-                  <h2>Step 4 Content</h2>
-                  <div class="card">
-                      <div class="card-header">My Details</div>
-                      <div class="card-block p-0">
-                        <table class="table">
-                            <tbody>
-                                <tr> <th>Name:</th> <td>Tim Smith</td> </tr>
-                                <tr> <th>Email:</th> <td>example@example.com</td> </tr>
-                            </tbody>
-                        </table>
-                      </div>
-                  </div>
-                </div>
-            </div>
-        </div>
-
-
-    </div>
-
-    <!-- Include jQuery -->
-    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-
-    <!-- Include SmartWizard JavaScript source -->
-    <script type="text/javascript" src="../dist/js/jquery.smartWizard.min.js"></script>
-
-    <script type="text/javascript">
-        $(document).ready(function(){
-
-            // Step show event
-            $("#smartwizard").on("showStep", function(e, anchorObject, stepNumber, stepDirection, stepPosition) {
-               //alert("You are on step "+stepNumber+" now");
-               if(stepPosition === 'first'){
-                   $("#prev-btn").addClass('disabled');
-               }else if(stepPosition === 'final'){
-                   $("#next-btn").addClass('disabled');
-               }else{
-                   $("#prev-btn").removeClass('disabled');
-                   $("#next-btn").removeClass('disabled');
-               }
-            });
-
-            // Toolbar extra buttons
-            var btnFinish = $('<button></button>').text('Finish')
-                                             .addClass('btn btn-info')
-                                             .on('click', function(){ alert('Finish Clicked'); });
-            var btnCancel = $('<button></button>').text('Cancel')
-                                             .addClass('btn btn-danger')
-                                             .on('click', function(){ $('#smartwizard').smartWizard("reset"); });
-
-            // Please note enabling option "showStepURLhash" will make navigation conflict for multiple wizard in a page.
-            // so that option is disabling => showStepURLhash: false
-
-            // Smart Wizard 1
-            $('#smartwizard').smartWizard({
-                    selected: 0,
-                    theme: 'default',
-                    transitionEffect:'fade',
-                    showStepURLhash: false,
-                    toolbarSettings: {toolbarPosition: 'both',
-                                      toolbarExtraButtons: [btnFinish, btnCancel]
-                                    }
-            });
-
-            // Smart Wizard 2
-            $('#smartwizard2').smartWizard({
-                    selected: 0,
-                    theme: 'default',
-                    transitionEffect:'fade',
-                    showStepURLhash: false
-            });
-
-
-            // External Button Events
-            $("#reset-btn").on("click", function() {
-                // Reset wizard
-                $('#smartwizard').smartWizard("reset");
-                return true;
-            });
-
-            $("#prev-btn").on("click", function() {
-                // Navigate previous
-                $('#smartwizard').smartWizard("prev");
-                return true;
-            });
-
-            $("#next-btn").on("click", function() {
-                // Navigate next
-                $('#smartwizard').smartWizard("next");
-                return true;
-            });
-
-            $("#theme_selector").on("change", function() {
-                // Change theme
-                $('#smartwizard').smartWizard("theme", $(this).val());
-                return true;
-            });
-
-            // Set selected theme on page refresh
-            $("#theme_selector").change();
-        });
-    </script>
-</body>
-</html>