From 2a3955e25f089b43d5e45e0e829ff7c23827a45e Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Fri, 17 Jan 2014 16:21:46 -0500 Subject: [PATCH] Updated css styling on Twitter API page --- views/api/twitter.jade | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/views/api/twitter.jade b/views/api/twitter.jade index 3a03ab4a73..18cb81cfed 100644 --- a/views/api/twitter.jade +++ b/views/api/twitter.jade @@ -1,31 +1,35 @@ extends ../layout + block content .page-header 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-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 | 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 | 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 | 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 for tweet in tweets li .panel.panel-default - .panel-heading - =tweet.user.name - small.text-muted @#{tweet.user.screen_name} .panel-body .clearfix - var image = tweet.user.profile_image_url.replace('_normal', ''); 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} \ No newline at end of file