Updated css styling on Twitter API page
This commit is contained in:
@ -1,31 +1,35 @@
|
|||||||
extends ../layout
|
extends ../layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
.page-header
|
.page-header
|
||||||
h2
|
h2
|
||||||
i.fa.fa-twitter(style='color: #4099ff')
|
i.fa.fa-twitter(style='color: #4099ff')
|
||||||
| Twitter API
|
| Twitter API
|
||||||
|
|
||||||
//TODO: Dropdown menu next to h2 instead of this btn-group
|
|
||||||
.btn-group.btn-group-justified
|
.btn-group.btn-group-justified
|
||||||
a.btn.btn-primary(href='https://github.com/ttezel/twit', target='_blank')
|
a.btn.btn-success(href='https://github.com/ttezel/twit', target='_blank')
|
||||||
i.fa.fa-file-text-o
|
i.fa.fa-file-text-o
|
||||||
| Twit Library Docs
|
| Twit Library Docs
|
||||||
a.btn.btn-primary(href='https://dev.twitter.com/docs', target='_blank')
|
a.btn.btn-success(href='https://dev.twitter.com/docs', target='_blank')
|
||||||
i.fa.fa-check-square-o
|
i.fa.fa-check-square-o
|
||||||
| Overview
|
| Overview
|
||||||
a.btn.btn-primary(href='https://dev.twitter.com/docs/api/1.1', target='_blank')
|
a.btn.btn-success(href='https://dev.twitter.com/docs/api/1.1', target='_blank')
|
||||||
i.fa.fa-code-fork
|
i.fa.fa-code-fork
|
||||||
| API Endpoints
|
| API Endpoints
|
||||||
h3.text-primary Latest 50 Tweets containing "Hackathon" in NYC within 5 miles
|
|
||||||
|
br
|
||||||
|
.lead Latest 50 Tweets containing "Hackathon" in NYC within 5 miles
|
||||||
|
|
||||||
ul.list-unstyled
|
ul.list-unstyled
|
||||||
for tweet in tweets
|
for tweet in tweets
|
||||||
li
|
li
|
||||||
.panel.panel-default
|
.panel.panel-default
|
||||||
.panel-heading
|
|
||||||
=tweet.user.name
|
|
||||||
small.text-muted @#{tweet.user.screen_name}
|
|
||||||
.panel-body
|
.panel-body
|
||||||
.clearfix
|
.clearfix
|
||||||
- var image = tweet.user.profile_image_url.replace('_normal', '');
|
- var image = tweet.user.profile_image_url.replace('_normal', '');
|
||||||
img.pull-left(src='#{image}', width=50, height=50, style='margin-right: 10px')
|
img.pull-left(src='#{image}', width=50, height=50, style='margin-right: 10px')
|
||||||
|
|
||||||
|
=tweet.user.name
|
||||||
|
small.text-muted @#{tweet.user.screen_name}
|
||||||
|
br
|
||||||
small #{tweet.text}
|
small #{tweet.text}
|
Reference in New Issue
Block a user