Permalink
Browse files

Fixing gh-pages errors

  • Loading branch information...
1 parent 2e1ae7b commit 35af95b6c9ffd2198d535cf913e609a0699c2a82 @erikzaadi committed Aug 3, 2009
Showing with 0 additions and 115 deletions.
  1. +0 −8 index.html
  2. +0 −77 jQuery.GitHubBadge/Sample/Sample.html
  3. +0 −30 jQuery.GitHubBadge/index.html
View
@@ -1,8 +0,0 @@
----
-layout: default
-title: Erik Zaadi @ GitHub -> jQuery Plugins
----
-
-<h1>jQuery Plugins</h1>
-<h3>Still working on getting these pages up...</h3>
-<h4><a href="jQuery.GitHubBadge/">jQuery.GitHubBadge</a></h4>
@@ -1,77 +0,0 @@
----
-layout: default
-title: Erik Zaadi @ GitHub -> jQuery Plugins -> jQuery GitHub Badge 1.0 -> Sample Page
----
-
- <script type="text/javascript" src="../jquery.GitHubBadge.min.js"></script>
-
- <script type="text/javascript">
- $(document).ready(function() {
- $("#GetGithHubBadgeAdvancedUsage").click(function() {
- $('#toBadge').GitHubBadge({ user: $("#GithHubUser").val(), showErrors: true, validateUser: true });
- });
- $("#GetGithHubBadgeSimpleUsage").click(function() {
- $('#toBadge').GitHubBadge($("#GithHubUser").val());
- });
- });
- </script>
- <style type="text/css">
- .GithubBadge
- {
- border-left: 1px solid #DFDFDF;
- border-top: 1px solid #DFDFDF;
- border-right: 1px solid #AFAFAF;
- border-bottom: 1px solid #AFAFAF;
- -webkit-border-radius:3px;
- -moz-border-radius:3px;
- border-radius:3px;
- background-color : #F6F6F6;
- padding : 5px;
- }
-
- .GithubBadgeTitle
- {
- font-weight:bold;
- }
-
- .GithubBadgeRepo
- {
- background : url('http://github.com/images/icons/public.png') no-repeat left center;
- padding-left : 22px;
- }
-
- .GithubBadgeFork
- {
- font-style : italic;
- }
-
- .GithubBadgeError
- {
- color:red;
- }
- </style>
- <h2>
- jQuery GitHubBadge Tester</h2>
- <div>
- <h3>Usage :</h3>
- <h4>Simple Usage : </h4>
- <pre><code class="js">$('Selector').GitHubBadge('usernamestring');</code></pre>
- <h4>Advanced Usage : </h4>
- <pre><code class="js">$('Selector').GitHubBadge({
- user: 'usernamestring', // Mandatory (Duh!)
- showErrors: true, //Display error messages (default:false)
- showForks: true, //Shows not only personal public repositories, but forks as well (default:true)
- validateUser: true //Validates that user exists (404 can not be detecteted, due to JSONP..), NOTE: Generates an extra request (default:false)
- });</code></pre>
- </div>
- <div>
- <label>
- Enter User<input type="text" id="GithHubUser" /></label>
- <input type="button" value="Advanced Usage " id="GetGithHubBadgeAdvancedUsage" />
- <input type="button" value="Simple Usage" id="GetGithHubBadgeSimpleUsage" />
- <hr />
- <div id="toBadge" style="width : 350px;">
- This is where the badge will be.<br />
- Typical usage : loading image/text...</div>
- </div>
- <div><a href="../">Home</a></div>
@@ -1,30 +0,0 @@
----
-layout: default
-title: Erik Zaadi @ GitHub -> jQuery Plugins -> jQuery GitHub Badge 1.0
----
-
-<h2>jQuery GitHub Badge 1.0</h2>
-<h4><a href="Sample/Sample.html">Sample</a></h4>
-<h4><a href="jquery.GitHubBadge.js">Download</a></h4>
-<h4><a href="jquery.GitHubBadge.min.js">Download (Minified)</a></h4>
-<div>
-Copyright (c) 2009 Erik Zaadi
-</div>
-<div>
- Inspired by <a href="http://drnicjavascript.rubyforge.org/github_badge" target="_blank">Dr Nic</a> and
- <a href="http://mattn.github.com/jquery-github-badge/" target="_blank">Mattn</a>
-</div>
-<div>
- &nbsp;
- <a href="http://erikzaadi.github.com/jQueryPlugins/jQuery.GitHubBadge" target="_blank">HomePage</a>
- &nbsp;
- <a href="http://plugins.jquery.com/project/GitHubBadge" target="_blank">jQuery Plugin home page</a>
- &nbsp;
- <a href="http://wiki.github.com/erikzaadi/jQueryPlugins/jquerygithubbadge" target="_blank">Wiki</a>
- &nbsp;
-</div>
-<div>
- Dual licensed under the MIT and GPL licenses:
- http://www.opensource.org/licenses/mit-license.php
- http://www.gnu.org/licenses/gpl.html
-</div>

0 comments on commit 35af95b

Please sign in to comment.