Modificando os esquemas de cores e alguns detalhes na interface

This commit is contained in:
2008-03-06 19:54:06 -03:00
parent c206a678bd
commit 304a41f610
9 changed files with 77 additions and 50 deletions

View File

@@ -54,6 +54,10 @@ module ApplicationHelper
return {:class => 'highlight'} if (flash[:highlight] == name)
end
def spinner(name)
return image_tag "loading.gif", :id => "spinner_#{name}", :style => "display:none"
end
def gravatar_url_for(email, size=80)
"http://www.gravatar.com/avatar.php?gravatar_id=#{Digest::MD5.hexdigest(email)}&size=#{size}&default=#{App.default_avatar}"
end