This repository has been archived by the owner on May 29, 2019. It is now read-only.
forked from hortonworks/fluid-bootstrap-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wizard.html
155 lines (149 loc) · 5.87 KB
/
wizard.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!--
Copyright (c) 2011-2018, Hortonworks Inc. All rights reserved.
Except as expressly permitted in a written agreement between you
or your company and Hortonworks, Inc, any use, reproduction,
modification, redistribution, sharing, lending or other exploitation
of all or any part of the contents of this file is strictly prohibited.
-->
<!doctype html>
<html lang="en">
<head>
<title>Fluid Bootstrap 4 Theme</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="css/fluid-bootstrap.css">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="css/demo.css">
</head>
<body class="wizard">
<nav class="navbar navbar-primary">
<ol class="stepper stepper-light step-1">
<li class="active">
<a href="javascript:goToStep(1);">Step A</a>
<div class="desc">Start here</div>
</li>
<li>
<a href="javascript:goToStep(2);">Step B</a>
<div class="desc">Continue here</div>
</li>
<li>
<a href="javascript:goToStep(3);">Step C</a>
<div class="desc">Finish here</div></li>
</li>
</ol>
<ol class="stepper stepper-light step-2">
<li class="complete">
<a href="javascript:goToStep(1);">Step A</a>
<div class="desc">Start here</div>
</li>
<li class="active">
<a href="javascript:goToStep(2);">Step B</a>
<div class="desc">Continue here</div>
</li>
<li>
<a href="javascript:goToStep(3);">Step C</a>
<div class="desc">Finish here</div></li>
</li>
</ol>
<ol class="stepper stepper-light step-3">
<li class="complete">
<a href="javascript:goToStep(1);">Step A</a>
<div class="desc">Start here</div>
</li>
<li class="complete">
<a href="javascript:goToStep(2);">Step B</a>
<div class="desc">Continue here</div>
</li>
<li class="active">
<a href="javascript:goToStep(3);">Step C</a>
<div class="desc">Finish here</div></li>
</li>
</ol>
</nav>
<nav class="navbar navbar-header fixed-top">
<h1 class="navbar-text text-default">Fluid Bootstrap 4 Theme - Full Screen Wizard Example</h1>
</nav>
<main class="wizard-body">
<div id="alertsTopRight" class="alert-container right"></div>
<div id="alertsTopLeft" class="alert-container"></div>
<div id="alertsBottomRight" class="alert-container bottom right"></div>
<div id="alertsBottomLeft" class="alert-container bottom"></div>
<div class="container-fluid step-1">
<header class="wizard-header">
<h2>1. Step A</h2>
<p>This is the first step of this wizard. You can put an extended step description here.</p>
</header>
<div class="card" id="wizardContent" style="height: 100vh">
<div class="card-body">
Content for the first step goes here.
</div>
</div>
</div>
<div class="container-fluid step-2">
<header class="wizard-header">
<h2>2. Step B</h2>
<p>This is the second step of this wizard. You can put an extended step description here.</p>
</header>
<div class="card" id="wizardContent">
<div class="card-body">
Content for the second step goes here.
</div>
</div>
</div>
<div class="container-fluid step-3">
<header class="wizard-header">
<h2>3. Step C</h2>
<p>This is the third and final step of this wizard. You can put an extended step description here.</p>
</header>
<div class="card" id="wizardContent">
<div class="card-body">
Content for the third step goes here.
</div>
</div>
</div>
</main>
<nav class="navbar navbar-wizard fixed-bottom">
<button type="button" class="btn btn-default wizard-cancel-button" data-toggle="modal" data-target="#cancelWizard">Cancel</button>
<button id="back" type="button" class="btn btn-secondary wizard-nav-button wizard-back-button" onclick="back()">Back</button>
<button id="next" type="button" class="btn btn-primary wizard-nav-button" onclick="next()">Next</button>
<a id="finish" class="btn btn-primary" href="index.html#wizard">Finish</a>
</nav>
<nav class="navbar navbar-footer">
<div class="container-fluid">
<div class="row">
<div class="col">
<p>This is the footer.</p>
<p>It contains some important information.</p>
<p>You should probably read it carefully.</p>
</div>
</div>
</div>
</nav>
<!-- Cancel Confirmation -->
<div id="cancelWizard" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="cancelWizardHeader">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<span class="modal-title" id="cancelWizardHeader">Cancel wizard</span>
</div>
<div class="modal-body">
<p>Are you sure?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary wizard-nav-button" data-dismiss="modal">Cancel</button>
<a class="btn btn-primary" href="index.html#wizard">OK</a>
</div>
</div>
</div>
</div>
<!-- Required libraries for Bootstrap 4 JS components to work (https://getbootstrap.com/docs/4.0/getting-started/introduction/#js) -->
<!-- jQuery first, then Bootstrap Bundle (includes Popper) -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="js/fluid-bootstrap.js"></script>
<script src="js/demo.js"></script>
<script>
goToStep(1);
</script>
</body>
</html>