[DRE-commits] r5356 - in trunk/gemwatch: public views

Antonio Terceiro terceiro-guest at alioth.debian.org
Sun May 16 17:43:47 UTC 2010


Author: terceiro-guest
Date: 2010-05-16 17:43:47 +0000 (Sun, 16 May 2010)
New Revision: 5356

Modified:
   trunk/gemwatch/public/style.css
   trunk/gemwatch/views/layout.haml
Log:
making the logo a link to the homepage



Modified: trunk/gemwatch/public/style.css
===================================================================
--- trunk/gemwatch/public/style.css	2010-05-16 17:36:32 UTC (rev 5355)
+++ trunk/gemwatch/public/style.css	2010-05-16 17:43:47 UTC (rev 5356)
@@ -11,6 +11,10 @@
   height: 100px;
 }
 
+.header img {
+  border: none;
+}
+
 .content {
   background: white;
   padding: 0px 1em 1em 1em;

Modified: trunk/gemwatch/views/layout.haml
===================================================================
--- trunk/gemwatch/views/layout.haml	2010-05-16 17:36:32 UTC (rev 5355)
+++ trunk/gemwatch/views/layout.haml	2010-05-16 17:43:47 UTC (rev 5356)
@@ -6,7 +6,8 @@
   %body{:class => @body_class}
     %div.wrap
       %div.header
-        %img{ :src => asset_url("/gemwatch.png") }
+        %a{:href => app_url('/') }
+          %img{ :src => asset_url("/gemwatch.png") }
       %div.content
         =yield
     %script{:src => "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", :type => "text/javascript", :charset => "utf-8"}




More information about the Pkg-ruby-extras-commits mailing list