-
Notifications
You must be signed in to change notification settings - Fork 1
/
modal.php
46 lines (46 loc) · 1.96 KB
/
modal.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>Modal Example</h2>
<!-- Trigger the modal with a button -->
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">Open Modal</button>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Login here</h4>
</div>
<div class="modal-body">
<!--login start -->
<div class="row">
<div class="col-md-6 col-md-offset-3">
<form action="r" method="post" accept-charset="utf-8" class="form" role="form"> <legend>Login</legend>
<input type="text" name="email" value="" class="form-control input-lg" placeholder="Your Email" />
<input type="password" name="password" value="" class="form-control input-lg" placeholder="Password" />
<button class="btn btn-lg btn-primary btn-block signup-btn" type="submit">LogIn</button>
</form>
</div>
</div>
</div>
<!--login end -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>