-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
229 lines (186 loc) · 6.41 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
<!DOCTYPE html>
<html class="no-js" 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>Hiker Helper</title>
<!-- icons -->
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap" rel="stylesheet">
<!-- Compiled and minified CSS -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"
/>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<link rel="stylesheet" href="style_file/style.css" />
</head>
<body>
<!-- Hiker Helper header -->
<div class="row">
<div class="col s12 head">
<p class="brand-logo center icon-text blue-grey-text text-lighten-4"><i class="material-icons ">directions_walk</i>Hiker Helper</p>
</div>
</div>
<!-- Main div containing all content -->
<main>
<div class="container main">
<!-- Zip Code Search -->
<div class="container">
<div class="row">
<div class="col l4 m4 s12 zipcode">
<div class="search-container">
<form class="col s12">
<div class="row">
<div class="input-field col s12">
<textarea
maxlength="5"
id="textarea1"
class="materialize-textarea"
></textarea>
<a
id="submitBtn"
class="trailButton waves-effect waves-light btn-small"
>Search Zip Code</a
>
<label class="black-text" for="textarea1"
>Enter zipcode</label>
</div>
</div>
</form>
</div>
</div>
<!-- Forecast -->
<div class="col l8 m8 s12 forcast">
FORECAST
<div id="currentCity">
<h4>City 8/15/2020</h4>
</div>
<div class="current" id="currentTemp">Temperature: deg F</div>
<div class="current" id="currentHumid">Humidity: %</div>
<div class="current" id="currentWind">Wind Speed: MPH</div>
<div class="current" id="currentUv">UV Index: </div>
</div>
</div>
<!--5 day forcast-->
<div class="row">
<div
id="date1"
class="col l2 offset-l1 m2 offset-m1 s4 day"
style="border-radius: 10px 0px 0px 10px"
>
<div class="text"></div>
<div class="icon">
<img id="icon1" alt="weather-icon" />
</div>
<p>Day 1</p>
</div>
<div id="date2" class="col l2 m2 s4 day">
<div class="text"></div>
<div class="icon">
<img id="icon2" alt="weather-icon" />
</div>
<p>Day 2</p>
</div>
<div id="date3" class="col l2 m2 s4 day">
<div class="text"></div>
<div class="icon">
<img id="icon3" alt="weather-icon" />
</div>
<p>Day 3</p>
</div>
<div id="date4" class="col l2 m2 s4 offset-s2 day">
<div class="text"></div>
<div class="icon">
<img id="icon4" alt="weather-icon" />
</div>
<p>Day 4</p>
</div>
<div
id="date5"
class="col l2 m2 s4 day"
style="border-radius: 0px 10px 10px 0px"
>
<div class="text"></div>
<div class="icon">
<img id="icon5" alt="weather-icon" />
</div>
<p>Day 5</p>
</div>
</div>
</div>
</div>
<!-- Container for Trail results API -->
<div class="container">
<div class="row">
<div id="trailResults" class="col l6 m6 s12 trailListStyles">
<div>
<h6><b>Trails Nearby</b></h6>
</div>
</div>
<div class="col l6 m6 s12 mapEl">
<div class="search-container bold-text">
<!-- Trail map embedded from https://www.trailforks.com/widgets/config/region_map/?rid=3156 -->
<div class="TrailforksRegionInfo"
data-w="600px"
data-h="150px"
data-rid="3156"
data-counts="1"
data-stats="1">
</div>
<div class="TrailforksWidgetMap s12"
data-w="450px"
data-h="250px"
data-rid="3156"
data-activitytype="1"
data-maptype="trailforks"
data-trailstyle="difficulty"
data-controls="1"
data-list="0"
data-dml="1"
data-layers="labels,poi,polygon,directory,region"
data-z=""
data-lat=""
data-lon=""
data-hideunsanctioned="0">
</div>
</div>
</div>
</main>
<!-- FOOTER -->
<!-- Materialize footer was not very basic, so I had to style it in a way to erase
what I didn't want from the framework. If I just deleted code, the fixed margin
from materialize -->
<footer class="page-footer N/A transparent">
<div class="container ">
<div class="row">
</div>
</div>
<div class="footer-copyright text-black green lighten-2">
<p> ©Copyright 2020 </p>
<p> Gold Team Rules </p>
</div>
</footer>
<!-- Jquery and AJAX -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script
type="text/javascript"
src="https://MomentJS.com/downloads/moment.js"
></script>
<script
type="text/javascript"
src="https://momentjs.com/downloads/moment-with-locales.js"
></script>
<!--Our javaScript files-->
<script src="./javascript_files/hikingTrails.js"></script>
<script src="./javascript_files/map.js"></script>
<script src="./javascript_files/weather.js"></script>
</body>
</html>