-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (103 loc) · 3.48 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
<!--
Made by IT21 Ålands Yrkesgymnasium
Code: Daniel
Design: Maria
CSV Structure: Oliver
Extra: Teo
-->
<!DOCTYPE html>
<html>
<head>
<title>Project</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="container mt-5">
<h1 class="text-center m-5" id="title" style="color: #555555;">LEDARMÖTE LISTA</h1>
<div class="row">
<div id="dataContainer" class="bg-light rounded mb-5 w-100">
<p class="text-center text-muted p-3">Klicka på namn att få mer information</p>
</div>
</div>
<div class="row mx-auto mb-5">
<div class="col-sm-2">
<input type="text" id="searchInput" class="form-control mb-2 shadow w-100" placeholder="Sök...">
<div id="personContainer" lass=" ">
<div id="loading" class="text-center">
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
<p>Det tar en stund</p>
</div>
</div>
</div>
<div class="col-sm-10 allData ">
<div class="row">
<div class="col-lg-5">
<div id="themeChart">
<p class="text-center text-muted">Inga resultat</p>
</div>
</div>
<div class="col-lg-5">
<div id="attendanceChart">
<p class="text-center text-muted">Inga resultat</p>
</div>
</div>
<div class="col-lg-5">
<table class="table rounded bg-light">
<thead>
<tr>
<th colspan="3" class="text-center">Ämne</th>
</tr>
<tr>
<th scope="col">Antal</th>
<th scope="col">Titel</th>
<th scope="col">%</th>
</tr>
</thead>
<tbody id="themeTable">
<td colspan="3">
<p class="text-center text-muted">Inga resultater</p>
</td>
</tbody>
</table>
</div>
<div class="col-lg-5">
<table class="table rounded bg-light">
<thead>
<tr>
<th colspan="3" class="text-center">Närvaro</th>
</tr>
<tr>
<th scope="col">Antal</th>
<th scope="col">Titel</th>
<th scope="col">%</th>
</tr>
</thead>
<tbody id="attendanceTable">
<td colspan="3">
<p class="text-center text-muted">Inga resultater</p>
</td>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<!--Csv individ and ledarmöte-->
<script src="script/csv_convert.js"></script>
<!--Table to display data of ämne and närvaro-->
<script src="script/table.js"></script>
<!--Take the list data and display specific person-->
<script src="script/api_data.js"></script>
<!--Search function for the list of persons-->
<script src="script/search.js"></script>
<!--To list all the persons in ledarmöte-->
<script src="script/list.js"></script>
<!--Show the data in a google chart-->
<script type="text/javascript" src="script/data_chart.js"></script>
</body>
</html>