-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
151 lines (145 loc) · 7.5 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
<!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">
<title>Travel Through Time - The History-Lover's Travel Itinerary</title>
<!-- Foundation CSS Framework -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.7.4/css/foundation.min.css" />
<!-- jQuery UI Style -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
<!-- Google Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap">
<!-- Map Stuff -->
<script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.9.0/build/ol.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.9.0/css/ol.css">
<!-- Custom Styling -->
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<!-- Header -->
<header>
<div class="title_div grid-x">
<!-- Title & link to index -->
<div class="title_text cell small-12 medium-auto">
<h1 class="main_title"><a href="./index.html">Travel Through Time</a></h1>
<div class="secondary_title">The History Lover's Travel Itinerary</div>
</div>
<!-- Button to go to itinerary page -->
<div class="title_buttons cell small-12 medium-shrink">
<button class="go_to_my_itinerary" id="go_to_my_itinerary">GO TO MY ITINERARY</button>
<button class="settings" data-open="settingsModal"><i class="fas fa-cog"></i></button>
</div>
</div>
</header>
<!-- Main Body Content -->
<main class="grid-x">
<div class="left_column_div sidebar cell small-12 medium-6 large-4">
<!-- Sidebar -->
<!-- Location information -->
<div class="sidebar-element">
<h3>Where Are You Going?</h3>
<div class="search-params">
<!-- City Name -->
<h4>City <span class="required bold">*</span></h4>
<input id="city-input" type="text" name="city" />
<!-- State Name (Optional) - in case one country has two cities of the same name, like Salem, MA and Salem, OR -->
<h4>State/Province</h4>
<input id="state-input" type="text" name="state" />
<!-- Country Name (Optional) - in case there are two cities of the same name, like Birmingham, England and Birmingham, AL -->
<h4>Country</h4>
<select id="country-select" name="country">
<option value="blank"></option>
</select>
<p class="h6 required">* Required</p>
</div>
</div>
<!-- Type of search -->
<div class="sidebar-element">
<h3>What Will You Explore?</h3>
<div class="search-params">
<!-- Radio select options -->
<div class="grid-y">
<!-- Historic Buildings -->
<div class="cell radio-select">
<input type="radio" id="historic" name="search-type" value="0">
<label for="historic">Historic Buildings</label>
</div>
<!-- Tourist Sites -->
<div class="cell radio-select">
<input type="radio" id="sights" name="search-type" value="0">
<label for="sights">Tourist Sites</label>
</div>
<!-- Heritage Sites, including UNESCO -->
<div class="cell radio-select">
<input type="radio" id="heritage" name="search-type" value="0">
<label for="heritage">Heritage Sites</label>
</div>
<!-- Museums -->
<div class="cell radio-select">
<input type="radio" id="museum" name="search-type" value="0">
<label for="museum">Museums</label>
</div>
<!-- Cultural Centers -->
<div class="cell radio-select">
<input type="radio" id="culture" name="search-type" value="0">
<label for="culture">Cultural Centers</label>
</div>
<!-- Man-made, like bridges, lighthouses, etc. -->
<div class="cell radio-select">
<input type="radio" id="manmade" name="search-type" value="0">
<label for="manmade">Man-made Locations</label>
</div>
<!-- Natural, like rivers, dunes, etc. -->
<div class="cell radio-select">
<input type="radio" id="natural" name="search-type" value="0">
<label for="natural">Natural Locations</label>
</div>
<!-- National Parks, like Arches or Yellowstone -->
<div class="cell radio-select">
<input type="radio" id="nationalpark" name="search-type" value="0">
<label for="nationalpark">National Parks</label>
</div>
</div>
</div>
</div>
</div>
<!-- Map -->
<div class="map_div cell small-12 medium-6 large-8">
<!-- Intro text -->
<div class="intro-text hide-for-small-only">
<h2 class="map_text_1">Begin your journey</h2>
<h2 class="map_text_2">by typing your location on the left</h2>
</div>
<!-- Map -->
<div id="map" class="map hide-for-small-only"></div>
<!-- Explore Button -->
<div class="text-right mobile-center">
<button class="h2 explore" id="explore" type="submit">Explore</button>
</div>
</div>
</main>
<!-- Modal -->
<div class="reveal settings-body" id="settingsModal" data-reveal>
<div class="settings-content"></div>
<button class="close-button" data-close aria-label="Close modal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<!-- jQuery & jQuery UI Scripts -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<!-- Foundation Framework Script -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.7.4/js/foundation.min.js"></script>
<!-- Moment.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<!-- Map -->
<script src="./assets/js/map.js"></script>
<!-- Custom Scripting -->
<script src="./assets/js/script.js"></script>
<script src="./assets/js/search.js"></script>
</body>
</html>