-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
82 lines (81 loc) · 3.05 KB
/
index.php
File metadata and controls
82 lines (81 loc) · 3.05 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
<title>Password Manager</title>
</head>
<body>
<nav>
<div class="logo">Password Manager</div>
<ul>
<li><a href="#">SignIn</a></li>
</ul>
<ul>
<li><a href="#">About</a></li>
</ul>
<ul>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<!-- ============================************************ LogInBox ****************======================== -->
<form action="includes/login.php" method="post" class="login">
<div class="login-box">
<div class="container">
<h1>Login Form</h1>
<div class="form_input">
<input type="text" name="username" required>
<label>Username</label>
</div>
<div class="form_input">
<input type="password" name="password" required>
<label>Password</label>
</div>
<button name="loginsubmit" class="btn">Login</button>
<button type="reset" name="reset" class="btn">Reset</button>
</div>
</div>
</form>
<!--======================******************** SignInBox **************================================ -->
<form action="includes/signin.php" method="post" class="signin" name="signin">
<input type="checkbox" id="openSidebar" >
<label for="openSidebar" class="SidebarToggle" >
<div class="SignInButton"></div>
</label>
<div class="sidebar">
<div class="SignInBox">
<div class="container">
<h1>SignIn Form</h1>
<div class="form_input">
<input type="text" name="username" id="username" required>
<label>Username</label>
</div>
<div class="form_input">
<input type="tel" name="phno" id="phno" required>
<label>Phone no:</label>
</div>
<div class="form_input">
<input type="email" name="email" id="email" required>
<label>E-mail</label>
</div>
<div class="form_input">
<input type="password" name="password" id="password"
pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}"
title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters" required>
<label>Password</label>
</div>
<div class="form_input">
<input type="password" name="confirm_password" id="confirm_password" required>
<label>Confirm Password</label>
</div>
<button name="signinsubmit" class="btn" onmousemove="passwordMatch();">Submit</button>
<button type="reset" name="reset" class="btn">Reset</button>
</div>
</div>
</div>
</form>
</body>
<script src="script.js"></script>
</html>