Bootstrap3 update: row classes

This commit is contained in:
Amy Hendrix
2014-07-13 15:15:08 -04:00
parent df9169c13d
commit 8d0d01991b
20 changed files with 23 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
.well
.comment
.row-fluid
.row
.span1
= render :partial => "members/avatar", :locals => { :member => comment.author }
.span11

View File

@@ -1,5 +1,5 @@
.well
.row-fluid
.row
.span4
= link_to image_tag((crop.default_photo ? crop.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => '', :class => 'img-rounded'), crop
.span8

View File

@@ -1,4 +1,4 @@
.row-fluid
.row
- if !crop.photos.empty?
%ul.thumbnails
- crop.photos.first(3).each do |p|

View File

@@ -1,6 +1,6 @@
- content_for :title, @crop.name
.row-fluid
.row
.span9
%p
- if can? :create, Planting

View File

@@ -1,6 +1,6 @@
=content_for :title, "#{@garden.owner}'s #{@garden}"
.row-fluid
.row
.span9
- if ! @garden.active
.alert.alert-notice

View File

@@ -1,6 +1,6 @@
=content_for :title, "#{@harvest.crop} harvested by #{@harvest.owner}"
.row-fluid
.row
.span6
%p
%b Owner:

View File

@@ -2,7 +2,7 @@
%h1= ENV['GROWSTUFF_SITE_NAME']
.row-fluid
.row
.span8.info
%p
#{ENV['GROWSTUFF_SITE_NAME']} is a community of food gardeners.

View File

@@ -1,4 +1,4 @@
.row-fluid
.row
.span6.hidden-phone
- cache "interesting_crops", :expires_in => 1.day do
%h2 Some of our crops
@@ -11,7 +11,7 @@
%h2 Recently planted
= render :partial => 'plantings/list', :locals => { :plantings => Planting.interesting.first(4) }
.row-fluid
.row
.span12
- cache "recent_crops" do
%p{ :style => 'margin-top: 11.25px' }

View File

@@ -4,7 +4,7 @@
- if members.present?
%h2 Some of our members
.row-fluid
.row
- members.each do |m|
.span6.homepage-members
= render :partial => "members/thumbnail", :locals => { :member => m }

View File

@@ -1,4 +1,4 @@
.row-fluid
.row
.span12
- if member_signed_in?
%h1
@@ -21,7 +21,7 @@
= render :partial => 'blurb'
.visible-phone
= render :partial => 'blurb'
.row-fluid
.row
.span8.main
= render :partial => 'crops'
= render :partial => 'seeds'

View File

@@ -5,7 +5,7 @@
= render :partial => "layouts/header"
.container
.row-fluid
.row
.span12
- if content_for?(:title)
%h1= yield(:title)

View File

@@ -1,5 +1,5 @@
- cache "member_thumbnail_#{member.id}" do
.row-fluid
.row
.member-thumbnail
.span3
= render :partial => "members/image_with_popover", :locals => { :member => member }

View File

@@ -2,7 +2,7 @@
- content_for :member_rss_login_name, "#{@member.login_name}"
- content_for :member_rss_slug, "#{@member.slug}"
.row-fluid
.row
.span3
= render :partial => "members/avatar", :locals => { :member => @member }

View File

@@ -22,7 +22,7 @@
= will_paginate @photos
%ul.thumbnails
.row-fluid
.row
- @photos.each do |p|
%li.span2.six-across
.thumbnail(style='height: 220px')

View File

@@ -1,6 +1,6 @@
-content_for :title, @photo.title
.row-fluid
.row
.span6
%p
%strong Posted by:
@@ -25,7 +25,7 @@
- @photo.plantings.each do |p|
%li= link_to p, p
.row-fluid
.row
.span12
%p= image_tag(@photo.fullsize_url, :alt => @photo.title, :class => 'img-rounded')

View File

@@ -1,6 +1,6 @@
- plantings.each do |p|
- cache "plantings_listitem_#{p.id}" do
.row-fluid
.row
.span2{:style => 'padding-bottom: 6px'}
= render :partial => 'plantings/image_with_popover', :locals => { :planting => p }
.span10

View File

@@ -1,5 +1,5 @@
.well
.row-fluid
.row
.span3
= link_to image_tag((planting.default_photo ? planting.default_photo.thumbnail_url : 'placeholder_150.png'), :alt => '', :class => 'img-rounded'), planting

View File

@@ -1,6 +1,6 @@
=content_for :title, "#{@planting.crop} in #{@planting.location}"
.row-fluid
.row
.span6
%p
%b Owner:

View File

@@ -1,6 +1,6 @@
.well
.post
.row-fluid
.row
.span1
= render :partial => "members/avatar", :locals => { :member => post.author }
.span11

View File

@@ -1,6 +1,6 @@
- content_for :title, "#{@seed.owner}'s #{@seed.crop} seeds"
.row-fluid
.row
.span6
%p
%b Owner: