-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFaq.html
269 lines (222 loc) · 7.86 KB
/
Faq.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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!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">
<link rel="stylesheet" href="main_style.css">
<title>FAQ</title>
<script src="script.js"></script>
<script src="https://unpkg.com/[email protected]/dist/ionicons.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body {
background: rgb(34, 193, 195);
background: linear-gradient(0deg, rgba(34, 193, 195, 1) 0%, rgba(13, 191, 158, 1) 0%, rgba(4, 98, 152, 1) 100%, rgba(17, 225, 160, 1) 100%);
}
h1 {
font-weight: bold;
font-size: 1.4rem;
}
h2 {
font-weight: bold;
font-size: 0.5rem;
}
p {
font-weight: 35;
font-size: 1rem;
}
body {
font-family: 'Work Sans', sans-serif;
}
.container {
justify-content: center;
display: flex;
flex-direction: column;
}
.horizontalLine {
width: 60%;
margin: auto;
}
.FAQheader {
color: white;
cursor: pointer;
padding-top: 1.875rem;
padding-bottom: 1.875rem;
padding-left: 1rem;
width: 58%;
margin: auto;
}
.Active {
background-color: rgb(56, 146, 199);
}
.FAQbody {
color: white;
margin: auto;
width: 56%;
padding: 1.875rem 1.25rem;
display: none;
}
.FAQheader:after {
content: '\02795';
/* this is the Unicode character for + */
font-size: 1rem;
float: right;
}
.Active:after {
content: "\2796";
/* this is the Unicode character for - */
}
.textcenter img {
width: 100%;
}
.textcenter {
position: relative;
}
.textcenter .text-centered {
animation: shaketxt 3s infinite;
font-family: Verdana, Geneva, Tahoma, sans-serif;
position: absolute;
top: 30%;
left: 0;
width: 100%;
text-align: center;
color: white;
font-size: 4rem;
font-weight: bolder;
color: white;
font-weight: 500;
}
@keyframes shaketxt {
0% {
transform: translateY(0)
}
25% {
transform: translateY(10px);
}
50% {
transform: translateY(10px);
}
100% {
transform: translateY(0px);
}
}
a{
text-decoration: none;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="main_page.php">Home Page</a></li>
<!-- Sub navigation menu -->
<div class="subnav">
<li><a href="book_a_trip.php">Plan & Book <i class="fa fa-caret-down"></i></a></li>
<div class="subnav-content">
<li><a href="book_a_trip.php">Book a trip</a></li>
<li><a href="flight_schedule_search.php">Flight Schedule Search</a></li>
<li><a href="manage_booking.php">Manage Booking</a></li>
<li><a href="FlightStatus.php">Flight Status</a></li>
</div>
</div>
<div class="subnav">
<li><a href="PassengerServices.html">Services <i class="fa fa-caret-down"></i></a></li></button>
<div class="subnav-content">
<li><a href="PassengerServices.html">Passenger Services</a></li>
<li><a href="cargo.html">Cargo Services</a></li>
<li><a href="BaggageInfo.html">Baggage Info</a></li>
<li><a href="checkin.php">Check-in</a></li>
</div>
</div>
<li><a href="CovidRestrictions.html">Covid Restrictions</a></li>
<li><a class="active" href="Faq.html">FAQ</a>
<li><a href="login.php">Login/Register</a>
</ul>
<!-- hamburger menu, only essentiel links -->
<div class="topnav">
<a href="main_page.php">
<ion-icon name="airplane-outline"></ion-icon>
</a>
<div id="myLinks">
<a href="book_a_trip.php">Book a trip</a>
<a href="checkin.php">Check-in</a>
<a href="login.php">Login</a>
</div>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</nav>
</header>
<figure class="textcenter">
<img src="FAQpics/faqimage1.png" width="100%" height="400" alt="AirlinePicture">
<h1 class="text-centered">FAQ</h1>
</figure>
<main>
<section class="container">
<h1 class="FAQheader">Can I reserve a ticket or several tickets for a flight?</h1>
<div class="FAQbody">
<p>Yes, you may reserve a ticket or several tickets until a week before your flight.</p>
</div>
</div>
<hr class="horizontalLine">
<h1 class="FAQheader">Is there a fee for a reservation?</h1>
<div class="FAQbody">
<p>Yes, there is a small fee of $5 when reserving.</p>
</div>
</div>
<hr class="horizontalLine">
<h1 class="FAQheader">Can i cancel my reservation?</h1>
<div class="FAQbody">
<p>Our reservation policy: if a customer cancels his reservation, only the reservation fee will be
charged. If the customer bought a ticket and canceled his reservation before the deadline, 50% of
the fee will be refunded. If the deadline passes, no fee will be refunded.</p>
</div>
</div>
<hr class="horizontalLine">
<div class="FAQfour">
<h1 class="FAQheader">What services do you offer?</h1>
<div class="FAQbody">
<p>Our airlines offers many services, please check our Cargo and Passenger services pages.</p>
</div>
</div>
<hr class="horizontalLine">
<div class="FAQfive">
<h1 class="FAQheader">Are there any Covid-19 Guidelines?</h1>
<div class="FAQbody">
<p>Yes, you may check our <a href=CovidRestrictions.html>Covid Restrictions</a> page.</p>
</div>
</div>
<hr class="horizontalLine">
<h1 class="FAQheader">Can i Check-in online?</h1>
<div class="FAQbody">
<p>Yes, you may check-in at our <a href=checkin.html>check-in</a> page.</p>
</div>
</div>
<hr class="horizontalLine">
<h1 class="FAQheader">Is our information safely stored?</h1>
<div class="FAQbody">
<p>We take your privacy very seriously, all personal information and credentials are stored in a secure
manner.</p>
</div>
</div>
</section>
</main>
<script>
var k;
var faq = document.getElementsByClassName("FAQheader");
for (k = 0; k < faq.length; k++) {
faq[k].addEventListener("click", function () {
this.classList.toggle("Active");
/* this will show/hide Active panel */
var body = this.nextElementSibling;
if (body.style.display === "block")
body.style.display = "none";
else
body.style.display = "block";
});
}
</script>
</body>
</html>