-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (54 loc) · 2.47 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Title</title>
</head>
<body onload="loadProjects('created');">
<!--
RULES:
1 - do not change ids
2 - onload you must specify <<onload="loadProjects('created');">>
3 - import scripts: load-it-js/ folder js files, jquery
-->
<!-- ########################################################################## -->
<!-- COPY THIS TO YOUR WEBSITE -->
<!-- ########################################################################## -->
<div id="projects">
<!-- buttons for different ordering methods-->
<button onclick="loadProjects('created')" type="button">CREATION DATE</button>
<button onclick="loadProjects('full_name')" type="button">NAME</button>
<button onclick="loadProjects('updated')" type="button">UPDATE DATE</button>
<!-- projects tables -->
<table id="projectsTable">
<!-- head -->
<thead>
<tr>
<th style="width: 30%">Name</th>
<th style="width: 15%">Created</th>
<th style="width: 15%">Last update</th>
<th style="width: 20%">Language (most used)</th>
<th style="width: 20%">Download</th>
</tr>
</thead>
<!-- content -->
<tbody id="projectTableContent">
</tbody>
</table>
<ul id="pagination"></ul>
</div>
<!-- jquery library CDN -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- our libraries -->
<script type="text/javascript" src="loadit-js/app.js"></script>
<script type="text/javascript" src="loadit-js/projects-content.js"></script>
<script type="text/javascript" src="loadit-js/projects-pagination.js"></script>
<script type="text/javascript" src="loadit-js/projects-table.js"></script>
<script type="text/javascript" src="loadit-js/utils.js"></script>
<script type="text/javascript" src="loadit-js/variables.js"></script>
<!-- ########################################################################## -->
<!-- ########################################################################## -->
</body>
</html>