New github api page with a repo information example
Bootstrap-Well ios7 style
This commit is contained in:
44
views/api/github.jade
Normal file
44
views/api/github.jade
Normal 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
|
Reference in New Issue
Block a user