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

This commit is contained in:
Raphael 2010-09-15 10:59:00 -07:00
commit d9eb3abd9d
7 changed files with 27 additions and 32 deletions

View file

@ -3,17 +3,17 @@
-# the COPYRIGHT file. -# the COPYRIGHT file.
%h1.big_text - content_for :publish do
.back %h1
= link_to "⇧ home", root_path Search
Search
%p
=form_tag '/people', :method => "get" do =form_tag '/people', :method => "get" do
= text_field_tag :q = text_field_tag :q
= submit_tag "search" = submit_tag "search"
- content_for :left_pane do
\.
= (@people.count).to_s + search_or_index = (@people.count).to_s + search_or_index
%table %table
%tr %tr

View file

@ -16,8 +16,10 @@
= link_to(how_long_ago(post), object_path(post)) = link_to(how_long_ago(post), object_path(post))
\-- \--
= link_to "show comments (#{post.comments.count})", '#', :class => "show_post_comments" = link_to "show comments (#{post.comments.count})", '#', :class => "show_post_comments"
= render "comments/comments", :post => post = render "comments/comments", :post => post
- if current_user.owns?(post) - if current_user.owns?(post)
.destroy_link .destroy_link
= link_to 'Delete', status_message_path(post), :confirm => 'Are you sure?', :method => :delete, :remote => true, :class => "delete" = link_to 'Delete', status_message_path(post), :confirm => 'Are you sure?', :method => :delete, :remote => true, :class => "delete"

View file

@ -3,15 +3,14 @@
-# the COPYRIGHT file. -# the COPYRIGHT file.
%h1.big_text - content_for :publish do
.back %h1
= link_to "⇧ home", root_path Editing profile
Editing your profile - content_for :left_pane do
\.
= form_for @user do |f| = form_for @user do |f|
= f.error_messages = f.error_messages
= f.fields_for :profile do |p| = f.fields_for :profile do |p|

View file

@ -156,14 +156,15 @@ li.message {
margin-right: 15px; } margin-right: 15px; }
li.message .delete:hover { li.message .delete:hover {
background: #eeeeee; } background: #eeeeee; }
li.message .content span.from { li.message .content {
color: black; padding-left: 65px; }
font-weight: normal; li.message .content span.from {
margin-right: 0.2em; color: black;
font-size: 110%; } font-weight: normal;
li.message .content div.info { font-size: 110%; }
color: #bababa; li.message .content div.info {
font-size: 70%; } color: #bababa;
font-size: 70%; }
form { form {
position: relative; position: relative;
@ -205,10 +206,6 @@ form {
height: 30px; height: 30px;
margin-right: 10px; } margin-right: 10px; }
#stream ul.comment_set {
padding: 0;
padding-left: 65px; }
input.comment_submit { input.comment_submit {
display: none; display: none;
margin-right: -10px; } margin-right: -10px; }

View file

@ -216,12 +216,13 @@ li.message
:background #eee :background #eee
.content .content
:padding
:left 65px
span.from span.from
:color #000 :color #000
:font :font
:weight normal :weight normal
:margin
:right 0.2em
:font :font
:size 110% :size 110%
@ -283,10 +284,6 @@ form
:margin :margin
:right 10px :right 10px
#stream ul.comment_set
:padding 0
:left 65px
input.comment_submit input.comment_submit
:display none :display none
:margin :margin

View file

@ -40,7 +40,7 @@ body
:background #fff :background #fff
:margin :margin
:left 2em :left 100px
/* via blueprint */ /* via blueprint */
input[type=text], input[type=text],

View file

@ -16,7 +16,7 @@ body {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color: #222222; color: #222222;
background: white; background: white;
margin-left: 2em; } margin-left: 100px; }
/* via blueprint */ /* via blueprint */
input[type=text], input[type=text],