Fix markup for better layout and getting column padding sitting where it should

This commit is contained in:
summerscope
2014-10-30 17:02:08 +11:00
parent 733b249b12
commit 34f47cedae
3 changed files with 28 additions and 25 deletions

View File

@@ -1,7 +1,8 @@
.content#about{"ng-controller" => "AboutUsCtrl", bindonce: true}
.row
.small-12.large-8.columns.panel
%img.hero-img-small{"bo-src" => "CurrentHub.hub.promo_image", "bo-if" => "CurrentHub.hub.promo_image"}
%p{"bo-html" => "CurrentHub.hub.long_description"}
.small-12.large-4.columns
 
.panel
.row
.small-12.large-8.columns
%img.hero-img-small{"bo-src" => "CurrentHub.hub.promo_image", "bo-if" => "CurrentHub.hub.promo_image"}
%p{"bo-html" => "CurrentHub.hub.long_description"}
.small-12.large-4.columns
 

View File

@@ -1,12 +1,13 @@
.content
.row
.small-12.columns.panel
- if current_distributor.groups.length > 0
%h5
=current_distributor.name
is part of:
%ul.bullet-list
- for group in current_distributor.groups
%li
%a{href: main_app.groups_path + "/#/#group#{group.id}"}
= group.name
.panel
.row
.small-12.large-4.columns
- if current_distributor.groups.length > 0
%h5
=current_distributor.name
is part of:
%ul.bullet-list
- for group in current_distributor.groups
%li
%a{href: main_app.groups_path + "/#/#group#{group.id}"}
= group.name

View File

@@ -1,9 +1,10 @@
.content#producers{"ng-controller" => "ProducersTabCtrl"}
.row
.small-12.columns.panel
%h5 {{CurrentHub.hub.name}}'s producers:
%ul.small-block-grid-2.large-block-grid-4
%li{"ng-repeat" => "enterprise in CurrentHub.hub.producers"}
%enterprise-modal
%i.ofn-i_036-producers
{{ enterprise.name }}
.panel
.row
.small-12.columns
%h5 {{CurrentHub.hub.name}}'s producers:
%ul.small-block-grid-2.large-block-grid-4
%li{"ng-repeat" => "enterprise in CurrentHub.hub.producers"}
%enterprise-modal
%i.ofn-i_036-producers
{{ enterprise.name }}