-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats.html
142 lines (136 loc) · 6.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Amazing Events - Stats</title>
<meta charset="UTF-8">
<meta property="og:image"
content="https://raw.githubusercontent.com/juanpablofavale/AMAZING_EVENTS_favale/task4/assets/img/LogoAmazing%20Events2.png?token=GHSAT0AAAAAAB5WGJAEHMM2IYERNGNVJLX4ZAXJNRA" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Required meta tags -->
<link rel="shortcut icon" href="./assets/img/Favicon.ico" type="image/x-icon">
<!-- Bootstrap CSS v5.2.1 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="./assets/css/styles.css">
</head>
<body>
<header>
<nav class="d-flex flex-column align-items-center">
<div>
<figure>
<img class="logo" src="./assets/img/Logo_Amazing_Events.png" alt="logo">
</figure>
</div>
<ul class="">
<li><a href="./index.html">Home</a></li>
<li><a href="./upcoming_events.html">Upcoming Events</a></li>
<li><a href="./past_events.html">Past Events</a></li>
<li><a href="./contact.html">Contact</a></li>
<li><a class="active" href="#">Stats</a></li>
</ul>
</nav>
<div id="carouselExample" class="container carousel slide">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="./assets/img/Cinema.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="./assets/img/Costume_Party.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="./assets/img/Food_Fair.jpg" class="d-block w-100" alt="...">
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExample" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExample" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</header>
<main>
<div id="app" class="container mb-4 d-flex flex-column align-items-center">
<h1 class="mt-3">Stats</h1>
<table>
<thead>
<tr>
<th colspan="3">Event statics</th>
</tr>
<tr>
<th>Events with highest percentage of attendance </th>
<th>Events with lowest percentage of attendance</th>
<th>Event with larger capacity</th>
</tr>
</thead>
<tbody>
<tr class="items">
<td>{{mayorC.name}} ({{mayorC.porc}}%)</td>
<td>{{menorC.name}} ({{menorC.porc}}%)</td>
<td>{{mayCap.name}} ({{mayCap.capacity}})</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th colspan="3">Upcoming events Statistics by Category</th>
</tr>
<tr>
<th>Categories</th>
<th>Revenues</th>
<th>Percentage of Attendance</th>
</tr>
</thead>
<tbody>
<tr v-for="(cat, i) in categoriasUpcoming" class="items">
<td>{{cat}}</td>
<td>${{gananciasUpcoming[i]}}</td>
<td>{{asistenciasUpcoming[i]}}%</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th colspan="3">Upcoming events Statistics by Category</th>
</tr>
<tr>
<th>Categories</th>
<th>Revenues</th>
<th>Percentage of Attendance</th>
</tr>
</thead>
<tbody>
<tr v-for="(cat, i) in categorias" class="items">
<td>{{cat}}</td>
<td>${{gananciasPast[i]}}</td>
<td>{{asistenciasPast[i]}}%</td>
</tr>
</tbody>
</table>
</div>
</main>
<footer class="d-flex justify-content-between">
<ul class="d-flex gap-2 mb-0 ps-0">
<li><a href="https://www.instagram.com/"><i class="bi bi-instagram"></i></a></li>
<li><a href="https://www.facebook.com/"><i class="bi bi-facebook"></i></a></li>
<li><a href="https://wa.me/2983444444"><i class="bi bi-whatsapp"></i></a></li>
</ul>
<p class="mb-0">FE14-TN</p>
</footer>
<!-- Bootstrap JavaScript Libraries -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"
integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.min.js"
integrity="sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz" crossorigin="anonymous">
</script>
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script src="./assets/js/vue.js"></script>
</body>
</html>