-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathonway.html
176 lines (161 loc) · 4.46 KB
/
onway.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
<!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>Document</title>
<style>
#container{
border: 1px solid #c5c7ce;
height: 300px;
width: 90%;
margin: auto;
}
#main{
display: flex;
justify-content: space-between;
}
#main div{
display: flex;
justify-content: space-around;
gap: 20px;
cursor: pointer;
}
#a1{
margin-top: 10px;
padding: 10px;
height: 80%;
width: 170%;
border: none;
background-color: white;
cursor: pointer;
}
#b{
margin-left: 5rem;
margin-top: 10px;
padding: 10px;
height: 80%;
width: 170%;
border: none;
background-color: white;
cursor: pointer;
}
#c{
margin-left: 4rem;
margin-top: 10px;
padding: 10px;
height: 80%;
width: 170%;
border: none;
background-color: white;
cursor: pointer;
}
#a1:hover{
color: #3667da;
border-radius: 5px;
height: 80%;
width: 170%;
box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
#b:hover{
color: #3667da;
border-radius: 5px;
height: 80%;
width: 170%;
display: inline;
box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
#c:hover{
color: #3667da;
border-radius: 5px;
height: 80%;
width: 170%;
box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
#main2{
/* border: 1px solid black; */
padding-top: 10px;
display: flex;
justify-content: space-between;
cursor: pointer;
}
#lev{
border-radius: 5px;
height: 60px;
width: 24rem;
background-color: white;
cursor: pointer;
}
#go{
border-radius: 5px;
height: 60px;
width: 24rem;
background-color: white;
cursor: pointer;
}
#depdate{
border-radius: 5px;
height: 60px;
width: 24rem;
background-color: white;
cursor: pointer;
}
/* #retdate{
border-radius: 5px;
height: 60px;
width: 12rem;
background-color: white;
cursor: pointer;
} */
#seche{
border: none;
border-radius: 5px;
color: white;
background-color: blue;
margin-top: 2rem;
margin-left: 30rem;
padding: 20px ;
width: 14rem;
cursor: pointer;
}
h4{
color: #3667da;
}
a{
text-decoration: none;
}
</style>
</head>
<body>
<div id="container">
<div id="main">
<div class="first">
<button id="a1"><a href="flights.html">Return</a></button>
<button id="b"><a href="onway.html">On-way</a></button>
<button id="c"><a href="multi.html">Multi-city</a></button>
</div>
<div class="second">
<h4>treveller</h4>
<h4>Economy</h4>
</div>
</div><br>
<div id="main2">
<div id="lev">
<input type="text" id="lev" placeholder="Leaving from?" onchange="leavFun()"/>
</div>
<div id="go">
<input type="text" id="go" placeholder="Going to?" onchange="goFun()"/>
</div>
<div id="depdate">
<input type="date" id="depdate" placeholder="">
</div>
<!-- <button id="retdate">Returning<h2>18 MAY</h2></button> -->
</div>
<button id="seche" onclick="searchFun()">Search</button>
</div>
<div id="medial">
</div>
</body>
<script src="flights.js"></script>
</html>