-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
99 lines (93 loc) · 5.25 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!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">
<title>Sign Up</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body style="background-image: url(res/back.png);/*background-color: rgb(165, 245, 133);*/">
<nav id="head" class="navbar navbar-expand-lg navbar-light" >
<a class="navbar-brand" href="#">
<img id="logo" src="res/logo.png" alt="">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="districts.html">Districts</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="signup.html">SignUp</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.html">LogIn</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-primary my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
<div style="margin: auto;margin-top:2%;height:fit-content;width: 30%;background-color: rgba(225, 250, 218, 0.75);padding:20px;border-radius: 5%;padding-left: 30px;padding-right: 30px; background-image:linear-gradient(to bottom right,rgb(92, 238, 158),rgb(93, 241, 7));">
<form>
<div class="form-group">
<h1 style="margin-left: 30%;">SignUp</h1>
<label for="exampleInputfullname">Full Name</label>
<input class="form-control" id="exampleInputfullname" placeholder="Enter your full name">
<label for="examplePhone">Phone Number</label>
<input class="form-control" id="examplePhone" placeholder="Enter your phone number" oninput="validate_phone()" maxlength="12">
<small id="phoneText" class="form-text" style="color:red;"></small>
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
<label for="exampleInputConfirmEmail1">Confirm email address</label>
<input type="email" class="form-control" id="exampleInputConfirmEmail1" placeholder="Enter email once more" oninput="confirm_email()">
<small id="emailConfirm" class="form-text" style="color:red;"></small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password" oninput="validate_password()">
<small id="passwordText" class="form-text" style="color:red;"></small>
<div>
<small id="passwordInfo" class="form-text" style="visibility: hidden;display: none;"></small>
<div style="height: 10px;border-radius: 5px; width:90%;overflow: hidden;margin-top: 5px;">
<div id="Level" style="height:100%;width:0%;background-color: red;"></div>
</div>
<small id="passwordLevel" ></small>
</div>
<label for="exampleInputPassword2">Confirm password</label>
<input type="password" class="form-control" id="exampleInputPassword2" placeholder="Confirm your password" oninput="confirm_password_function()">
<small id="passwordConfirm" class="form-text" style="color:red;"></small>
<br>
</div>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">check this box if you agree to our <a href="#head">privacy policy</a></label>
</div>
<br>
<button type="submit" class="btn btn-primary" style="/*background-color:rgb(93, 241, 7);color:rgb(41, 88, 14);border:0px;*/margin-left: 35%;">SignUp</button>
<br>
<br>
<a href="login.html">I already have an account.</a>
</form>
</div>
<script src="js/main.js"></script>
</body>
</html>