-
Notifications
You must be signed in to change notification settings - Fork 0
/
statistics.html
164 lines (150 loc) · 7.44 KB
/
statistics.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
<!DOCTYPE html>
<html lang="sk">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<title>Štatistika</title>
<link rel="icon" href="resources/pictures/internet.png" type="image/gif" sizes="16x16">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="css/statistics-style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<script src="javascript/statistics-script.js" defer></script>
</head>
<body>
<header id="main-header">
<h1 id="main-h1">
Štatistika
</h1>
</header>
<section id="main-section">
<div onclick="window.location = 'index.html'" id="back-button">
Späť
<img id="left-arrow" src="resources/pictures/left-arrow.svg" alt="leftarrow">
</div>
<div id="loading-div">
<lottie-player id="location-lottie" src="https://assets2.lottiefiles.com/datafiles/BWweJKuWuiTWcaI/data.json"
background="transparent"
speed="1" style="width: 300px; height: 300px;" loop autoplay></lottie-player>
<lottie-player id="location-error-lottie" src="https://assets8.lottiefiles.com/packages/lf20_f1cFsO.json"
background="transparent" speed="1"
style="width: 200px; height: 200px; display: none"></lottie-player>
<div id="error-message" style="display: none">Pri získavaní vašej polohy došlo ku chybe.<br>Skúste to znova
prosím.
</div>
</div>
<div id="stats-content">
<div id="tables">
<div id="div-table-countries" class="content-table">
<table class="table table-light">
<thead class="table-danger">
<tr>
<th>
<img src="resources/pictures/coronavirus.svg" width="25" height="25" alt="country">
</th>
<th>
<img src="resources/pictures/group.svg" width="25" height="25" alt="group">
</th>
</tr>
</thead>
<tbody id="country-attendance">
</tbody>
</table>
</div>
<div id="div-table-times" class="content-table">
<table class="table table-light">
<thead class="table-warning">
<tr>
<th>
<img src="resources/pictures/clock.svg" width="25" height="25" alt="clock">
</th>
<th>
<img src="resources/pictures/click.svg" width="25" height="25" alt="click">
</th>
</tr>
</thead>
<tbody id="hours-attendance">
</tbody>
</table>
</div>
<div id="div-table-websites" class="content-table">
<table class="table table-light">
<thead class="table-success">
<tr>
<th>
<img src="resources/pictures/internet.png" width="25" height="25" alt="internet">
</th>
<th>
<img src="resources/pictures/click.svg" width="25" height="25" alt="click">
</th>
</tr>
</thead>
<tbody id="website-attendance">
</tbody>
</table>
</div>
<!--modal-->
<div class="modal fade" id="attendance-detail" tabindex="-1" role="dialog"
aria-labelledby="attendance-detail"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<header>
<h5 class="modal-title" id="attendance-detail-title"></h5>
</header>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<header>
<h6 id="lecture-detail-title"></h6>
<div id="user-info-table" class="table-responsive">
<table class="table table-light">
<thead class="table-info">
<tr>
<th>
<img src="resources/pictures/houses.svg" width="25" height="25"
alt="houses">
</th>
<th>
<img src="resources/pictures/group.svg" width="25" height="25"
alt="group">
</th>
</tr>
</thead>
<tbody id="user-info-tbody">
</tbody>
</table>
</div>
</header>
</div>
</div>
</div>
</div>
</div>
<div id="mapid"></div>
</div>
</section>
<footer>
<span>Designed by <a id="footer-href" href="http://147.175.121.202/~xpopikt/7243zadanie1/index.html">Tomáš Popík © </a></span>
</footer>
</body>
</html>