Minor css adjustments accross all templates

This commit is contained in:
Sahat Yalkabov
2013-12-12 02:21:39 -05:00
parent 75ef770e49
commit e3e718b2fa
9 changed files with 54 additions and 44 deletions

View File

@ -2,23 +2,24 @@ extends ../layout
block content
.page-header
h1
h2
i.fa.fa-picture-o
| Aviary API
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary(href='http://developers.aviary.com/docs/web/setup-guide#constructor', target='_blank')
a.btn.btn-primary(href='http://developers.aviary.com/docs/web/setup-guide#constructor', target='_blank')
i.fa.fa-check-square-o
| API Overview
a.btn.btn-lg.btn-primary(href='http://developers.aviary.com/docs/web/setup-guide#saving', target='_blank')
a.btn.btn-primary(href='http://developers.aviary.com/docs/web/setup-guide#saving', target='_blank')
i.fa.fa-save
| Saving Images
a.btn.btn-lg.btn-primary(href='http://developers.aviary.com/docs/web/setup-guide#styling', target='_blank')
a.btn.btn-primary(href='http://developers.aviary.com/docs/web/setup-guide#styling', target='_blank')
i.fa.fa-flask
| CSS Styling
button.btn.btn-primary-outline(onclick='return launchEditor("evanescence", "http://i.imgur.com/fM7OHvr.png");')
br
p: button.btn.btn-success(onclick='return launchEditor("evanescence", "http://i.imgur.com/fM7OHvr.png");')
i.fa.fa-magic
| Edit Photo
br
img#evanescence(src='http://i.imgur.com/fM7OHvr.png')
script(src='http://feather.aviary.com/js/feather.js')

View File

@ -2,17 +2,18 @@ extends ../layout
block content
.page-header
h1
i.fa.fa-facebook-square
h2
i.fa.fa-facebook-square(style='color: #335397')
| Facebook API
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary(href='https://developers.facebook.com/docs/graph-api/quickstart/', target='_blank')
a.btn.btn-primary(href='https://developers.facebook.com/docs/graph-api/quickstart/', target='_blank')
i.fa.fa-check-square-o
| Quickstart
a.btn.btn-lg.btn-primary(href='https://developers.facebook.com/tools/explorer', target='_blank')
a.btn.btn-primary(href='https://developers.facebook.com/tools/explorer', target='_blank')
i.fa.fa-facebook
| Graph API Explorer
a.btn.btn-lg.btn-primary(href='https://developers.facebook.com/docs/graph-api/reference/', target='_blank')
a.btn.btn-primary(href='https://developers.facebook.com/docs/graph-api/reference/', target='_blank')
i.fa.fa-code-fork
| API Reference
h3.text-primary /me
@ -21,8 +22,8 @@ block content
h6 Email: #{me.email}
h3.text-primary /me/friends
ul.list
ul.list-unstyled
for friend in friends
li
img.img-circle(src='https://graph.facebook.com/#{friend.id}/picture?type=normal', width=30, height=30)
img(src='https://graph.facebook.com/#{friend.id}/picture?type=normal', width=30, height=30)
a(href='http://facebook.com/#{friend.id}') #{friend.name}

View File

@ -2,17 +2,18 @@ extends ../layout
block content
.page-header
h1
h2
i.fa.fa-foursquare
| Foursquare API
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary(href='https://developer.foursquare.com/start', target='_blank')
a.btn.btn-primary(href='https://developer.foursquare.com/start', target='_blank')
i.fa.fa-check-square-o
| Getting Started
a.btn.btn-lg.btn-primary(href='https://developer.foursquare.com/docs/explore', target='_blank')
a.btn.btn-primary(href='https://developer.foursquare.com/docs/explore', target='_blank')
i.fa.fa-laptop
| API Console
a.btn.btn-lg.btn-primary(href='https://developer.foursquare.com/docs/', target='_blank')
a.btn.btn-primary(href='https://developer.foursquare.com/docs/', target='_blank')
i.fa.fa-code-fork
| API Endpoints
h3.text-primary Trending Venues
@ -30,6 +31,7 @@ block content
td.hidden-xs.hidden-sm #{venue.categories[0].name}
td.hidden-xs #{venue.stats.checkinsCount}
td= venue.hereNow.count
br
h3.text-primary Venue Detail
p
img(src='#{venueDetail.venue.photos.groups[0].items[0].prefix}150x150#{venueDetail.venue.photos.groups[0].items[0].suffix}')

View File

@ -2,17 +2,18 @@ extends ../layout
block content
.page-header
h1
h2
i.fa.fa-music
| Last.fm API
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary(href='https://github.com/jammus/lastfm-node#lastfm-node', target='_blank')
a.btn.btn-primary(href='https://github.com/jammus/lastfm-node#lastfm-node', target='_blank')
i.fa.fa-check-square-o
| Last.fm Node Docs
a.btn.btn-lg.btn-primary(href='http://www.last.fm/api/account/create', target='_blank')
a.btn.btn-primary(href='http://www.last.fm/api/account/create', target='_blank')
i.fa.fa-laptop
| Create API Account
a.btn.btn-lg.btn-primary(href='http://www.last.fm/api', target='_blank')
a.btn.btn-primary(href='http://www.last.fm/api', target='_blank')
i.fa.fa-code-fork
| API Endpoints
@ -39,7 +40,7 @@ block content
| #{tag.name}
| 
.panel.panel-default
.panel.panel-primary
.panel-heading Biography
.panel-body
!= artist.bio
@ -50,7 +51,7 @@ block content
| 
h4 Similar Artists
ul.list
ul.list-unstyled
for similarArtist in artist.similar
li
a(href='#{similarArtist.url}') #{similarArtist.name}
a.lead(href='#{similarArtist.url}') #{similarArtist.name}

