"Login & Signup forms in panel"
Bootstrap 3.2.0 Snippet by ashishnitinpatil

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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="container"> <div class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2" id="loginbox" style="margin-top:50px;"> <div class="panel panel-info"> <div class="panel-heading"> <div class="panel-title"> Sign In </div> <div style="float:right; font-size: 80%; position: relative; top:-10px"> <a href="#">Forgot password?</a> </div> </div> <div class="panel-body" style="padding-top:30px"> <div class="alert alert-danger col-sm-12" id="login-alert" style="display:none"> </div> <form class="form-horizontal" id="loginform" name="loginform"> <div class="input-group" style="margin-bottom: 25px"> <span class="input-group-addon glyphicon glyphicon-user" style="font-style: italic"></span> <input class="form-control" id="login-username" name="username" placeholder="username or email" type="text" value=""> </div> <div class="input-group" style="margin-bottom: 25px"> <span class="input-group-addon glyphicon glyphicon-lock" style="font-style: italic"></span> <input class="form-control" id="login-password" name="password" placeholder="password" type="password"> </div> <div class="input-group"> <div class="checkbox"> <label><input id="login-remember" name="remember" type="checkbox" value="1"> Remember me</label> </div> </div> <div class="form-group" style="margin-top:10px"> <!-- Button --> <div class="col-sm-12 controls"> <a class="btn btn-success" href="#" id="btn-login" onclick="form.submit();">Login</a> </div> </div> <div class="form-group"> <div class="col-md-12 control"> <div style="border-top: 1px solid#888; padding-top:15px; font-size:85%"> Don't have an account! <a href="#" onclick="$('#loginbox').hide(); $('#signupbox').show()">Sign Up Here</a> </div> </div> </div> </form> </div> </div> </div> <div class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2" id="signupbox" style="display:none; margin-top:50px"> <div class="panel panel-info"> <div class="panel-heading"> <div class="panel-title"> Sign Up </div> <div style="float:right; font-size: 85%; position: relative; top:-10px"> <a href="#" id="signinlink" onclick="$('#signupbox').hide(); $('#loginbox').show()">Sign In</a> </div> </div> <div class="panel-body"> <form class="form-horizontal" id="signupform" name="signupform"> <div class="alert alert-danger" id="signupalert" style="display:none"> <p>Error:</p> <span></span> </div> <div class="form-group"> <label class="col-md-3 control-label" for="email">Email</label> <div class="col-md-9"> <input class="form-control" name="email" placeholder="Email Address" type="text"> </div> </div> <div class="form-group"> <label class="col-md-3 control-label" for="firstname">First Name</label> <div class="col-md-9"> <input class="form-control" name="firstname" placeholder="First Name" type="text"> </div> </div> <div class="form-group"> <label class="col-md-3 control-label" for="lastname">Last Name</label> <div class="col-md-9"> <input class="form-control" name="lastname" placeholder="Last Name" type="text"> </div> </div> <div class="form-group"> <label class="col-md-3 control-label" for="password">Password</label> <div class="col-md-9"> <input class="form-control" name="passwd" placeholder="Password" type="password"> </div> </div> <div class="form-group"> <label class="col-md-3 control-label" for="icode">Invitation Code</label> <div class="col-md-9"> <input class="form-control" name="icode" placeholder="" type="text"> </div> </div> <div class="form-group"> <!-- Button --> <div class="col-md-offset-3 col-md-9"> <button class="btn btn-info" id="btn-signup" type="button"><i class="icon-hand-right"></i>   Sign Up</button> </div> </div> </form> </div> </div> </div> </div>

Related: See More


Questions / Comments: