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
/
Copy pathMy info.html
160 lines (151 loc) · 3.99 KB
/
My info.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
<!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 | My info</title>
</head>
<style>
#CS{
display : none;}
body{
background-image: url(https://wallpaperaccess.com/full/1223017.jpg);
background-size: cover;
}
#checkstatus{
color: darkgreen;
font-family: 'Times New Roman', Times, serif;
font-size: 17px;
font-weight: bold;
width: 250px;
height: 50px;
padding: 5px;
margin-right: 40px;
background: transparent;
transition-duration: 0.4s;
}
#previous{
color: darkgreen;
font-family: 'Times New Roman', Times, serif;
font-size: 17px;
font-weight: bold;
width: 250px;
height: 50px;
padding: 5px;
/* margin-right: 40px; */
background: transparent;
transition-duration: 0.4s;
}
#previous:hover{
background-image: url(https://wallpapercave.com/wp/wp2954634.jpg);
background-size: cover;
color: black;
font-size: 20px;
text-shadow: 2px 2px 10px whitesmoke;
}
#checkstatus:hover{
background-image: url(https://wallpapercave.com/wp/wp2954634.jpg);
background-size: cover;
color: black;
font-size: 20px;
text-shadow: 2px 2px 10px whitesmoke;
}
ul{
text-align: center;
margin-bottom: 10px;
}
li{
display: inline;
}
#CS{
padding: 10px;
font-family: 'Times New Roman', Times, serif;
background: rgb(253, 204, 108, 0.6);
font-size: 15px;
font-weight: bold;
width: 750px;
margin-left: 50px;
font-variant: small-caps;
}
#CName{
font-family: 'garamond';
text-align: right;
background-color: transparent;
margin-right: 200px;
font-size: 100px;
margin-top: 20px;
padding: 10px;
text-shadow: 2px 2px 8px whitesmoke
}
table, th, td {
border: 1px solid black;
background-color: rgb(253, 204, 108, 0.6);
}
</style>
<header>
<div>
<h1 id="CName">Les Vélos</h1>
</div>
</header>
<body>
<ul> <li><button id="checkstatus" onclick="l()">Check Status</button></li>
<li><button id="previous" onclick="f()">Previous Bookings</button></li>
</ul>
<p id="previouspara">
<table style="width:100%">
<tr>
<th>Transaction ID</th>
<th>Bicycle type</th>
<th>Date</th>
<th>Time</th>
</tr>
<tr>
<td>Random number</td>
<td>Road</td>
<td>12/02/21</td>
<td>6 am</td>
</tr>
<tr>
<td>Random number</td>
<td>Electric</td>
<td>14/02/21</td>
<td>8 am</td>
</tr>
</table>
</p>
<p id="CS"> Your Transaction ID: <input type="text" name="" id="tag">
<button id="sub" onclick="n()">submit</button>
</p>
</body>
<script>
function l(){
let CS=document.getElementById("CS")
let previouspara=document.getElementById("previouspara")
let checkstatus=document.getElementById("checkstatus")
previouspara.style.display='none'
if(CS.style.display!='none'){
CS.style.display='none';
}
else{
CS.style.display='block';
}
}
function f(){
let CS=document.getElementById("signup")
let previouspara=document.getElementById("signin")
let previous=document.getElementById("previous")
CS.style.display='none'
if(previouspara.style.display!='none'){
previouspara.style.display='none';
}
else{
previouspara.style.display='block';
}
}
function n(){
let sub=document.getElementById("sub")
alert("You will receive a mail shortly. Thank you. ")
}
</script>
</html>