Files
resume.github.com/views/index.html
2011-02-06 14:36:30 +00:00

43 lines
1.5 KiB
HTML

<div id="doc" class="yui-t7">
<div id="hd" role="banner"><h1>My Github Resume</h1></div>
<div id="bd" role="main">
<div class="yui-g">
<p>
As a software startup owner I really enjoy when people send us their
resumes and they include their github account so we can see tangible work they have done.
</p>
<p><br /></p>
<p>
After a <a href="https://twitter.com/#!/jeresig/status/33968704983138304">tweet by John Resig</a>
I imagined that it may be nice for people to be able to generate their <a href="https://github.com" title="Github">Github</a> resumes.
</p>
<p><br /></p>
<p>
<input id="username" type="text" value="Enter your github username and click on generate" />
<button type="button" id="gen">Generate</button>
</p>
</div>
</div>
<div id="ft" role="contentinfo"><p>Brought to your by the brilliant mind of <a href="http://twitter.com/davidcoallier">@davidcoallier</a> &lt;/modesty&gt;</p></div>
</div>
<script type="text/javascript">
$(document).ready(function() {
$('input#username').live('click', function() {
$(this).val('');
});
$(document).keyup(function(e) {
if (e.keyCode == 13) {
var genUser = $('#username').val();
document.location.href = "/?" + genUser;
}
});
$('#gen').live('click', function() {
var genUser = $('#username').val();
document.location.href = "/?" + genUser;
});
});
</script>