This repository has been archived by the owner on May 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
73 lines (67 loc) · 3.11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Wizard demo</title>
<link href="bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet" />
<link href="dist/jquery.simplewizard.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<form id="wizard1" class="wizard">
<div class="wizard-header">
<ul class="nav nav-tabs">
<li role="presentation" class="wizard-step-indicator"><a href="#start">Start</a></li>
<li role="presentation" class="wizard-step-indicator"><a href="#profile">Profile</a></li>
<li role="presentation" class="wizard-step-indicator"><a href="#messages">Messages</a></li>
<li role="presentation" class="wizard-step-indicator"><a href="#finish">Finish</a></li>
</ul>
</div>
<div class="wizard-content">
<div id="start" class="wizard-step">
<button type="button" class="wizard-next">Start</button>
<button type="button" class="wizard-goto" value="3">Go to last</button>
</div>
<div id="profile" class="wizard-step">
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" class="form-control required" />
</div>
<button type="button" class="wizard-prev">Previous</button>
<button type="button" class="wizard-next">Next</button>
</div>
<div id="messages" class="wizard-step">
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" class="form-control required"></textarea>
</div>
<button type="button" class="wizard-prev">Previous</button>
<button type="button" class="wizard-next">Next</button>
</div>
<div id="finish" class="wizard-step">
<button type="button" class="wizard-prev">Previous</button>
<button type="button" class="wizard-finish">Finish</button>
<button type="button" class="wizard-goto" value="0">Go to first</button>
</div>
</div>
</form>
</div>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="dist/jquery.simplewizard.js"></script>
<script>
$(function () {
$("#wizard1").simpleWizard({
cssClassStepActive: "active",
cssClassStepDone: "done",
onFinish: function() {
alert("Wizard finished")
}
});
});
</script>
</body>
</html>