New github api page with a repo information example

Bootstrap-Well ios7 style
This commit is contained in:
Sahat Yalkabov
2013-12-07 21:44:26 -05:00
parent 717628834e
commit d7f19c483f
7 changed files with 124 additions and 17 deletions

44
views/api/github.jade Normal file
View File

@@ -0,0 +1,44 @@
extends ../layout
block content
.page-header
h1
i.fa.fa-github
| GitHub API
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary(href='http://developer.github.com/guides/getting-started/', target='_blank')
i.fa.fa-check-square-o
| Getting Started
a.btn.btn-lg.btn-primary(href='https://apigee.com/console/github', target='_blank')
i.fa.fa-laptop
| API Console
a.btn.btn-lg.btn-primary(href='http://developer.github.com/v3/', target='_blank')
i.fa.fa-code-fork
| Documentation
.panel.panel-default
.panel-heading
h3.panel-title Repository Information
.panel-body
.row
.col-xs-4
img.img-rounded.img-responsive(src='https://github.global.ssl.fastly.net/images/modules/logos_page/Octocat.png')
.col-sm-6.col-md-8
h4
a(href='#{repo.html_url}') #{repo.name}
p
.btn.btn-sm.btn-primary-outline
i.fa.fa-eye-slash
| Watchers: #{repo.watchers_count}
.btn.btn-sm.btn-primary-outline
i.fa.fa-star
| Starred: #{repo.stargazers_count}
.btn.btn-sm.btn-primary-outline
i.fa.fa-code-fork
| Forks: #{repo.forks_count}
.btn.btn-sm.btn-primary-outline
i.fa.fa-code
| #{repo.language}
.well
strong DESCRIPTION
p= repo.description