|
2 | 2 |
|
3 | 3 | <html> |
4 | 4 | <head> |
5 | | - <title>Twitter ♥ Open Source</title> |
| 5 | + <title>Center for Open Science: Exclusively Open Source</title> |
6 | 6 | <link rel="stylesheet" type="text/css" href="assets/reset.css"> |
7 | 7 | <link rel="stylesheet" type="text/css" href="assets/grid.css"> |
8 | 8 | <link rel="stylesheet" type="text/css" href="assets/style.css"> |
9 | | - <link href="//abs.twimg.com/favicons/favicon.ico" rel="shortcut icon" type="image/x-icon"> |
| 9 | + <link href="https://osf.io/favicon.ico" rel="shortcut icon" type="image/x-icon"> |
10 | 10 | <script type="text/javascript"> |
11 | 11 |
|
12 | 12 | var _gaq = _gaq || []; |
13 | | - _gaq.push(['_setAccount', 'UA-39101739-1']); |
| 13 | + _gaq.push(['_setAccount', 'UA-63714248-1']); |
14 | 14 | _gaq.push(['_trackPageview']); |
15 | 15 |
|
16 | 16 | (function() { |
|
27 | 27 |
|
28 | 28 | // Put custom repo URL's in this object, keyed by repo name. |
29 | 29 | var repoUrls = { |
30 | | - "bootstrap": "http://twitter.github.com/bootstrap/", |
31 | | - "finagle": "http://twitter.github.com/finagle/", |
32 | | - "hogan.js": "http://twitter.github.com/hogan.js/" |
| 30 | +// "bootstrap": "http://twitter.github.com/bootstrap/", |
| 31 | +// "finagle": "http://twitter.github.com/finagle/", |
| 32 | +// "hogan.js": "http://twitter.github.com/hogan.js/" |
33 | 33 | }; |
34 | 34 |
|
35 | 35 | function repoUrl(repo) { |
|
38 | 38 |
|
39 | 39 | // Put custom repo descriptions in this object, keyed by repo name. |
40 | 40 | var repoDescriptions = { |
41 | | - "bootstrap": "An HTML, CSS, and JS toolkit designed to kickstart development of webapps and sites", |
42 | | - "naggati2": "A protocol builder for Netty using Scala 2.8" |
| 41 | +// "bootstrap": "An HTML, CSS, and JS toolkit designed to kickstart development of webapps and sites", |
| 42 | +// "naggati2": "A protocol builder for Netty using Scala 2.8" |
43 | 43 | }; |
44 | 44 |
|
45 | 45 | function repoDescription(repo) { |
|
81 | 81 | repos = repos || []; |
82 | 82 | page = page || 1; |
83 | 83 |
|
84 | | - var uri = "https://api.github.com/orgs/twitter/repos?callback=?" |
| 84 | + var uri = "https://api.github.com/orgs/centerforopenscience/repos?callback=?" |
85 | 85 | + "&per_page=100" |
86 | 86 | + "&page="+page; |
87 | 87 |
|
|
141 | 141 | function getNumMembers(page, numMembers) { |
142 | 142 | var page = page || 1; |
143 | 143 | var numMembers = numMembers || 0; |
144 | | - var membersUri = "https://api.github.com/orgs/twitter/members?callback=?" |
| 144 | + var membersUri = "https://api.github.com/orgs/centerforopenscience/members?callback=?" |
145 | 145 | + "&per_page=100" |
146 | 146 | + "&page="+page; |
147 | 147 |
|
|
192 | 192 | return opacity; |
193 | 193 | } |
194 | 194 |
|
195 | | - function makeLarry(sizeName, speed) { |
196 | | - var size = sizeDimensions[sizeName]; |
197 | | - var top = Math.floor((flyzone().height() - size) * Math.random()); |
198 | | - |
199 | | - var $img = $("<img>") |
200 | | - .addClass("larry size-" + sizeName) |
201 | | - .attr("src", "assets/larry.png") |
202 | | - .attr("width", size) |
203 | | - .attr("height", size) |
204 | | - .css({ |
205 | | - position: "absolute", |
206 | | - opacity: randomOpacity(0.4), |
207 | | - top: top, |
208 | | - left: -size |
209 | | - }); |
210 | | - |
211 | | - $img.prependTo(flyzone()); |
212 | | - |
213 | | - var left = flyzone().width() + size; |
214 | | - |
215 | | - $img.animate({left: left}, speed, function () { |
216 | | - $img.remove(); |
217 | | - makeRandomLarry(); |
218 | | - }); |
219 | | - |
220 | | - return $img; |
221 | | - } |
222 | | - |
223 | | - function makeRandomLarry() { |
224 | | - var size = randomItem(sizes); |
225 | | - var speed = Math.floor(Math.random() * 20000) + 15000; |
226 | | - return makeLarry(size, speed); |
227 | | - } |
228 | | - |
229 | | - $(function () { |
230 | | - $("#logo").click(function () { |
231 | | - makeRandomLarry(); |
232 | | - }); |
233 | | - }); |
234 | | - |
235 | 195 | var match = (/\blarry(=(\d+))?\b/i).exec(window.location.search); |
236 | 196 |
|
237 | 197 | if (match) { |
|
249 | 209 | <body> |
250 | 210 | <div id="wrapper" class="grid clearfix"> |
251 | 211 | <div id="main" class="grid-1"> |
252 | | - <div id="logo"><h1>Twitter Open Source</h1></div> |
253 | | - <h1>Twitter is built on open source software.</h1> |
254 | | - <p>Want to help? <a href="https://twitter.com/jobs">Join the Flock</a></p> |
255 | | - <p>Visit <a href="https://dev.twitter.com/">dev.twitter.com</a></p> |
256 | | - <p><a href="https://twitter.com/about/resources">Logos and other goodies</a></p> |
| 212 | + <div id="logo"><h1>COS Open Source</h1></div> |
| 213 | + <h1>We like our software like our science. Open.</h1> |
| 214 | + <p>Want to help? <a href="https://cos.io/jobs">We're hiring.</a></p> |
257 | 215 | </div> |
258 | 216 |
|
259 | 217 | <div class="grid grid-3"> |
260 | 218 | <div id="statistics" class="grid-1 alpha header"> |
261 | 219 | <h1>Statistics</h1> |
262 | 220 | <p> |
263 | | - <a href="https://github.com/twitter/repositories"><span id="num-repos"><img src="assets/spinner.gif" /></span> public repos</a> |
| 221 | + <a href="https://github.com/centerforopenscience/repositories"><span id="num-repos"><img src="assets/spinner.gif" /></span> public repos</a> |
264 | 222 | <br> |
265 | | - <a href="https://github.com/twitter?tab=members"><span id="num-members"><img src="assets/spinner.gif" /></span> members</a> |
| 223 | + <a href="https://github.com/centerforopenscience?tab=members"><span id="num-members"><img src="assets/spinner.gif" /></span> members</a> |
266 | 224 | </p> |
267 | | - <p class=" email" ><a href=" mailto:[email protected]" >[email protected]</a></p> |
268 | 225 | </div> |
269 | 226 |
|
270 | 227 | <div id="recently-updated" class="grid-2 omega header"> |
271 | | - <h1>Recently updated <a href="https://github.com/twitter/repositories">View All on GitHub</a></h1> |
| 228 | + <h1>Recently updated <a href="https://github.com/centerforopenscience/repositories">View All on GitHub</a></h1> |
272 | 229 | <ol id="recently-updated-repos"></ol> |
273 | 230 | </div> |
274 | 231 | </div> |
|
0 commit comments