<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html> <!-- html5 세팅 -->
<html>
<head>
<style>
	.ex{
	color:white;
	}
	.ex1{
	background-color:green;
	}
	.ex2{
	background-color:green;
	color:white;
	}
</style>

<meta charset="UTF-8">
<meta name ="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css">
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<title>Insert title here</title>
</head>
<body>
<div class="container">
	<h2>Modal Login Example</h2>
	<button type="button" class="btn btn-default" data-toggle="modal" data-target="#myModal">Login</button>
	
	<!-- Modal -->
	<div class="modal" id="myModal" role="dialog">
		
		<div class="modal-dialog">

			<!-- Modal content -->
			<div class="modal-content">
					<div class="ex1">
				<div class="modal-header">
				<center>
				<div class="ex">
					<button type="button" class="close" data-dismiss="modal">&times;</button>
					<h4 class="modal-title"><span class="glyphicon glyphicon-lock"></span> Login</h4>
				</div>
				</center>
				</div>
				</div>
				<div class="modal-body">
					<form>
						<div class="form-group">
							<label for="username"><span class="glyphicon glyphicon-user"></span> Username</label>
							<input type="text" class="form-control" id="username" placeholder="Enter email" name="username">
						</div>
						<div class="form-group">
							<label for="pwd"><span class="glyphicon glyphicon-eye-open"></span> Password</label>
							<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="pwd">
						</div>
						<div class="form-group">
							<label><input type="checkbox" name="remember"> Remember me</label>
						</div>
						
							<button class="btn btn-block ex2"><span class="glyphicon glyphicon-off"></span> Login</button>
					</form>
				</div>
				<div class="modal-footer">
					
					<button type="button" class="btn btn-danger pull-left" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> Cancel</button>
						Not a member?<a href="#">Sign Up</a><br>
						Forgot <a href="#">Password?</a>
					
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>