-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats.html
218 lines (193 loc) · 9 KB
/
stats.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stats</title>
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="/assets/img/favicon.png">
<!-- Bootstrap 5 CDN -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body class="container-fluid bg-dark text-white">
<!-- Menu -->
<div class="row">
<div class="col-12">
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<img src="/assets/img/amazing_brand.png" alt="" height="30"
class="d-inline-block align-text-top">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="upcoming-events.html">Upcoming
Events</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="past-events.html">Past Events</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="stats.html">Stats</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
</div>
<!-- End menu -->
<!-- Slideshow -->
<div class="row">
<div class="col-12">
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="/assets/img/music_concert.jpg" alt="First slide">
<div class="carousel-caption d-none d-md-block">
<h1>Stats</h1>
<p>Best events</p>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="assets/img/optional_banner_2.jpg" alt="Second slide">
<div class="carousel-caption d-none d-md-block">
<h2>Stats</h2>
<p>Unveiling Extraordinary Events from Around the World</p>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="assets/img/optional_banner_5.jpg" alt="Third slide">
<div class="carousel-caption d-none d-md-block">
<h2>Stats</h2>
<p>Unforgettable Experiences: Discovering Remarkable Events</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<!-- End slideshow -->
<!-- Content -->
<div class="container-fluid mb-5 mt-2 d-flex justify-content-center pt-4">
<div class="col-md-10 col-sm-12">
<table class="table table-striped table-hover border table-sm mb-3">
<thead>
<tr>
<td colspan="3">Events statistics</td>
</tr>
</thead>
<tbody>
<tr>
<td>Event with highest % assistance</td>
<td>Event with lowest % of assistance</td>
<td>Event with larger capacity</td>
</tr>
<tr>
<td id="highestAssistanceCell"></td>
<td id="lowestAssistanceCell"></td>
<td id="largestCapacityCell"></td>
</tr>
</tbody>
</table>
<table class="table table-striped table-hover border table-sm mb-3">
<thead>
<tr>
<td colspan="3">Upcoming events statistics by category</td>
</tr>
<tr>
<td>Categories</td>
<td>Revenues</td>
<td>Percentage of assistance</td>
</tr>
</thead>
<tbody id="upcomingEventsTableBody">
</tbody>
</table>
<table class="table table-striped table-hover border table-sm">
<thead>
<tr>
<td colspan="3">Past events statistics by category</td>
</tr>
<tr>
<td>Categories</td>
<td>Revenues</td>
<td>Percentage of assistance</td>
</tr>
</thead>
<tbody>
<tbody id="pastEventsTableBody">
</tbody>
</tbody>
</table>
</div>
</div>
<!-- End content -->
<!-- Footer -->
<footer class="pt-5 bg-dark">
<div class="container">
<div class="row">
<div class="col-md-6">
<ul class="list-inline mb-0">
<li class="list-inline-item">
<a href="#">
<img src="assets/img/facebook.png" alt="Facebook" width="25">
</a>
</li>
<li class="list-inline-item">
<a href="#">
<img src="assets/img/instagram.png" alt="Instagram" width="25">
</a>
</li>
<li class="list-inline-item">
<a href="#">
<img src="assets/img/whatsapp.png" alt="Whatsapp" width="25">
</a>
</li>
</ul>
</div>
<div class="col-md-6 text-right">
<p>Cohort 3</p>
</div>
</div>
</div>
</footer>
<!-- End footer -->
<script src="js/stats.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
</body>
</html>