"Admin Signup Process"
Bootstrap 3.3.0 Snippet by mgustin12

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="head">
<h1>GIVINGEST</h1>
</div>
<div class="container">
<div class="row">
<div class="board">
<ul class="nav nav-tabs">
<div class="liner"></div>
<li rel-index="0" class="active">
<a href="#step-1" class="btn" aria-controls="step-1" role="tab" data-toggle="tab">
<span><i class="glyphicon glyphicon-user"></i></span>
</a>
</li>
<li rel-index="1">
<a href="#step-2" class="btn disabled" aria-controls="step-2" role="tab" data-toggle="tab">
<span><i class="glyphicon glyphicon-heart"></i></span>
</a>
</li>
<li rel-index="2">
<a href="#step-3" class="btn disabled" aria-controls="step-3" role="tab" data-toggle="tab">
<span><i class="glyphicon glyphicon-plus"></i></span>
</a>
</li>
<li rel-index="3">
<a href="#step-4" class="btn disabled" aria-controls="step-4" role="tab" data-toggle="tab">
<span><i class="glyphicon glyphicon-ok"></i></span>
</a>
</li>
</ul>
</div>
<div class="tab-content">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700);
body {
margin:40px;
font-family: 'Roboto Condensed', sans-serif;
background: #16A085;
}
.head {
color: #ECF0F1;
}
.board {
width: 100%;
height: auto;
margin: 20px auto;
background: #fefefe;
border-radius: 8px 8px 0 0;
}
.board .nav-tabs {
position: relative;
margin: 40px auto;
margin-bottom: 0;
box-sizing: border-box;
}
.liner {
height: 2px;
background: #ddd;
position: absolute;
width: 80%;
margin: 0 auto;
left: 0;
right: 0;
top: 50%;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
$(function() {
// Nav Tab stuff
$('.nav-tabs > li > a').click(function() {
if($(this).hasClass('disabled')) {
return false;
} else {
var linkIndex = $(this).parent().index() - 1;
$('.nav-tabs > li').each(function(index, item) {
$(this).attr('rel-index', index - linkIndex);
});
}
});
$('#step-1-next').click(function() {
// Check values here
var isValid = true;
if(isValid) {
$('.nav-tabs > li:nth-of-type(2) > a').removeClass('disabled').click();
}
});
$('#step-2-next').click(function() {
// Check values here
var isValid = true;
if(isValid) {
$('.nav-tabs > li:nth-of-type(3) > a').removeClass('disabled').click();
}
});
$('#step-3-next').click(function() {
// Check values here
var isValid = true;
if(isValid) {
$('.nav-tabs > li:nth-of-type(4) > a').removeClass('disabled').click();
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: