-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·94 lines (83 loc) · 3.1 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
<!DOCTYPE html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Moztn-WebSite-Overview</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<table border="1" style='width:100%'>
<tr id="tab">
</tr>
</table>
<div class="first-link">
<a class="done large" href="https://medmack.github.io/moztn-home-page/">Home Page</a>
</div>
<table>
<tr>
<td>
<div class="second-link element-without-title">
<a class="done Large" href="http://blog.mozilla-tunisia.org/">Blog</a>
</div>
</td>
<td>
<div class="first-link"><a class="done large" href="http://moztn.github.io/Ressources/">Ressources</a></div>
<div class="second-link">
<a class="done large" href="http://wiki.mozilla-tunisia.org/">Wiki</a>
</div>
<div class="second-link">
<a class="done large" href="http://slides.mozilla-tunisia.org:5000/">Slides</a>
</div>
<div class="second-link">
<a class="not-done" href="#">FFos bettounsi</a>
</div>
<div class="second-link">
<a class="done large" href="http://moztn.github.io/styleguide/">StyleGuide</a>
</div>
</td>
<td>
<div class="done large"><a class="done large" href="http://moztn.github.io/Contribute/">Contribute</a></div>
<div class="second-link">
<a class="done small" href="http://bug.mozilla-tunisia.org/">Bug</a>
</div>
<div class="second-link">
<a class="not-done" href="#">Join</a>
</div>
<div class="second-link">
<a class="done small" href="http://mozilla-tunisia.org/IRC/">IRC</a>
</div>
</td>
<td>
<div class="second-link element-without-title">
<a class="done large" href="http://moztn.github.io/Join_Us/">Join Us</a>
</div>
</td>
<td>
<div class="second-link element-without-title">
<a class="done large" href="#">AboutUs</a>
</div>
</td>
<td>
<div class="second-link element-without-title">
<a class="done large" href="#">Contact</a>
</div>
</td>
</tr>
</table>
<script>
var tab = document.getElementById('tab');
function printRepoCount() {
var responseObj = JSON.parse(request.responseText);
for (i = 0; i <= responseObj.length; i++) {
if ((responseObj[i].updated_at > "2014-12-20T00:00:00Z")&&(responseObj[i].name != "Moztn-WebSite-Overview")) {
tab.innerHTML += "<th>"+responseObj[i].name + " ("+responseObj[i].open_issues+")"+ "</th>" ;
}
}
}
var request = new XMLHttpRequest();
request.onload = printRepoCount;
request.open('get', 'https://api.github.com/users/moztn/repos', true)
request.send()
</script>
</body>
</html>