"Login Form - Modal"
Bootstrap 3.2.0 Snippet by edm00se

<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 ----------> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <div id="login-overlay" class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <h4 class="modal-title" id="myModalLabel">Login to site.com</h4> </div> <div class="modal-body"> <div class="row"> <div class="col-xs-12"> <div class="well"> <form id="loginForm" method="POST" action="/login/" novalidate="novalidate"> <div class="form-group"> <label for="username" class="control-label">Username</label> <input type="text" class="form-control" id="username" name="username" value="" required="" title="Please enter you username" placeholder="example@gmail.com"> <span class="help-block"></span> </div> <div class="form-group"> <label for="password" class="control-label">Password</label> <input type="password" class="form-control" id="password" name="password" value="" required="" title="Please enter your password"> <span class="help-block"></span> </div> <div id="loginErrorMsg" class="alert alert-error hide">Wrong username og password</div> <div class="checkbox"> <label> <input type="checkbox" name="remember" id="remember"> Remember login </label> <p class="help-block">(if this is a private computer)</p> </div> <button type="submit" class="btn btn-success btn-block">Login</button> <a href="/forgot/" class="btn btn-default btn-block">Help to login</a> </form> </div> </div> </div> </div> </div> </div>

Related: See More


Questions / Comments: