Merged user checks with venues, no more tabs

This commit is contained in:
Sahat Yalkabov
2013-12-05 14:57:47 -05:00
parent 18a53bca71
commit e62d67fe5e
3 changed files with 41 additions and 61 deletions

View File

@ -237,7 +237,6 @@ label-info {
> li {
> a {
color: #555;
border: 1px solid transparent;
border-radius: 0;
transition: all 0.3s;
@ -248,7 +247,6 @@ label-info {
}
}
// Active state, and it's :hover to override normal :hover
&.active > a {
&,
&:hover,

View File

@ -19,25 +19,17 @@ block content
i.fa.fa-foursquare
| Foursquare APIs
.btn-group.btn-group-justified
a.btn.btn-lg.btn-primary-outline(href='https://developer.foursquare.com/start', target='_blank')
a.btn.btn-lg.btn-primary(href='https://developer.foursquare.com/start', target='_blank')
i.fa.fa-check-square-o
| Getting Started
a.btn.btn-lg.btn-primary-outline(href='https://developer.foursquare.com/docs/explore', target='_blank')
a.btn.btn-lg.btn-primary(href='https://developer.foursquare.com/docs/explore', target='_blank')
i.fa.fa-laptop
| API Console
a.btn.btn-lg.btn-primary-outline(href='https://developer.foursquare.com/docs/', target='_blank')
a.btn.btn-lg.btn-primary(href='https://developer.foursquare.com/docs/', target='_blank')
i.fa.fa-code-fork
| API Endpoints
ul.nav.nav-tabs.nav-justified
li.active
a(href='#venues', data-toggle='tab') Venues
li
a(href='#users', data-toggle='tab') Users
.tab-content
#venues.tab-pane.fade.active.in
h3.text-primary Trending Venues
table.dataTable.table.table-striped.table-bordered
thead
tr
@ -52,7 +44,6 @@ block content
td.hidden-xs.hidden-sm #{venue.categories[0].name}
td.hidden-xs #{venue.stats.checkinsCount}
td= venue.hereNow.count
p
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}')
@ -60,7 +51,6 @@ block content
.label.label-success #{venueDetail.venue.location.address}, #{venueDetail.venue.location.city}, #{venueDetail.venue.location.state}
.label.label-warning #{venueDetail.venue.likes.count} likes, #{venueDetail.venue.rating} rating
#users.tab-pane.fade
h3.text-primary User Checkins
table.dataTable.table.table-bordered.table-hover
thead

View File

@ -11,11 +11,3 @@ block content
.alert.alert-success.fade.in
button.close(type='button', data-dismiss='alert', aria-hidden='true') ×
| Congratulations, you are logged in!
ul.nav.nav-tabs.nav-justified
li.active
a(href='#venues', data-toggle='tab') Venues
li
a(href='#users', data-toggle='tab') Users
.tab-content
h2 Demo