forked from KylerG12/Wildside-Events
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
147 lines (127 loc) · 4.86 KB
/
index.html
File metadata and controls
147 lines (127 loc) · 4.86 KB
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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wildside Events</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
<link rel="stylesheet" href="./assets/css/style.css">
<script
src="https://cdn.jsdelivr.net/npm/dayjs@1.11.3/dayjs.min.js"
integrity="sha256-iu/zLUB+QgISXBLCW/mcDi/rnf4m4uEDO0wauy76x7U="
crossorigin="anonymous"
></script>
<style>
</style>
</head>
<body>
<section class="hero is-link">
<div class="hero-body">
<p class="title">
Wildside Events
</p>
<p class="subtitle">
Find local events to express your Wildside
</p>
</div>
</section>
<section class="main">
<!-- Map and controls -->
<div class="mapContainer">
<div class="mapControls">
<select id="cities" name="cities">
<option value="Cities">Cities</option>
</select>
<select id="states" name="states">
<option value="States">States</option>
</select>
</div>
<div class="map" id="map"></div>
</div>
<!-- End Map and controls -->
<!-- Info container and lists -->
<div class="infoContainer">
<div class="selectedEvent">
<div class="imageContainer">
<img id="eventImage" class="selectedImage" src="./assets/images/cheers-204742_640.jpg" />
<div class="imageCaption"> <a id="imageCaption" href="https://pixabay.com/users/geralt-9301/">Photo by geralt`</a></div>
</div>
<div class="selectedDescription">
<h3 id="selectedTitle"></h3>
<h5 id="selectedDescription"></h3>
<p id="selectedAddress"></p>
<p id="selectedCity"></p>
<!--button to buy tickets for selected event-->
<button type="button" id="ticketsButton" class="js-modal-trigger" data-target="modal-js-example" hidden>Get Tickets</button>
</div>
</div>
<div class="listContainer">
<div class="listSection">
<div >
<h3 class="eventCount">0 Events available</h3>
</div>
<div class="list">
<ul id="eventList" class="oList">
<li class="eventItem">Event</li>
<!--element to hide then show on hover-->
</ul>
<!--added buttons for previous and next itmes in the events list-->
<div class="listControls" id="eventListControls">
<button type="prev-button" id="eventPreviousButton"><Previous</button>
<button type="next-button" id="eventNextButton">Next></button>
<p id="eventPageCount"></p>
</div>
</div>
</div>
<div class="listSection">
<div >
<h3 class="breweryCount">0 Breweries available</h3>
</div>
<div class="list">
<ul id="breweryList" class="oList">
<!--added list items for events-->
<li class="breweryItem">Event</li>
<!--element to hide then show on hover-->
</ul>
<!--added buttons for previous and next itmes in the events list-->
<div class="listControls" id="breweryListControls" hidden='true'>
<button type="prev-button" id="breweryPreviousButton"><Previous</button>
<button type="next-button" id="breweryNextButton">Next></button>
<p id="breweryPageCount"></p>
</div>
</div>
</div>
</div>
<!-- End Info container and lists -->
</section>
<div id="modal-js-example" class="modal modal-main">
<div class="modal-background"></div>
<div class="modal-content">
<div class="box">
<div class="imgCost">
<img class="modal-image" id="modal-image">
<ul class="pricing">Pricing:
<li id="ticketAverage"></li>
<li id="ticketLowest"></li>
</ul>
</div>
<div>
<ul>
<li class="listEventTitle" id="listEventTitle"></li>
<li class="listEventDate" id="listEventDate"></li>
<li class="listEventPrice" id="listEventPrice"></li>
</ul>
<a id="modalButtonLink"><button class="modalButton" id="modalButton">Buy Tickets on Site</button></a>
</div>
</div>
</div>
<button class="modal-close is-large" aria-label="close"></button>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
<asset:javascript src="leaflet.markercluster-src.js"/>
<script src="assets/scripts/states.js"></script>
<script src="assets/scripts/cities.js"></script>
<script src="assets/scripts/index.js"></script>
</body>
</html>