-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
263 lines (234 loc) · 13.9 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Travel planner App</title>
<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<!-- Custom CSS -->
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<header class="col-md-12 col-lg-12">
<nav class="navbar navbar-inverse btn-outline-success position-fixed">
<div class="container-fluid d-flex justify-content-evenly">
<a id="len1" class="hoverable" href="#">Home</a>
<a id="about-link" class="nav-item nav-link active" href="#" data-toggle="modal" data-target="#aboutModal">About</a>
<a id="len4" class="hoverable" href="./contact-us-page.html">Contact</a>
<a class="nav-item nav-link active" href="#" data-toggle="modal" data-target="#newsModal">News</a>
</div>
</nav>
</div>
<!-- Jumbotron -->
<div class="container-fluid text-center text-white p-2 weather-header">
<img style="height: 7rem; padding-bottom: 0%;" class ="logo mt-lg-5"src="./assets/images/new-logo.png" alt= "eco-Trip logo">
</div>
</header>
<!-- Modal dialog -->
<div class="modal fade" id="aboutModal" tabindex="-1" role="dialog" aria-labelledby="aboutModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="aboutModalLabel">About</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<img src="assets/images/final-eco.png" alt="Eco-Trip company Logo" id="eco">
<p>Eco-Trip is your journey to a cleaner, greener future. With our cutting-edge tools and unwavering commitment to carbon neutrality, we empower you to make a positive impact on the world.
Uncover the true cost of carbon, track and plan your emissions, and discover the greenest forms of transport to make more sustainable choices.
Together, we can create a better future, one mile at a time.
Remember, there's no PLANet B, so join us in the global push towards a brighter tomorrow.</p>
<img src="assets/images/no planet B.jpg" alt="Protest sign stating that there's no planet B" id="planet">
</div>
</div>
</div>
</div>
<!-- added news modal along with content and css styling -->
<div class="modal fade" id="newsModal" tabindex="-1" role="dialog" aria-labelledby="newsModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="newsModalLabel">News</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" style="background-color: #ffffff;">
<div><img src="assets/images/team work.jpg" alt="numerous fist bumps" id="news"></div>
<p>We're introducing new features!
<br>
<ul>
<li>
Book Flights and Travel: Book through our app, reduce your carbon footprint, and get the best deals with our travel company partnerships.
</li>
<li>
Stay Up-to-Date with Climate News: Get real-time updates on climate and clean initiatives for informed decision making.
</li>
<li>
Reduce Your Carbon Footprint: Find eco-friendly modes of travel and sustainable accommodations to make a positive impact.
</li>
<li>
Personalized Travel Recommendations: Get custom travel recommendations based on your needs, journey type, and duration for eco-conscious choices.
</li>
<li>
Incentives and Rewards: Save money with vouchers and discounts on travel while helping to build a better, more efficient travel industry through collaborations with governments and companies.
</li>
</ul>
</p>
</div>
</div>
</div>
</div>
<div class="container-fluid" id="mainCont" style="max-width: 1400px">
<div class="row">
<!-- SIMPLE SEARCH FORM -->
<aside class="col-lg-3 col-md-6 pb-3 ">
<h2 id="form-heading" class="mt-1 h3 form-label">
Simple search
</h2>
<div id="" data-toggle="collapse" class= "data-target formCont">
<form id="form">
<label for="location">From</label>
<input class="from" type="text" id="from" name="location" placeholder="London, UK..">
<label for="destination">To</label>
<input class="to" type="text" id="to" name="destination" placeholder="New York,US..">
<label for="ways">Ways</label>
<select id="ways" name="country" value="1">
<option value="1">single</option>
<option value="2">return</option>
</select>
<label for="people">People</label>
<input type="text" id="people" name="people" value="1">
<label for="transport">Transport</label>
<select class="transportType" id="transport" name="country" value="flying" placeholder="Flight" form="">
<option value="flying">Flight</option>
<option value="public-transport">Train | Sub-way | Ferry | Bus</option>
<option value="walking">Walking</option>
<option value="bicycling">Bicycle</option>
<option value="driving">Minivan | Car | bus | motor-home</option>
</select>
<input id="submit "type="submit" value="Submit">
</form>
</div>
</aside>
<div class="col-lg-6 col-md-12 pb-3">
<section class="mt-3 hide mainDisplayCont" role="region" aria-live="polite">
<div class="card w-100 h-75 mainDataDisplay">
<div id="emissionData" class="card-body">
<h3 id="dashboard-anim" style="font-family: Arial, Helvetica, sans-serif;">We write about 
<span class="container-flip text text-start">
<span class="flip flip-developer"> Eco trips</span>
<span class="flip flip-digital">The greenhouse effect.</span>
<span class="flip flip-storyteller">Carbon footprint.</span>
<span class="flip flip-rockstar">Green finance</span>
<span class="flip flip-tech-">Sustainable event planning</span>
<span class="flip flip-multitasking">Eco-consulting</span>
<span class="flip flip-multitasking">Sustainability</span>
</span>
</h3>
</div>
</div>
</section>
<!-- Small collapse Icon content -->
<div class="collapse" id="collapseIcon">
<div id="SmallcollapseText" class="card card-body">
</div>
</div>
<!-- SEARCH HISTORY -->
<h4 class = "hide" id="forecastHeading">Search history:</h4>
<div id="history"></div>
<!-- FORECAST -->
<section id="forecast" class="row mt-3 container-fluid hide" role="region" aria-live="polite">
<div class="col">
<div class="card" id = "today">
</div>
</div>
<div class="col">
<div class="card" id = "forecast-1">
</div>
</div>
<div class="col">
<div class="card" id = "forecast-2">
</div>
</div>
<div class="col">
<div class="card" id = "forecast-3">
</div>
</div>
</section>
<br>
</div>
<!-- ADVANCED SEARCH FORM -->
<aside class="col-lg-3 col-md-6 pb-3">
<h2 id="form-heading" class="mt-1 h3 form-label">
Advanced search
</h2>
<div id="" data-toggle="collapse" class= "data-target formCont">
<form id="form-2">
<label for="startPoint">location</label>
<input class="from" type="text" id="placename-1" name="startPoint" placeholder="London, UK..">
<label for="endPoint">Destination</label>
<input class="to" type="text" id="placename-2" name="endPoint" placeholder="New York,US..">
<p><button class="btn btn-success btn-block" type="button" data-toggle="collapse" data-target="#collapseTransport" aria-expanded="false" aria-controls="collapseExample">
Add Transport
</button>
</p>
<div class="collapse" id="collapseTransport">
<div>
<label for="transport">Type</label>
<select class="transportType" id="trans-type" name="transport-type" value="flying" placeholder="Flight" form="">
<option value="flying">Flight</option>
<option value="public-transport">Train | Sub-way | Ferry | Bus</option>
<option value="walking">Walking</option>
<option value="bicycling">Bicycle</option>
<option value="driving">Minivan | Car | bus | motor-home</option>
</select>
<label for="ways">Ways</label>
<select id="trans-ways" name="num-of-ways" value="1">
<option value="1">single</option>
<option value="2">return</option>
</select>
<label for="trans-people">People</label>
<input type="text" id="trans-people" name="people" value="1">
</div>
</div>
<p><button class="btn btn-success btn-block" type="button" data-toggle="collapse" data-target="#collapseAccom" aria-expanded="false" aria-controls="collapseExample">
Add Accommodation
</button>
</p>
<div class="collapse" id="collapseAccom">
<div>
<label for="accomodation-type">Type</label>
<select id="acco-type" name="accommodation-type" value="hotel" placeholder="Flight" form="">
<option value="hotel">Hotel</option>
<option value="tent">Tent</option>
<option value="apartment">Apartment</option>
<option value="room">Room</option>
<option value="hostel">Hostel</option>
</select>
<label for="nights">Nights</label>
<input type="text" id="acco-night" name="num-of-nights" value="1">
<label for="acco-people">People</label>
<input type="text" id="acco-people" name="people" value="1">
</div>
<input id="form-2-submit"type="submit" value="Submit">
</form>
</div>
</aside>
</div>
<!-- Moment.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<!-- bootstrap popper -->
<script src="https://code.jquery.com/jquery-3.1.1.js" integrity="sha256-16cdPddA6VdVInumRGo6IbivbERE8p7CQR3HzTBuELA=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>