From e5d298040dc12579c88dedd73153ced715f3c6c6 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Fri, 23 Jul 2010 21:11:21 -0700 Subject: [PATCH] little things --- app/helpers/dashboards_helper.rb | 4 ++-- app/views/layouts/application.html.haml | 8 +++++--- public/stylesheets/application.css | 8 +++++--- public/stylesheets/sass/application.sass | 8 +++++--- 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/app/helpers/dashboards_helper.rb b/app/helpers/dashboards_helper.rb index aab2aa7a6..457e9d522 100644 --- a/app/helpers/dashboards_helper.rb +++ b/app/helpers/dashboards_helper.rb @@ -2,9 +2,9 @@ module DashboardsHelper def title_for_page if params[:action] =='ostatus' - 'OStatus Dashboard' + 'OStatus home' else - 'Dashboard' + 'home' end end end diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 67a1646b4..50f8f6ee4 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -40,6 +40,8 @@ - else = link_to "login", new_user_session_path .container + = link_to "home", root_path + | = link_to "photos", albums_path | = link_to "ostatus", ostatus_path @@ -48,14 +50,14 @@ .container .span-24.last - .span-3.append-1.last + .span-3.append-2.last = link_to person_image_tag(User.owner), root_path = link_to "Edit your profile", edit_user_path(current_user) %br %br = render 'people/sidebar' if user_signed_in? - - .span-18.last + .span-19.last = yield + .span-24.last = render "posts/debug" diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index ce04e18f8..21ad80d48 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -64,7 +64,7 @@ a { header { position: relative; margin: -2em; - margin-bottom: 2em; + margin-bottom: 1em; color: #555555; background-color: #2b2726; border-bottom: 1px solid #444444; @@ -80,7 +80,7 @@ header { color: white; text-shadow: 0 2px 0 black; } header #diaspora_text a { - color: white; } + color: #666666; } header #diaspora_text span.sub_text { color: black; text-shadow: none; } @@ -156,6 +156,7 @@ form { margin-left: 0em; } #user_name { + display: inline; margin-bottom: 1em; } #user_name a { color: black; } @@ -197,7 +198,8 @@ img.person_picture { display: inline block; } li.message > img.person_picture, -li.comment > img.person_picture { +li.comment > img.person_picture, +#session_action > img.person_picture { height: 30px; display: absolute; float: left; diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index fb4fc6139..9fa68bb69 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -68,7 +68,7 @@ a header :position relative :margin -2em - :bottom 2em + :bottom 1em :color #555 :background :color #2B2726 @@ -89,7 +89,7 @@ header :text :shadow 0 2px 0 #000 a - :color #fff + :color #666 span.sub_text :color #000 @@ -182,6 +182,7 @@ form #user_name + :display inline :margin :bottom 1em a @@ -234,7 +235,8 @@ img.person_picture :display inline block li.message > img.person_picture, -li.comment > img.person_picture +li.comment > img.person_picture, +#session_action > img.person_picture :height 30px :display absolute :float left