-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
67 lines (59 loc) · 3.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Set the character encoding for the HTML document -->
<meta charset="UTF-8">
<!-- Title of the webpage displayed in the browser tab -->
<title>WhyDRS Database</title>
<!-- Link to the DataTables CSS for basic table styling -->
<link rel="stylesheet" type="text/css"
href="https://cdn.datatables.net/1.13.4/css/jquery.dataTables.min.css">
<!-- Link to the DataTables Buttons extension CSS for additional button styling -->
<link rel="stylesheet" type="text/css"
href="https://cdn.datatables.net/buttons/2.3.6/css/buttons.dataTables.min.css">
<!-- Link to the custom CSS file for overriding and adding additional styles -->
<link rel="stylesheet" type="text/css" href="src/web/css/styles.css">
</head>
<body>
<!-- Main heading of the webpage -->
<h1>WhyDRS Database</h1>
<!-- Informational text about empty cells and how to contribute -->
<p class="info-text"><sup>*</sup> Empty cells indicate missing data. You can help us improve by <a href="https://forms.gle/deQ6YDoyX4kTNXy28" target="_blank">contributing missing information</a> or emailing us at <a href="mailto:[email protected]">[email protected]</a>.</p>
<!-- Loading overlay displayed while data is being fetched and the table is being initialized -->
<div id="loading-overlay">
<!-- Loading spinner -->
<div class="loader"></div>
<!-- Loading message -->
<p>Loading data, please wait...</p>
</div>
<!-- Data table that will display the fetched data; initially hidden -->
<table id="data-table" class="hidden">
<!-- Table header section -->
<thead>
<tr>
<!-- Table headers will be dynamically populated by JavaScript based on the data -->
</tr>
</thead>
<!-- Table body section -->
<tbody>
<!-- Table rows will be dynamically populated by JavaScript based on the data -->
</tbody>
</table>
<!-- Include jQuery library for DOM manipulation and event handling -->
<script type="text/javascript"
src="https://code.jquery.com/jquery-3.5.1.js"></script>
<!-- Include DataTables library for enhanced table functionalities -->
<script type="text/javascript"
src="https://cdn.datatables.net/1.13.4/js/jquery.dataTables.min.js"></script>
<!-- Include DataTables Buttons extension for additional button features -->
<script src="https://cdn.datatables.net/buttons/2.3.6/js/dataTables.buttons.min.js"></script>
<!-- Include Buttons ColVis extension for column visibility control -->
<script src="https://cdn.datatables.net/buttons/2.3.6/js/buttons.colVis.min.js"></script>
<!-- Include custom JavaScript file that contains the logic for fetching data and initializing the table -->
<script src="src/web/javascript/script.js"></script>
<!-- Footer message encouraging volunteering -->
<p class="footer">
WhyDRS is 100% volunteer-driven. Help us improve by contributing or providing feedback <a href="https://github.com/WhyDRS/Database/tree/main" target="_blank">here</a>. Join us today!
</p>
</body>
</html>