link github stats

This commit is contained in:
Sami Samhuri 2013-07-02 21:27:08 -07:00
parent eaffb1a5e8
commit fd066e9188
3 changed files with 37 additions and 12 deletions

View file

@ -1,3 +1,5 @@
#stats a { text-decoration: none }
#info { text-align: center
; margin: 1em auto
; padding: 1em

View file

@ -1,9 +1,9 @@
<!doctype html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>projects :: samhuri.net</title>
<title>projects :: samhuri.net</title>
<link rel="icon" type="image/gif" href="../images/s.gif">
<link rel="stylesheet" href="../css/proj-index-all.min.css">
<link rel="stylesheet" media="screen" href="../css/mobile.min.css">
@ -27,6 +27,7 @@
; color: #444
; margin-bottom: 0.5em
}
#stats a { text-decoration: none }
</style>
</head>
<body>
@ -40,14 +41,30 @@
</p>
<table align="center" id="stats">
<tr>
<td align="right"><span id="npublicRepos"><img src="../images/spinner@2x.gif" width="16" height="16"></span> projects</td>
<td align="right">
<a href="https://github.com/samsonjs">
<span id="npublicRepos"></span> projects
</a>
</td>
<td>&mdash;</td>
<td align="left"><span id="nfollowers"><img src="../images/spinner@2x.gif" width="16" height="16"></span> followers</td>
<td align="left">
<a href="https://github.com/samsonjs/followers">
<span id="nfollowers"></span> followers
</a>
</td>
</tr>
<tr>
<td align="right"><span id="npublicGists"><img src="../images/spinner@2x.gif" width="16" height="16"></span> gists</td>
<td align="right">
<a href="https://gist.github.com/samsonjs">
<span id="npublicGists"></span> gists
</a>
</td>
<td>&mdash;</td>
<td align="left">following <span id="nfollowing"><img src="../images/spinner@2x.gif" width="16" height="16"></span></td>
<td align="left">
<a href="https://github.com/samsonjs/following">
following <span id="nfollowing"></span>
</a>
</td>
</tr>
</table>
<nav>

View file

@ -13,25 +13,31 @@
<a href="https://github.com/samsonjs/{{name}}"><img id="forkme" src="../../images/forkme@2x.png" width="140" height="140" alt="Fork me on GitHub"></a>
<h1>{{name}}</h1>
<h2>{{description}}</h2>
<table align="center">
<table align="center" id="stats">
<tr>
<td align="right"><span id="nwatchers"><img src="../../images/spinner@2x.gif" width="16" height="16"></span> watcher<span id="wplural">s</span></td>
<td align="right">
<span id="nwatchers"></span> watcher<span id="wplural">s</span>
</td>
<td>&mdash;</td>
<td align="left"><span id="nforks"><img src="../../images/spinner@2x.gif" width="16" height="16"></span> fork<span id="fplural">s</span></td>
<td align="left">
<a href="https://github.com/samsonjs/{{name}}/network/members">
<span id="nforks"></span> fork<span id="fplural">s</span>
</a>
</td>
</tr>
</table>
<div id="info">
<div>
<h4>branches</h4>
<span id="branches"><img src="../../images/spinner@2x.gif" width="16" height="16"></span>
<span id="branches"></span>
</div>
<div>
<h4>languages</h4>
<span id="langs"><img src="../../images/spinner@2x.gif" width="16" height="16"></span>
<span id="langs"></span>
</div>
<div id="contributors-box">
<h4>contributors</h4>
<span id="contributors"><img src="../../images/spinner@2x.gif" width="16" height="16"></span>
<span id="contributors"></span>
</div>
<br class="clear">
</div>