minor visual tweaks

This commit is contained in:
Daniel Vincent Grippi 2010-09-13 20:51:27 -07:00
parent 0782e0b199
commit b49eaa1ceb
2 changed files with 23 additions and 26 deletions

View file

@ -32,18 +32,19 @@
= image_tag(request.person.profile.image_url(:thumb_small)) unless request.person.profile.image_url.nil? = image_tag(request.person.profile.image_url(:thumb_small)) unless request.person.profile.image_url.nil?
.name .name
= request.person.real_name = request.person.real_name
%h1 %h1
Ignore/Remove Ignore/Remove
%li.remove %li.remove
%ul %ul
%ul#aspect_list - content_for :publish do
.new_aspect= link_to("add a new aspect", "#add_aspect_pane", :id => "add_aspect_button", :title => "Add a new relation") .new_aspect= link_to("add a new aspect", "#add_aspect_pane", :id => "add_aspect_button", :title => "Add a new relation")
- for aspect in @aspects
%ul#aspect_list
- for aspect in @aspects
%li.aspect %li.aspect
%h1{:contenteditable => true}= aspect.name %h1{:contenteditable => true}= aspect.name

View file

@ -23,10 +23,6 @@
%li{:id => aspect.id, :class => ("selected" if current_aspect?(aspect))} %li{:id => aspect.id, :class => ("selected" if current_aspect?(aspect))}
= link_for_aspect aspect = link_for_aspect aspect
%li.new_aspect= link_to("+", "#add_aspect_pane", :id => "add_aspect_button", :title => "Add a new aspect")
#aspect_manage_button
%ul{ :style => "position:absolute;right:0;bottom:0;"} %ul{ :style => "position:absolute;right:0;bottom:0;"}
%li{:class => ("selected" if @aspect == :all)} %li{:class => ("selected" if @aspect == :all)}
= link_to "All Aspects", root_url = link_to "All Aspects", root_url