-
Notifications
You must be signed in to change notification settings - Fork 13
/
form-wizard.html
472 lines (455 loc) · 23.4 KB
/
form-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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
<!DOCTYPE html>
<html>
<head>
<title>Detail Admin - Form Wizard</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- bootstrap -->
<link href="css/bootstrap/bootstrap.css" rel="stylesheet" />
<link href="css/bootstrap/bootstrap-overrides.css" type="text/css" rel="stylesheet" />
<!-- libraries -->
<link href="css/lib/uniform.default.css" type="text/css" rel="stylesheet" />
<link href="css/lib/select2.css" type="text/css" rel="stylesheet" />
<link href="css/lib/bootstrap.datepicker.css" type="text/css" rel="stylesheet" />
<link href="css/lib/font-awesome.css" type="text/css" rel="stylesheet" />
<!-- global styles -->
<link rel="stylesheet" type="text/css" href="css/compiled/layout.css" />
<link rel="stylesheet" type="text/css" href="css/compiled/elements.css" />
<link rel="stylesheet" type="text/css" href="css/compiled/icons.css" />
<!-- this page specific styles -->
<link rel="stylesheet" href="css/compiled/form-wizard.css" type="text/css" media="screen" />
<!-- open sans font -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css' />
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<!-- navbar -->
<header class="navbar navbar-inverse" role="banner">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" id="menu-toggler">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"><img src="img/logo.png" alt="logo" /></a>
</div>
<ul class="nav navbar-nav pull-right hidden-xs">
<li class="hidden-xs hidden-sm">
<input class="search" type="text" />
</li>
<li class="notification-dropdown hidden-xs hidden-sm">
<a href="#" class="trigger">
<i class="icon-warning-sign"></i>
<span class="count">8</span>
</a>
<div class="pop-dialog">
<div class="pointer right">
<div class="arrow"></div>
<div class="arrow_border"></div>
</div>
<div class="body">
<a href="#" class="close-icon"><i class="icon-remove-sign"></i></a>
<div class="notifications">
<h3>You have 6 new notifications</h3>
<a href="#" class="item">
<i class="icon-signin"></i> New user registration
<span class="time"><i class="icon-time"></i> 13 min.</span>
</a>
<a href="#" class="item">
<i class="icon-signin"></i> New user registration
<span class="time"><i class="icon-time"></i> 18 min.</span>
</a>
<a href="#" class="item">
<i class="icon-envelope-alt"></i> New message from Alejandra
<span class="time"><i class="icon-time"></i> 28 min.</span>
</a>
<a href="#" class="item">
<i class="icon-signin"></i> New user registration
<span class="time"><i class="icon-time"></i> 49 min.</span>
</a>
<a href="#" class="item">
<i class="icon-download-alt"></i> New order placed
<span class="time"><i class="icon-time"></i> 1 day.</span>
</a>
<div class="footer">
<a href="#" class="logout">View all notifications</a>
</div>
</div>
</div>
</div>
</li>
<li class="notification-dropdown hidden-xs hidden-sm">
<a href="#" class="trigger">
<i class="icon-envelope"></i>
</a>
<div class="pop-dialog">
<div class="pointer right">
<div class="arrow"></div>
<div class="arrow_border"></div>
</div>
<div class="body">
<a href="#" class="close-icon"><i class="icon-remove-sign"></i></a>
<div class="messages">
<a href="#" class="item">
<img src="img/contact-img.png" class="display" alt="user" />
<div class="name">Alejandra Galván</div>
<div class="msg">
There are many variations of available, but the majority have suffered alterations.
</div>
<span class="time"><i class="icon-time"></i> 13 min.</span>
</a>
<a href="#" class="item">
<img src="img/contact-img2.png" class="display" alt="user" />
<div class="name">Alejandra Galván</div>
<div class="msg">
There are many variations of available, have suffered alterations.
</div>
<span class="time"><i class="icon-time"></i> 26 min.</span>
</a>
<a href="#" class="item last">
<img src="img/contact-img.png" class="display" alt="user" />
<div class="name">Alejandra Galván</div>
<div class="msg">
There are many variations of available, but the majority have suffered alterations.
</div>
<span class="time"><i class="icon-time"></i> 48 min.</span>
</a>
<div class="footer">
<a href="#" class="logout">View all messages</a>
</div>
</div>
</div>
</div>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle hidden-xs hidden-sm" data-toggle="dropdown">
Your account
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="personal-info.html">Personal info</a></li>
<li><a href="#">Account settings</a></li>
<li><a href="#">Billing</a></li>
<li><a href="#">Export your data</a></li>
<li><a href="#">Send feedback</a></li>
</ul>
</li>
<li class="settings hidden-xs hidden-sm">
<a href="personal-info.html" role="button">
<i class="icon-cog"></i>
</a>
</li>
<li class="settings hidden-xs hidden-sm">
<a href="signin.html" role="button">
<i class="icon-share-alt"></i>
</a>
</li>
</ul>
</header>
<!-- end navbar -->
<!-- sidebar -->
<div id="sidebar-nav">
<ul id="dashboard-menu">
<li>
<a href="index.html">
<i class="icon-home"></i>
<span>Home</span>
</a>
</li>
<li>
<a href="chart-showcase.html">
<i class="icon-signal"></i>
<span>Charts</span>
</a>
</li>
<li>
<a class="dropdown-toggle" href="#">
<i class="icon-group"></i>
<span>Users</span>
<i class="icon-chevron-down"></i>
</a>
<ul class="submenu">
<li><a href="user-list.html">User list</a></li>
<li><a href="new-user.html">New user form</a></li>
<li><a href="user-profile.html">User profile</a></li>
</ul>
</li>
<li class="active">
<a class="dropdown-toggle" href="#">
<div class="pointer">
<div class="arrow"></div>
<div class="arrow_border"></div>
</div>
<i class="icon-edit"></i>
<span>Forms</span>
<i class="icon-chevron-down"></i>
</a>
<ul class="active submenu">
<li><a href="form-showcase.html">Form showcase</a></li>
<li><a href="form-wizard.html" class="active">Form wizard</a></li>
</ul>
</li>
<li>
<a href="gallery.html">
<i class="icon-picture"></i>
<span>Gallery</span>
</a>
</li>
<li>
<a href="calendar.html">
<i class="icon-calendar-empty"></i>
<span>Calendar</span>
</a>
</li>
<li>
<a class="dropdown-toggle" href="tables.html">
<i class="icon-th-large"></i>
<span>Tables</span>
<i class="icon-chevron-down"></i>
</a>
<ul class="submenu">
<li><a href="tables.html">Custom tables</a></li>
<li><a href="datatables.html">DataTables</a></li>
</ul>
</li>
<li>
<a class="dropdown-toggle ui-elements" href="#">
<i class="icon-code-fork"></i>
<span>UI Elements</span>
<i class="icon-chevron-down"></i>
</a>
<ul class="submenu">
<li><a href="ui-elements.html">UI Elements</a></li>
<li><a href="icons.html">Icons</a></li>
</ul>
</li>
<li>
<a href="personal-info.html">
<i class="icon-cog"></i>
<span>My Info</span>
</a>
</li>
<li>
<a class="dropdown-toggle" href="#">
<i class="icon-share-alt"></i>
<span>Extras</span>
<i class="icon-chevron-down"></i>
</a>
<ul class="submenu">
<li><a href="code-editor.html">Code editor</a></li>
<li><a href="grids.html">Grids</a></li>
<li><a href="signin.html">Sign in</a></li>
<li><a href="signup.html">Sign up</a></li>
</ul>
</li>
</ul>
</div>
<!-- end sidebar -->
<!-- main container -->
<div class="content">
<!-- settings changer -->
<div class="skins-nav">
<a href="#" class="skin first_nav selected">
<span class="icon"></span><span class="text">Default</span>
</a>
<a href="#" class="skin second_nav" data-file="css/compiled/skins/dark.css">
<span class="icon"></span><span class="text">Dark skin</span>
</a>
</div>
<div id="pad-wrapper">
<div class="row">
<div class="col-md-12 col-xs-12">
<div id="fuelux-wizard" class="wizard row">
<ul class="wizard-steps">
<li data-target="#step1" class="active">
<span class="step">1</span>
<span class="title">General <br> information</span>
</li>
<li data-target="#step2">
<span class="step">2</span>
<span class="title">Address <br> information</span>
</li>
<li data-target="#step3">
<span class="step">3</span>
<span class="title">User <br> settings</span>
</li>
<li data-target="#step4">
<span class="step">4</span>
<span class="title">Payment <br> info</span>
</li>
</ul>
</div>
<div class="step-content">
<div class="step-pane active" id="step1">
<div class="row form-wrapper">
<div class="col-md-8">
<form>
<div class="field-box">
<label>Name:</label>
<input class="form-control" type="text" />
</div>
<div class="field-box error">
<label>Company:</label>
<input class="form-control" type="text" />
<span class="alert-msg"><i class="icon-remove-sign"></i> Please enter your company</span>
</div>
<div class="field-box">
<label>Email:</label>
<input class="form-control" type="text" />
</div>
<div class="field-box success">
<label>Username:</label>
<input class="form-control" type="text" />
<span class="alert-msg"><i class="icon-ok-sign"></i> Username available</span>
</div>
</form>
</div>
</div>
</div>
<div class="step-pane" id="step2">
<div class="row form-wrapper">
<div class="col-md-8">
<form>
<div class="field-box">
<label>Address:</label>
<input class="form-control" type="text" />
</div>
<div class="field-box">
<label>City:</label>
<input class="form-control" type="text" />
</div>
<div class="field-box">
<label>Postal/ZIP code:</label>
<input class="form-control" type="text" />
</div>
<div class="field-box">
<label>Country:</label>
<input class="form-control" type="text" />
</div>
</form>
</div>
</div>
</div>
<div class="step-pane" id="step3">
<div class="row form-wrapper">
<div class="col-md-8">
<form>
<div class="field-box">
<label>Username:</label>
<input class="form-control" type="text" />
</div>
<div class="field-box">
<label>Photo:</label>
<input type="file" />
</div>
<div class="field-box">
<label>App name:</label>
<input class="form-control" type="text" />
</div>
<div class="field-box">
<label>Time zone:</label>
<select>
<option value="Hawaii">(GMT-10:00) Hawaii</option>
<option value="Alaska">(GMT-09:00) Alaska</option>
<option value="Pacific Time (US & Canada)">(GMT-08:00) Pacific Time (US & Canada)</option>
<option value="Arizona">(GMT-07:00) Arizona</option>
<option value="Mountain Time (US & Canada)">(GMT-07:00) Mountain Time (US & Canada)</option>
<option value="Central Time (US & Canada)">(GMT-06:00) Central Time (US & Canada)</option>
<option value="Eastern Time (US & Canada)">(GMT-05:00) Eastern Time (US & Canada)</option>
<option value="Indiana (East)">(GMT-05:00) Indiana (East)</option><option value="" disabled="disabled">-------------</option>
<option value="American Samoa">(GMT-11:00) American Samoa</option>
<option value="International Date Line West">(GMT-11:00) International Date Line West</option>
<option value="Midway Island">(GMT-11:00) Midway Island</option>
</select>
</div>
</form>
</div>
</div>
</div>
<div class="step-pane" id="step4">
<div class="row form-wrapper payment-info">
<div class="col-md-8">
<form>
<div class="field-box">
<label>Subscription Plan:</label>
<select id="plan">
<option value="66">Basic - $2.99/month (USD)</option>
<option value="67">Pro - $9.99/month (USD)</option>
<option value="68">Premium - $49.99/month (USD)</option>
</select>
</div>
<div class="field-box">
<label>Credit Card Number:</label>
<input class="form-control" type="text" />
</div>
<div class="field-box">
<label>Expiration:</label>
<input class="form-control" style="width:60px;display:inline" placeholder="MM" type="text" />
/
<input class="form-control" style="width:85px;display:inline" placeholder="YYYY" type="text" />
</div>
<div class="field-box">
<label>Card CVC Number:</label>
<input class="form-control" type="text" />
</div>
</form>
</div>
</div>
</div>
</div>
<div class="wizard-actions">
<button type="button" disabled class="btn-glow primary btn-prev">
<i class="icon-chevron-left"></i> Prev
</button>
<button type="button" class="btn-glow primary btn-next" data-last="Finish">
Next <i class="icon-chevron-right"></i>
</button>
<button type="button" class="btn-glow success btn-finish">
Setup your account!
</button>
</div>
</div>
</div>
</div>
</div>
<!-- end main container -->
<!-- scripts for this page -->
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/theme.js"></script>
<script src="js/fuelux.wizard.js"></script>
<script type="text/javascript">
$(function () {
var $wizard = $('#fuelux-wizard'),
$btnPrev = $('.wizard-actions .btn-prev'),
$btnNext = $('.wizard-actions .btn-next'),
$btnFinish = $(".wizard-actions .btn-finish");
$wizard.wizard().on('finished', function(e) {
// wizard complete code
}).on("changed", function(e) {
var step = $wizard.wizard("selectedItem");
// reset states
$btnNext.removeAttr("disabled");
$btnPrev.removeAttr("disabled");
$btnNext.show();
$btnFinish.hide();
if (step.step === 1) {
$btnPrev.attr("disabled", "disabled");
} else if (step.step === 4) {
$btnNext.hide();
$btnFinish.show();
}
});
$btnPrev.on('click', function() {
$wizard.wizard('previous');
});
$btnNext.on('click', function() {
$wizard.wizard('next');
});
});
</script>
</body>
</html>