This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
signin.html
184 lines (165 loc) · 5.5 KB
/
signin.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!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>Les Vélos | Sign in </title>
<link rel="icon" href="logo.jpeg" sizes="16x16">
</head>
<style>
body{
background-image: url(https://wallpaperaccess.com/full/1223017.jpg);
background-size: cover;
}
p{
display: none;
}
ul{
text-align: center;
margin-bottom: 10px;
}
li{
display: inline;
}
#CName{
font-family: 'garamond';
text-align: center;
background: transparent;
/* margin-right: 250px; */
font-size: 100px;
margin-top: 20px;
padding: 10px;
}
button{
color: rgb(12, 100, 12);
font-family: 'Times New Roman', Times, serif;
font-size: 17px;
font-weight: bold;
width: 200px;
height: 50px;
padding: 5px;
margin-right: 40px;
background: transparent;
transition-duration: 0.4s;
}
button:hover{
background-image: url(https://wallpapercave.com/wp/wp2954634.jpg);
background-size: cover;
color: black;
font-size: 20px;
}
#signup, #signin{
padding: 10px;
font-family: 'Times New Roman', Times, serif;
background: rgb(253, 204, 108, 0.6);
font-size: 15px;
font-weight: bold;
font-variant: small-caps;
}
</style>
<body>
<div>
<h1 id="CName"><u>Les Vélos</u> </h1>
</div>
<div id = "all">
<ul>
<li><a href="index.html"><button>Home</button></a></li>
<li><a href="products.html"><button>Products</button></a></li>
<li><a href="FAQ.html"><button>FAQ</button></a></li>
<li><a href="signin.html"><button>Sign in/Sign up</button></a></li>
</ul>
</div>
<div>
<ul>
<li><button id="Sign in" onclick="hide()">Sign in</button></li>
<li><button id="Sign up" onclick="hhide()">Sign up </button></li>
</ul>
</div>
<p id="signup">
Name: <input type="text" id="name">
<br> <br>
Gender: Male <input type="radio" name="myGender"> Female <input type="radio" name="myGender"> Other
<input type="radio" name="myGender">
<br> <br>
Phone number: <input type="number" id="Phone">
<br> <br>
<label for="City">City:
<select name="mycity" id="City">
<option value="Hyderabad" id="hyderabad">Hyderabad</option>
<option value="Mumbai" id="mumbai">Mumbai</option>
<option value="Bengaluru" id="bengaluru">Bengaluru</option>
</select>
</label>
<br> <br>
Area: <input type="text" id="Area">
<br> <br>
Email: <input type="email" id="area" id="email">
<br> <br>
Aadhar Card: <input type="file" accept="image/*" id="file-input">
<br> <br>
Password: <input type="password" id="pass">
<br> <br>
Confirm Password <input type="password" id="pass1">
<br> <br>
<button id="confirm" onclick="run()">Confirm</button>
</p>
</div>
<p id="signin">
Email: <input type="text" id="us">
Password: <input type="password" id="pa">
<br> <br>
<button id="confirm1" onclick="run1()">Confirm</button>
</p>
</div>
<script>
function hide(){
let signup=document.getElementById("signup")
let signin=document.getElementById("signin")
let Signin=document.getElementById("Sign in")
signup.style.display='none'
if(signin.style.display!='none'){
signin.style.display='none'
}
else{
signin.style.display='block'
}
}
function hhide(){
let signup=document.getElementById("signup")
let signin=document.getElementById("signin")
let Signup=document.getElementById("Sign up")
signin.style.display='none'
if(signup.style.display!='none'){
signup.style.display='none';
}
else{
signup.style.display='block';
}
}
function run1(){
let confirm1=document.getElementById("confirm1")
let us= document.getElementById("us").value
let pa=document.getElementById('pa').value
if(us==""||pa==""){
alert("You haven't entered anything")
}
else{
window.location.replace("bookings.html");
}
}
function run(){
let confirm=document.getElementById("confirm")
let name= document.getElementById("name").value
let pass= document.getElementById("pass").value
let pass1= document.getElementById("pass1").value
let Area= document.getElementById("Area").value
if(name==""||pass==""||pass1==""||Area==""){
alert("You haven't entered anything")
}
else{
window.location.replace("bookings.html");
}
}
</script>
</html>