-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparkTemplate.html
114 lines (104 loc) · 2.93 KB
/
parkTemplate.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
<!-- Megan St. Hilaire
LIGHTBOX PLANNING
- Only locations and events need the lightboxes. -->
<!-- LOCATIONS LIGHTBOX -->
<!DOCTYPE html>
<html>
<style>
@import url("main.css")
</style>
<head>
<title>Park Template</title>
</head>
<body>
<div class="locLBBG">
<div class="locLB">
<div class="locLBHeader">
<span class="lbClose" onclick="$('.locLBBG').hide();">×</span>
<h1>${park.fullName}</h1>
<p>${park.designation} • <a style="color: black; text-decoration: none;" href=${park.url}>${park.url}</a></p>
</div>
<hr />
<div class="locLBBody row">
<!-- Left column! -->
<div class="lbCol" style="width: 66%;">
<!-- img & description -->
<div class="row">
<img src="${park.images[0].url}" class="lbCol" style="width: 50%; height: contain;">
<p class="lbCol" style="width: 50%;">${park.description}</p>
</div>
<!-- Cost & weather info -->
<h3 class="lbSectionHeader">Coming to ${park.fullName}</h3>
<div class="row">
<div class="lbCol" style="width: 50%;">
<h4>Cost</h4>
${park.entranceFees.map(cost => '
<h5>${cost.title}, $ ${cost.cost.toFixed(2)}</h5>
<p>${cost.description}</p>
')}
${park.entrancePasses.map(cost => '
<h5>${cost.title}, $ ${cost.cost.toFixed(2)}</h5>
<p>${cost.description}</p>
')}
</div>
<div class="lbCol" style="width: 50%;">
<h4>Weather</h4>
<p>${park.weatherInfo}</p>
</div>
</div>
<!-- VC & CG info -->
<h3 class="lbSectionHeader">Facilities</h3>
<div class="row">
<div class="lbCol" style="width: 50%;">
<h4>Visitor Centers</h4>
<p>[VC info]</p>
</div>
<div class="lbCol" style="width: 50%;">
<h4>Campgrounds</h4>
<p>[CG Info]</p>
</div>
</div>
<!-- News -->
<div class="row">
<h3 class="lbSectionHeader">News</h3>
<p>[News List]</p>
</div>
<!-- Education -->
<div class="row">
<h3 class="lbSectionHeader">Education</h3>
<div style="margin-left: 15%;">
<h4>Lesson Plans</h4>
<h4>Articles</h4>
<h4>People</h4>
<h4>Places</h4>
</div>
</div>
</div>
<!-- Right Column -->
<div class="lbCol" style="width: 33%;">
<div id="parkAlerts">
<h4 class="lbSectionHeader">Alerts</h4>
</div>
<div id="parkEvents">
<h4 class="lbSectionHeader">Events</h4>
</div>
</div>
</div>
<div class="locLBFooter row">
<h3 class="lbSectionHeader" style="margin-top: 0px;">Getting in Touch</h3>
<div class="lbCol" style="width: 33%;">
<h4>Addresses</h4>
<h4>Directions</h4>
<p>${park.directionsInfo} For more information, see <a style="color: black; text-decoration: none;" href="${park.directionsUrl}">${park.directionsUrl}.</a></p>
</div>
<div class="lbCol" style="width: 33%;">
<h4>Phone</h4>
</div>
<div class="lbCol" style="width: 33%;">
<h4>Hours</h4>
</div>
</div>
</div>
</div>
</body>
</html>