Merge branch 'master' of github.com:diaspora/diaspora

This commit is contained in:
maxwell 2010-11-23 01:17:05 -08:00
commit 82d0e193e7
5 changed files with 98 additions and 52 deletions

View file

@ -4,7 +4,7 @@
.span-24.last
%h2{:style => "position:relative;"}
= t('_home')
= current_user.real_name
.right
%span.description
= current_user.diaspora_handle

View file

@ -5,6 +5,7 @@
- content_for :head do
:javascript
$(document).ready(function(){
$("div.public_toggle input").live("click", function(evt){
if($(this).attr('checked') == true){
$(".question_mark").click();
@ -20,9 +21,20 @@
$("#publisher .options_and_submit").hide();
});
#publisher
= owner_image_link
$("#content_creation_button").bind("click", function(evt){
$("#publisher").find(".content_creation").show();
$("#publisher").find("textarea").focus();
});
});
#publisher
- if aspect == :all
#content_creation_button
= image_tag 'icons/monotone_chat_talk.png', :id => 'share_bubble'
%h4 share across all of your aspects
.content_creation{:style=>("display:none;" if aspect == :all)}
= form_for(StatusMessage.new, :remote => true) do |status|
%ul#photodropzone
= status.error_messages
@ -31,6 +43,7 @@
%p
%params
- unless aspect == :all
= status.label :message, t('.post_a_message_to', :aspect => (aspect == :all ? t('.all_contacts') : aspect))
= status.text_area :message, :rows => 2, :value => params[:prefill]

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

View file

@ -806,14 +806,15 @@ label
#publisher
:background
:color #eee
:color #999
:position relative
:min-height 53px
:margin
:bottom 10px
:top 0
:padding 12px
:top 0
:top 1px
:top 0
:border
@ -830,8 +831,6 @@ label
form
:position relative
:margin
:left 65px
:top 0
ul
@ -848,7 +847,7 @@ label
input[type='text'],
textarea
:width 400px
:width 460px
:margin 0
.options_and_submit
@ -873,6 +872,40 @@ label
#fileInfo
:display inline
.content_creation
:margin
:top 12px
#content_creation_button
:padding 10px
:left 5px
:top 15px
:bottom 5px
:position relative
:background
:color #eee
:margin
:bottom -12px
&:hover
:cursor pointer
h4
:margin
:left 40px
:font
:weight bold
:text-shadow 0 1px 0 #fff
#share_bubble
:height 40px
:width 40px
:display inline
:position absolute
:top 5px
#image_picker
:margin
:top 5px