View File

@ -2,21 +2,22 @@ extends ../layout
block content
.page-header
h1
h2
i.fa.fa-building-o
| New York Times API
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary(href='http://developer.nytimes.com/page', target='_blank')
a.btn.btn-primary(href='http://developer.nytimes.com/page', target='_blank')
i.fa.fa-check-square-o
| Overview
a.btn.btn-lg.btn-primary(href='http://prototype.nytimes.com/gst/apitool/index.html', target='_blank')
a.btn.btn-primary(href='http://prototype.nytimes.com/gst/apitool/index.html', target='_blank')
i.fa.fa-laptop
| API Console
a.btn.btn-lg.btn-primary(href='http://developer.nytimes.com/docs', target='_blank')
a.btn.btn-primary(href='http://developer.nytimes.com/docs', target='_blank')
i.fa.fa-code-fork
| API Endspoints
h3 Young Adult Best Sellers
h4 Young Adult Best Sellers
table.dataTable.table.table-striped.table-bordered
thead
tr

View File

@ -2,14 +2,15 @@ extends ../layout
block content
.page-header
h1
h2
i.fa.fa-crop
| Web Scraping
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary(href='http://matthewmueller.github.io/cheerio/', target='_blank')
a.btn.btn-primary(href='http://matthewmueller.github.io/cheerio/', target='_blank')
i.fa.fa-info
| Cheerio Docs
a.btn.btn-lg.btn-primary(href='https://developer.foursquare.com/docs/explore', target='_blank')
a.btn.btn-primary(href='https://developer.foursquare.com/docs/explore', target='_blank')
i.fa.fa-film
| Cheerio Screencast

View File

@ -2,17 +2,18 @@ extends ../layout
block content
.page-header
h1
h2
i.fa.fa-tumblr-square
| Tumblr API
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary(href='http://www.tumblr.com/docs/en/api/v2#overview', target='_blank')
a.btn.btn-primary(href='http://www.tumblr.com/docs/en/api/v2#overview', target='_blank')
i.fa.fa-check-square-o
| Overview
a.btn.btn-lg.btn-primary(href='https://api.tumblr.com/console', target='_blank')
a.btn.btn-primary(href='https://api.tumblr.com/console', target='_blank')
i.fa.fa-laptop
| API Console
a.btn.btn-lg.btn-primary(href='http://www.tumblr.com/docs/en/api/v2#blog_methods', target='_blank')
a.btn.btn-primary(href='http://www.tumblr.com/docs/en/api/v2#blog_methods', target='_blank')
i.fa.fa-code-fork
| API Endpoints

View File

@ -1,17 +1,19 @@
extends ../layout
block content
.page-header
h1
h2
i.fa.fa-twitter(style='color: #4099ff')
| Twitter API
//TODO: Dropdown menu next to h2 instead of this btn-group
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary-outline(href='https://github.com/ttezel/twit', target='_blank')
a.btn.btn-primary(href='https://github.com/ttezel/twit', target='_blank')
i.fa.fa-file-text-o
| Twit Library Docs
a.btn.btn-lg.btn-primary-outline(href='https://dev.twitter.com/docs', target='_blank')
a.btn.btn-primary(href='https://dev.twitter.com/docs', target='_blank')
i.fa.fa-check-square-o
| Overview
a.btn.btn-lg.btn-primary-outline(href='https://dev.twitter.com/docs/api/1.1', target='_blank')
a.btn.btn-primary(href='https://dev.twitter.com/docs/api/1.1', target='_blank')
i.fa.fa-code-fork
| API Endpoints
h3.text-primary Latest 50 Tweets containing "Hackathon" in NYC within 5 miles

View File

@ -10,16 +10,16 @@ block content
legend Sign In
.form-group
.btn-group.btn-group-justified
a.btn.btn-sm.btn-primary.facebook(href='/auth/facebook')
a.btn.btn-primary.facebook(href='/auth/facebook')
i.fa.fa-facebook
| Facebook
a.btn.btn-sm.btn-info.twitter(href='/auth/twitter')
a.btn.btn-info.twitter(href='/auth/twitter')
i.fa.fa-twitter
| Twitter
a.btn.btn-sm.btn-default.github(href='/auth/github')
a.btn.btn-default.github(href='/auth/github')
i.fa.fa-github
| GitHub
a.btn.btn-sm.btn-danger.google(href='/auth/google')
a.btn.btn-danger.google(href='/auth/google')
i.fa.fa-google-plus
| Google
.form-group