Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
82d0e193e7
5 changed files with 98 additions and 52 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
.span-24.last
|
.span-24.last
|
||||||
%h2{:style => "position:relative;"}
|
%h2{:style => "position:relative;"}
|
||||||
= t('_home')
|
= current_user.real_name
|
||||||
.right
|
.right
|
||||||
%span.description
|
%span.description
|
||||||
= current_user.diaspora_handle
|
= current_user.diaspora_handle
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
- content_for :head do
|
- content_for :head do
|
||||||
:javascript
|
:javascript
|
||||||
|
$(document).ready(function(){
|
||||||
$("div.public_toggle input").live("click", function(evt){
|
$("div.public_toggle input").live("click", function(evt){
|
||||||
if($(this).attr('checked') == true){
|
if($(this).attr('checked') == true){
|
||||||
$(".question_mark").click();
|
$(".question_mark").click();
|
||||||
|
|
@ -20,9 +21,20 @@
|
||||||
$("#publisher .options_and_submit").hide();
|
$("#publisher .options_and_submit").hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
#publisher
|
$("#content_creation_button").bind("click", function(evt){
|
||||||
= owner_image_link
|
$("#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|
|
= form_for(StatusMessage.new, :remote => true) do |status|
|
||||||
%ul#photodropzone
|
%ul#photodropzone
|
||||||
= status.error_messages
|
= status.error_messages
|
||||||
|
|
@ -31,6 +43,7 @@
|
||||||
|
|
||||||
%p
|
%p
|
||||||
%params
|
%params
|
||||||
|
- unless aspect == :all
|
||||||
= status.label :message, t('.post_a_message_to', :aspect => (aspect == :all ? t('.all_contacts') : aspect))
|
= status.label :message, t('.post_a_message_to', :aspect => (aspect == :all ? t('.all_contacts') : aspect))
|
||||||
= status.text_area :message, :rows => 2, :value => params[:prefill]
|
= status.text_area :message, :rows => 2, :value => params[:prefill]
|
||||||
|
|
||||||
|
|
@ -62,6 +75,6 @@
|
||||||
#question_mark_pane
|
#question_mark_pane
|
||||||
= render 'shared/public_explain'
|
= render 'shared/public_explain'
|
||||||
|
|
||||||
#publisher_photo_upload
|
#publisher_photo_upload
|
||||||
= render 'photos/new_photo', :aspect_id => (aspect == :all ? aspect : aspect.id)
|
= render 'photos/new_photo', :aspect_id => (aspect == :all ? aspect : aspect.id)
|
||||||
|
|
||||||
|
|
|
||||||
BIN
public/images/icons/monotone_chat_talk.png
Normal file
BIN
public/images/icons/monotone_chat_talk.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 542 B |
BIN
public/images/icons/monotone_pen_write.png
Normal file
BIN
public/images/icons/monotone_pen_write.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 719 B |
|
|
@ -806,14 +806,15 @@ label
|
||||||
|
|
||||||
|
|
||||||
#publisher
|
#publisher
|
||||||
|
:background
|
||||||
|
:color #eee
|
||||||
:color #999
|
:color #999
|
||||||
:position relative
|
:position relative
|
||||||
:min-height 53px
|
|
||||||
:margin
|
:margin
|
||||||
:bottom 10px
|
:bottom 10px
|
||||||
:top 0
|
:top 0
|
||||||
:padding 12px
|
:padding 12px
|
||||||
:top 0
|
:top 1px
|
||||||
:top 0
|
:top 0
|
||||||
|
|
||||||
:border
|
:border
|
||||||
|
|
@ -830,8 +831,6 @@ label
|
||||||
|
|
||||||
form
|
form
|
||||||
:position relative
|
:position relative
|
||||||
:margin
|
|
||||||
:left 65px
|
|
||||||
:top 0
|
:top 0
|
||||||
|
|
||||||
ul
|
ul
|
||||||
|
|
@ -848,7 +847,7 @@ label
|
||||||
|
|
||||||
input[type='text'],
|
input[type='text'],
|
||||||
textarea
|
textarea
|
||||||
:width 400px
|
:width 460px
|
||||||
:margin 0
|
:margin 0
|
||||||
|
|
||||||
.options_and_submit
|
.options_and_submit
|
||||||
|
|
@ -873,6 +872,40 @@ label
|
||||||
|
|
||||||
#fileInfo
|
#fileInfo
|
||||||
:display inline
|
: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
|
#image_picker
|
||||||
:margin
|
:margin
|
||||||
:top 5px
|
:top 5px
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue