-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
68 lines (66 loc) · 2.5 KB
/
signup.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 lang="en">
<head>
<title>WNWN :: Sign Up</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style/bootstrap.min.css">
<link href="style/style.css" rel="stylesheet" media="screen">
<script src="bootstrap/jquery-2.1.3.min.js" type="text/javascript"></script>
<script src="bootstrap/bootstrap.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link href="style/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="container">
<!--Logo-->
<div class="col-xs-12 img" >
<img src="img/wnwn.png" alt="Waste Not Want Not" align= "center" width= "300" height="300"/>
</div>
<!--html form-->
<form action="signup.php" method="post" class="col-lg-12 cneter">
<!--username-->
<div class="form-group">
<label for="Username">Username:</label>
<input type="text" class="form-control" id="username" placeholder="Enter Username" name="username" required>
</div>
<!--email-->
<div class="form-group">
<label for="email">Email:</label>
<input type="email" class="form-control" id="email" placeholder="Enter email" name="email" required>
</div>
<!--password-->
<div class="form-group" method="post">
<label for="pwd">Password:</label>
<input type="password" class="form-control" id="password" placeholder="Enter password" name="pwd" required>
</div>
<!--comfirmed-->
<div class="form-group">
<label for="pwd">Comfirm Password:</label>
<input type="password" class="form-control" id="comfirm_password" placeholder="Re-Enter password" required>
</div>
<script>
$('#password, #confirm_password').on('keyup', function () {
if ($('#password').val() == $('#confirm_password').val()) {
$('#message').html('Matching').css('color', 'green');
} else {
$('#message').html('Not Matching').css('color', 'red');
}
});
</script>
<button type="submit" class='btn btn-xl btn-block'>Submit</button>
</form>
<!--link back to sign in-->
<div>
<div class="col-xs-8 col-xs-offset-2 center">Already A Member?
<a href="index.html">click here</a>
</div>
</div>
<br/>
<div id="message">
</div>
<div class="col-xs-12">
<a href="displaytable.php">display database</a>
</div>
</div>
</body>