This repository has been archived by the owner on Nov 10, 2021. It is now read-only.
/
signsheet.html
68 lines (54 loc) · 1.9 KB
/
signsheet.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
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Dynatable/0.3.1/jquery.dynatable.min.js">
</script>
<title>Shady Alley</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Dynatable/0.3.1/jquery.dynatable.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.min.js">
</script>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js">
</script>
</head>
<body>
<div class="container-fluid p-5 bg-primary text-white text-center">
<h1>Login/Register</h1>
<p>Login/Register here</p>
<h2><a type="button" class="btn btn-light" href="index.html">Home</a></h2>
</div>
<script>
function checkPassword() {
var password = document.getElementById("passwordBox");
var passwordText = password.value;
if(passwordText == "beta") {
return true;
}
alert("Access denied! Incorrect password!");
return false;
}
</script>
</head>
<body>
<div class="container-fluid p-5 text-primary text-center">
<h1><b>Login</b></h1>
<p>Please enter the password to view this website. Password is: beta</p>
<p><b>Password </b><input placeholder="Enter Password" id="passwordBox" type="password"/></p>
<a type="button" class="btn btn-primary" href="Home.html" onclick="return checkPassword();">Login</a>
<form action="action_page.php">
<div class="container">
</body>
<body>
<h1>Register</h1>
<p>Please fill in this form to create an account.</p>
<a href="https://forms.gle/yNsEq5xi3zGQ41iJ7">Sign Up</a>
<div class="container signin">
<p>Already have the password? <a href="#">Login</a>.</p>
</div>
</form>
</body>
</html>