photo upload position, active input, spinny on complete
This commit is contained in:
parent
49b46f09cd
commit
050964b7ec
4 changed files with 36 additions and 6 deletions
|
|
@ -103,10 +103,15 @@
|
||||||
= form_tag(multiple_tag_followings_path, :method => 'post', :class => "tag_input search_form") do
|
= form_tag(multiple_tag_followings_path, :method => 'post', :class => "tag_input search_form") do
|
||||||
= text_field_tag 'follow_tags', nil
|
= text_field_tag 'follow_tags', nil
|
||||||
|
|
||||||
|
%br
|
||||||
|
|
||||||
|
%div{:style => 'text-align:center; min-height: 58px'}
|
||||||
|
%p
|
||||||
|
= link_to t('.awesome_take_me_to_diaspora'), "#", :id => "awesome_button", :class => "button"
|
||||||
|
%p
|
||||||
|
= image_tag 'ajax-loader.gif', :id => "awesome_spinner", :class => "hidden"
|
||||||
|
|
||||||
|
|
||||||
.clearfix
|
.clearfix
|
||||||
%br
|
%br
|
||||||
|
|
||||||
%li{:style => 'text-align:center;'}
|
|
||||||
%p
|
|
||||||
= link_to t('.awesome_take_me_to_diaspora'), "#", :class => "button", :onClick => "$('.tag_input').submit();"
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -900,7 +900,7 @@ en:
|
||||||
|
|
||||||
who_are_you: "Who are you?"
|
who_are_you: "Who are you?"
|
||||||
|
|
||||||
what_are_you_in_to: "What are you in to?"
|
what_are_you_in_to: "What are you into?"
|
||||||
hashtag_explanation: "Hashtags allow you to talk about and follow your interests. They're also a great way to find new people on Diaspora."
|
hashtag_explanation: "Hashtags allow you to talk about and follow your interests. They're also a great way to find new people on Diaspora."
|
||||||
|
|
||||||
saved: "Saved!"
|
saved: "Saved!"
|
||||||
|
|
|
||||||
|
|
@ -25,5 +25,19 @@ Diaspora.Pages.UsersGettingStarted = function() {
|
||||||
$('#form_spinner').removeClass("hidden");
|
$('#form_spinner').removeClass("hidden");
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#profile_first_name").bind("blur", function(){
|
||||||
|
$(this).removeClass("active_input");
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#profile_first_name").bind("focus", function(){
|
||||||
|
$(this).addClass("active_input");
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#awesome_button").bind("click", function(evt){
|
||||||
|
evt.preventDefault();
|
||||||
|
$('#awesome_spinner').removeClass("hidden");
|
||||||
|
$('.tag_input').submit();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3221,12 +3221,19 @@ ul#getting_started
|
||||||
#profile_photo_upload
|
#profile_photo_upload
|
||||||
:padding
|
:padding
|
||||||
:left 30px
|
:left 30px
|
||||||
img
|
.avatar
|
||||||
:position relative
|
:position relative
|
||||||
:float right
|
:float right
|
||||||
|
|
||||||
|
#file-upload-spinner
|
||||||
|
:position relative
|
||||||
|
:top -120px
|
||||||
|
:left 140px
|
||||||
|
|
||||||
.button
|
.button
|
||||||
:top 10px
|
:top 10px
|
||||||
:left 69px
|
:left 69px
|
||||||
|
|
||||||
.button
|
.button
|
||||||
:top 20px
|
:top 20px
|
||||||
|
|
||||||
|
|
@ -3235,6 +3242,10 @@ ul#getting_started
|
||||||
:position relative
|
:position relative
|
||||||
:top 4px
|
:top 4px
|
||||||
:right 2px
|
:right 2px
|
||||||
|
|
||||||
|
input.active_input
|
||||||
|
:background
|
||||||
|
:color lighten(#FFD700, 40%)
|
||||||
|
|
||||||
|
|
||||||
#right_service_icons
|
#right_service_icons
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue