Narrower content for settings pages (2/3 of available width).
This commit is contained in:
parent
9c5b9b8767
commit
1662814333
4 changed files with 15 additions and 11 deletions
|
|
@ -14,10 +14,11 @@
|
||||||
|
|
||||||
.container
|
.container
|
||||||
.row-fluid
|
.row-fluid
|
||||||
.span12
|
.span8
|
||||||
- content_for :submit_block do
|
- content_for :submit_block do
|
||||||
= link_to t('cancel'), local_or_remote_person_path(current_user.person), :class => "btn"
|
= 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"
|
= submit_tag t('.update_profile'), :class => "creation", :id => "update_profile", :class => "btn"
|
||||||
= render :partial => 'edit', :locals => {:person => @person,
|
= render :partial => 'edit', :locals => {:person => @person,
|
||||||
:profile => @profile, :aspect => @aspect, :step => @step}
|
:profile => @profile, :aspect => @aspect, :step => @step}
|
||||||
|
.span4
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
.container
|
.container
|
||||||
.row-fluid
|
.row-fluid
|
||||||
.span-12
|
.span12
|
||||||
#section_header
|
#section_header
|
||||||
%h2
|
%h2
|
||||||
= t('settings')
|
= t('settings')
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
= render 'shared/settings_nav'
|
= render 'shared/settings_nav'
|
||||||
|
|
||||||
.row-fluid
|
.row-fluid
|
||||||
.span-12
|
.span8
|
||||||
.row-fluid
|
.row-fluid
|
||||||
.span6
|
.span6
|
||||||
%h3
|
%h3
|
||||||
|
|
@ -221,3 +221,5 @@
|
||||||
= f.password_field :current_password, :id => :close_account_password
|
= f.password_field :current_password, :id => :close_account_password
|
||||||
%p
|
%p
|
||||||
= f.submit t('.close_account_text'), :class => "btn btn-danger", :id => "close_account_confirm", :data => { :confirm => t('are_you_sure_delete_account') }
|
= f.submit t('.close_account_text'), :class => "btn btn-danger", :id => "close_account_confirm", :data => { :confirm => t('are_you_sure_delete_account') }
|
||||||
|
|
||||||
|
.span4
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,14 @@
|
||||||
|
|
||||||
.container
|
.container
|
||||||
.row-fluid
|
.row-fluid
|
||||||
.span-12
|
.span12
|
||||||
#section_header
|
#section_header
|
||||||
%h2
|
%h2
|
||||||
= t('privacy')
|
= t('privacy')
|
||||||
= render 'shared/settings_nav'
|
= render 'shared/settings_nav'
|
||||||
|
|
||||||
.span-12
|
.row-fluid
|
||||||
|
.span8
|
||||||
%h3
|
%h3
|
||||||
= t('.ignored_users')
|
= t('.ignored_users')
|
||||||
|
|
||||||
|
|
@ -25,4 +26,4 @@
|
||||||
= link_to t('.stop_ignoring'), block_path(block),
|
= link_to t('.stop_ignoring'), block_path(block),
|
||||||
:method => :delete
|
:method => :delete
|
||||||
%br
|
%br
|
||||||
|
.span4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue