-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplanner.html
71 lines (62 loc) · 2.36 KB
/
planner.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
<div id="results">
<h2>Trip Details</h2>
<div id="tripDetails">
<div class="trip-summary" style="display: none;">
<h3>Trip Summary</h3>
<div class="summary-item">
<strong>From:</strong> <span id="summary-start"></span>
</div>
<div class="summary-item">
<strong>To:</strong> <span id="summary-destination"></span>
</div>
<div class="summary-item">
<strong>Transport Mode:</strong> <span id="summary-mode"></span>
</div>
<div class="summary-item">
<strong>Departure:</strong> <span id="summary-departure"></span>
</div>
<div class="summary-item">
<strong>Estimated Duration:</strong> <span id="summary-duration"></span>
</div>
<div class="summary-item">
<strong>Estimated Distance:</strong> <span id="summary-distance"></span>
</div>
</div>
<div class="route-details" style="display: none;">
<h3>Route Instructions</h3>
<ol id="route-steps"></ol>
</div>
<div class="weather-info" style="display: none;">
<h3>Weather Forecast</h3>
<div id="weather-details"></div>
</div>
<div class="additional-info" style="display: none;">
<h3>Additional Information</h3>
<div id="traffic-alerts"></div>
<div id="transit-updates"></div>
</div>
</div>
</div>
<style>
.trip-summary, .route-details, .weather-info, .additional-info {
margin: 20px 0;
padding: 15px;
background-color: z#fffdfd;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.summary-item {
margin: 10px 0;
}
#route-steps li {
margin: 10px 0;
line-height: 1.4;
}
.weather-info {
background-color: #f0f8ff;
}
.additional-info {
background-color: #fff5f5;
}
</style>
<script src="tripPlanner.js"></script>