From b494a0c252bed26279b94052f54b307fbbe0b70a Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Thu, 5 Jun 2014 11:58:01 -0400 Subject: [PATCH] Updated instagram api example --- views/api/instagram.jade | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/views/api/instagram.jade b/views/api/instagram.jade index fe725b7d30f..3b9da37e4e2 100644 --- a/views/api/instagram.jade +++ b/views/api/instagram.jade @@ -3,7 +3,7 @@ extends ../layout block content .page-header h2 - i.fa.fa-instagram + i.fa.fa-instagram(style='color: #517fa4') | Instagram API .btn-group.btn-group-justified a.btn.btn-primary(href='http://instagram.com/developer/', target='_blank') @@ -18,7 +18,7 @@ block content br p.lead Username Search for - strong lisa_veronica + strong richellemead table.table.table-hover.table-bordered thead tr @@ -40,12 +40,12 @@ block content strong 175948269 - img.thumbnail(src='#{userById.profile_picture}', width='75', height='75') - p - a(href='http://instagram.com/#{userById.username}') - strong #{userById.full_name} - br - | #{userById.bio} + .media + a.pull-left(href='http://instagram.com/#{userById.username}') + img.thumbnail(src='#{userById.profile_picture}', width='110', height='110') + .media-body + h4= userById.full_name + p= userById.bio hr p.lead @@ -56,9 +56,7 @@ block content .col-xs-3 a.thumbnail(href='#{image.link}') img(src='#{image.images.standard_resolution.url}', height='320px') - div.facebook-caption - i.fa.fa-heart - | #{image.likes.count} + hr @@ -70,6 +68,3 @@ block content .col-xs-3 a.thumbnail(href='#{image.link}') img(src='#{image.images.standard_resolution.url}', height='320px') - div.facebook-caption - i.fa.fa-heart - | #{image.likes.count} \ No newline at end of file