Narrower content for settings pages (2/3 of available width).

This commit is contained in:
Pablo Cuadrado 2014-06-28 05:22:49 -03:00
parent 9c5b9b8767
commit 1662814333
4 changed files with 15 additions and 11 deletions

View file

@ -14,10 +14,11 @@
.container
.row-fluid
.span12
- content_for :submit_block do
= link_to t('cancel'), local_or_remote_person_path(current_user.person), :class => "btn"
= submit_tag t('.update_profile'), :class => "creation", :id => "update_profile", :class => "btn"
= render :partial => 'edit', :locals => {:person => @person,
:profile => @profile, :aspect => @aspect, :step => @step}
.span8
- content_for :submit_block do
= link_to t('cancel'), local_or_remote_person_path(current_user.person), :class => "btn"
= submit_tag t('.update_profile'), :class => "creation", :id => "update_profile", :class => "btn"
= render :partial => 'edit', :locals => {:person => @person,
:profile => @profile, :aspect => @aspect, :step => @step}
.span4

View file

@ -9,7 +9,7 @@
.container
.row-fluid
.span-12
.span12
#section_header
%h2
= t('settings')

View file

@ -16,7 +16,7 @@
= render 'shared/settings_nav'
.row-fluid
.span-12
.span8
.row-fluid
.span6
%h3
@ -221,3 +221,5 @@
= f.password_field :current_password, :id => :close_account_password
%p
= f.submit t('.close_account_text'), :class => "btn btn-danger", :id => "close_account_confirm", :data => { :confirm => t('are_you_sure_delete_account') }
.span4

View file

@ -9,13 +9,14 @@
.container
.row-fluid
.span-12
.span12
#section_header
%h2
= t('privacy')
= render 'shared/settings_nav'
.span-12
.row-fluid
.span8
%h3
= t('.ignored_users')
@ -25,4 +26,4 @@
= link_to t('.stop_ignoring'), block_path(block),
:method => :delete
%br
.span4