-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
134 lines (113 loc) · 3.77 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Labs - Mediamoose</title>
<meta name="viewport" content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" />
<meta name="description" content="The alternative lightbox build on MooTools 1.4.">
<meta name="author" content="Mediamoose">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le styles -->
<link href="assets/css/bootstrap.css" rel="stylesheet" />
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
#repos h3 { clear: left; }
#repos h3:before {
content: '\0020';
display: none;
float: left;
width: 10px;
height: 27px;
margin-right: 5px;
}
#repos h3:after {
content: '\0020';
font-weight: normal;
color: #999;
margin-left: 10px;
font-size: 12px;
font-style: italic;
}
/* JavaScript */
#repos .javascript h3:before { display: block; background: #F15501; }
#repos .javascript h3:after { content: 'JavaScript'; }
/* PHP */
#repos .php h3:before { display: block; background: #6E03C1; }
#repos .php h3:after { content: 'PHP'; }
#repos .description {
min-height: 54px;
}
</style>
<link href="assets/css/bootstrap-responsive.css" rel="stylesheet" />
<link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="assets/ico/favicon.ico" />
<link rel="apple-touch-icon" href="assets/ico/apple-touch-icon.png" />
<script src="assets/js/mootools/mootools-core-1.4.5.js"></script>
<script>
window.addEvent('domready',function(){
var repoUrls = {
'CeraBox': 'http://mediamoose.github.com/CeraBox',
'Scrollbars': 'http://mediamoose.github.com/Scrollbars',
'examples': 'http://mediamoose.github.com/examples/canvas-blur/v5'
};
var requestRepos = new Request.JSONP({
url: 'https://api.github.com/users/mediamoose/repos',
onSuccess: function(response) {
var rowWrapper = $('repos').empty();
var reposWrapper = null;
var i=0;
Array.each(response.data, function(data){
if (data.name=='mediamoose.github.com')
return;
if (i%3===0) {
reposWrapper = new Element('div',{'class':'row'});
rowWrapper.adopt(reposWrapper);
}
reposWrapper.adopt(
new Element('div',{'class':'span4'+(typeOf(data.language)=='string'?' '+data.language.toLowerCase():'')}).adopt([
new Element('h3',{text:data.name}),
new Element('p',{'class':'description','text':data.description}),
new Element('p').adopt(new Element('a',{'class':'btn','href':repoUrls[data.name]?repoUrls[data.name]:data.html_url,'html':'View details »'}))
])
);
++i;
});
}
}).send();
});
</script>
</head>
<body>
<div class="container">
<!-- Main hero unit for a primary marketing message or call to action -->
<div class="hero-unit">
<h1>Labs - Mediamoose</h1>
<p style="padding:10px 0;">
<a href="http://mediamoose.nl">Mediamoose</a> is a (small) web design and development company located in Alkmaar, The Netherlands.
We like to share some of our work with the open-source community.
Hopefully this makes your developing life just a little bit easier, enjoy.
</p>
<p>
<a href="https://github.com/mediamoose" class="btn btn-primary btn-large">Mediamoose on GitHub »</a>
</p>
</div>
<div id="repos"></div>
<hr/>
<footer>
<p>© <a href="http://mediamoose.nl">Mediamoose</a> 2013</p>
</footer>
</div> <!-- /container -->
<script src="assets/js/google-code-prettify/prettify.js"></script>
<script>
// make code pretty
window.prettyPrint && prettyPrint()
</script>
</body>
</html>