From 5589dac1082327b2931e3a055c1cd9a97b16bd6f Mon Sep 17 00:00:00 2001 From: theworldbright Date: Wed, 3 Jun 2015 23:59:06 +0900 Subject: Perform compositional styling to "getting started" --- app/views/users/getting_started.haml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'app/views/users/getting_started.haml') diff --git a/app/views/users/getting_started.haml b/app/views/users/getting_started.haml index b5eef07f3..009618b39 100644 --- a/app/views/users/getting_started.haml +++ b/app/views/users/getting_started.haml @@ -9,7 +9,9 @@ = invited_by_message - %h2 + .small-horizontal-spacer + + %h3 = t(".who_are_you") - if AppConfig.configured_services.include? :facebook @@ -18,13 +20,15 @@ = form_tag profile_path, method: :put, remote: true, id: 'edit_profile' do %fieldset - = label_tag 'profile[first_name]', t('profiles.edit.your_name') - = text_field_tag 'profile[first_name]', current_user.first_name, class: "form-control" - = image_tag 'ajax-loader2.gif', id: "gs-name-form-spinner", class: "hidden" - = label_tag :your_photo, t('profiles.edit.your_photo') - = render 'photos/new_profile_photo', aspect: :getting_started, person: current_user.person - - %h2 + .form-group + = label_tag 'profile[first_name]', t('profiles.edit.your_name') + = text_field_tag 'profile[first_name]', current_user.first_name, class: "form-control" + .form-group + = image_tag 'ajax-loader2.gif', id: "gs-name-form-spinner", class: "hidden" + = label_tag :your_photo, t('profiles.edit.your_photo') + = render 'photos/new_profile_photo', aspect: :getting_started, person: current_user.person + + %h3 = t('.what_are_you_in_to') %p @@ -35,6 +39,5 @@ = label_tag 'follow_tags', t('.hashtag_suggestions') #tags_list = text_field_tag 'follow_tags', nil, class: "nostrap form-control" - - .awesome - = link_to "#{t('.awesome_take_me_to_diaspora')} ยป", stream_path, id: "awesome_button", class: "btn" + .text-center + = link_to "#{t('.awesome_take_me_to_diaspora')} >>", stream_path, id: "awesome_button", class: "btn btn-default btn-lg btn-primary" -- cgit v1.2.3