-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
61 lines (53 loc) · 2.01 KB
/
index.html
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css" />
<!-- <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> -->
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="id01" class="modal">
<form class="modal-content animate" action="/action_page.php" method="post">
<div class="container">
<div class="login_details">
<h1> Green Go! </h1>
<div class= "field">
<label for="uname"><b>Username</b></label>
</div>
<div>
<input type="text" placeholder="Username" name="uname" required>
</div>
<div class= "field">
<label for="psw"><b>Password</b></label>
</div>
<div>
<input type="password" placeholder="Password" name="psw" required>
</div>
<div>
<button type="submit">Login</button>
</div>
<label>
<input type="checkbox" checked="checked" name="remember"> Remember me
</label>
</div>
</div>
<div class="cancel">
<button type="button" onclick="document.getElementById('id01').style.display='none'" class="cancelbtn">Cancel</button>
<!-- <span class="psw">Forgot <a href="#">password?</a></span> -->
</div>
</form>
</div>
</body>
<script>
// Get the modal
var modal = document.getElementById('id01');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"> -->
</script>
</html>