forked from twitter/opensource-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (45 loc) · 1.6 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
---
layout: base
---
<div id="wrapper" class="grid clearfix">
<div class="grid-1">
{% include main.html %}
</div>
<div class="grid grid-3">
<div id="statistics" class="grid-1 alpha header">
<h1>Statistics</h1>
<p>
<a href="https://github.com/mysqludf/repositories"><span id="num-repos"><img src="assets/spinner.gif" /></span> UDF libraries</a>
<br>
<a href="https://github.com/mysqludf?tab=members"><span id="num-members"><img src="assets/spinner.gif" /></span> members</a>
</p>
<p class="email"><a href="mailto:[email protected]">[email protected]</a></p>
</div>
<div id="recently-updated" class="grid-2 omega header">
<h1>Recently updated <a href="https://github.com/mysqludf/repositories">View All on GitHub</a></h1>
<ol id="recently-updated-repos"></ol>
</div>
</div>
<ol id="repos"></ol>
</div>
<script type="text/javascript">
$(function() {
addRepos(function(repo) {
var $item = $("<li>").addClass("repo grid-1");
var $link = $("<a>").attr("href", repoUrl(repo) + '#readme').appendTo($item);
$link.append($("<h2>").text(repo.name.replace(/^lib_mysqludf_/, '').toUpperCase()));
$link.append($("<h3>").text(repo.name));
$link.append($("<p>").text(repoDescription(repo)));
var funcs = repoFunction(repo);
if (funcs) {
var $list = $("<ul>");
for (var i=0; i < funcs.length; i++) {
$list.append($("<li>").text(funcs[i]));
}
$list.appendTo($("<p>").addClass('functions').append('Includes:').appendTo($link));
}
$item.appendTo("#repos");
});
setMembers();
});
</script>