-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (56 loc) · 3.21 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>NotFacebook</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Group 18">
<meta name="description" content="COP4331C Small Project Spring 2021 - Group 18">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="css/style-login.css">
<script type="text/javascript" src="js/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="js/md5.js"></script>
<script type="text/javascript" src="js/code.js"></script>
<script>
if (readCookie() !== null) {
window.location.href = "main.html";
}
</script>
</head>
<body>
<div class="container">
<!-- Login/Register box -->
<section class="form-box">
<div id="login-box">
<div class="name"><strong class="name-not">Not</strong><strong class="name-facebook">Facebook</strong></div>
<input id="login-username" class="input" type="text" placeholder="Username">
<input id="login-password" class="input" type="password" placeholder="Password">
<button id="login-submit" type="submit" onclick="doLogin()">Log In</button>
<div class="form-error-text" id="login-error"></div>
<div class="form-text">Don't have an account? Don't worry! Register in less than 10 seconds!</div>
<button id="login-register" type="button" onclick="registerForm()">Create a New Account</button>
</div>
<div id="register-box">
<div class="name"><strong class="name-not">Not</strong><strong class="name-facebook">Facebook</strong></div>
<input id="register-username" class="input" type="text" placeholder="Username">
<input id="register-password" class="input" type="password" placeholder="Password">
<input id="register-password-confirm" class="input" type="password" placeholder="Confirm Password">
<button id="register-submit" type="submit" onclick="doRegister()">Register</button>
<div class="form-error-text" id="register-error"></div>
<div class="form-text">Already have an account? <a href="#" onclick="loginForm()">Log In</a></div>
</div>
</section>
<div></div>
<!-- Testimonial -->
<section id="testimonial">
<div id="testimonial-box">
<div id="testimonial-text">Your life. Your contacts.</div>
<div class="testimonial-description">
All your contacts in one place, across platforms. <strong class="name-not name-normal">Not</strong><strong class="name-facebook name-normal">Facebook</strong><sup>®</sup> keeps you in contact with the people that matter most in your life.
</div>
<img id="testimonial-img" src="media/homepage-testimonial.jpeg">
</div>
</section>
</div>
</body>
</html>