Github page Ui modifications
This commit is contained in:
1
app.js
1
app.js
@ -26,7 +26,6 @@ var app = express();
|
|||||||
app.set('port', process.env.PORT || 3000);
|
app.set('port', process.env.PORT || 3000);
|
||||||
app.set('views', path.join(__dirname, 'views'));
|
app.set('views', path.join(__dirname, 'views'));
|
||||||
app.set('view engine', 'jade');
|
app.set('view engine', 'jade');
|
||||||
app.locals.pretty = true;
|
|
||||||
app.use(express.favicon());
|
app.use(express.favicon());
|
||||||
app.use(express.logger('dev'));
|
app.use(express.logger('dev'));
|
||||||
app.use(express.cookieParser());
|
app.use(express.cookieParser());
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
extends ../layout
|
extends ../layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
.page-header
|
h2
|
||||||
h1
|
i.fa.fa-github
|
||||||
i.fa.fa-github
|
| GitHub API
|
||||||
| GitHub API
|
|
||||||
.btn-group.btn-group-justified
|
.btn-group.btn-group-justified
|
||||||
a.btn.btn-lg.btn-primary(href='http://developer.github.com/guides/getting-started/', target='_blank')
|
a.btn.btn-primary(href='http://developer.github.com/guides/getting-started/', target='_blank')
|
||||||
i.fa.fa-check-square-o
|
i.fa.fa-check-square-o
|
||||||
| Getting Started
|
| Getting Started
|
||||||
a.btn.btn-lg.btn-primary(href='https://apigee.com/console/github', target='_blank')
|
a.btn.btn-primary(href='https://apigee.com/console/github', target='_blank')
|
||||||
i.fa.fa-laptop
|
i.fa.fa-laptop
|
||||||
| API Console
|
| API Console
|
||||||
a.btn.btn-lg.btn-primary(href='http://developer.github.com/v3/', target='_blank')
|
a.btn.btn-primary(href='http://developer.github.com/v3/', target='_blank')
|
||||||
i.fa.fa-file-text-o
|
i.fa.fa-file-text-o
|
||||||
| Documentation
|
| Documentation
|
||||||
|
br
|
||||||
.panel.panel-default
|
.panel.panel-primary
|
||||||
.panel-heading
|
.panel-heading
|
||||||
h3.panel-title Repository Information
|
h3.panel-title Repository Information
|
||||||
.panel-body
|
.panel-body
|
||||||
@ -26,18 +26,18 @@ block content
|
|||||||
.col-xs-8
|
.col-xs-8
|
||||||
h4
|
h4
|
||||||
a(href='#{repo.html_url}') #{repo.name}
|
a(href='#{repo.html_url}') #{repo.name}
|
||||||
.btn.btn-sm.btn-primary-outline
|
ul.list-inline
|
||||||
i.fa.fa-eye-slash
|
li
|
||||||
| Subscribers: #{repo.subscribers_count}
|
i.fa.fa-eye-slash
|
||||||
.btn.btn-sm.btn-primary-outline
|
| Subscribers: #{repo.subscribers_count}
|
||||||
i.fa.fa-star
|
li
|
||||||
| Starred: #{repo.stargazers_count}
|
i.fa.fa-star
|
||||||
.btn.btn-sm.btn-primary-outline
|
| Starred: #{repo.stargazers_count}
|
||||||
i.fa.fa-code-fork
|
li
|
||||||
| Forks: #{repo.forks_count}
|
i.fa.fa-code-fork
|
||||||
.btn.btn-sm.btn-primary-outline
|
| Forks: #{repo.forks_count}
|
||||||
i.fa.fa-code
|
li
|
||||||
| #{repo.language}
|
i.fa.fa-code
|
||||||
br
|
| #{repo.language}
|
||||||
strong DESCRIPTION
|
strong DESCRIPTION
|
||||||
p= repo.description
|
p= repo.description
|
Reference in New Issue
Block a user