diff options
author | August Lilleaas <augustlilleaas@gmail.com> | 2009-06-12 09:22:20 +0200 |
---|---|---|
committer | August Lilleaas <augustlilleaas@gmail.com> | 2009-06-12 10:50:17 +0200 |
commit | 86ff70a4e3cb14df0d4d3c9eb2194b6ee03e666c (patch) | |
tree | df3859c6872a9cd824df6bc2c938c78948fa476f | |
parent | fada002238f27c1b27d033fc2ec649dd055955e3 (diff) | |
download | gitorious-mainline-outdated-86ff70a4e3cb14df0d4d3c9eb2194b6ee03e666c.zip gitorious-mainline-outdated-86ff70a4e3cb14df0d4d3c9eb2194b6ee03e666c.tar.gz gitorious-mainline-outdated-86ff70a4e3cb14df0d4d3c9eb2194b6ee03e666c.tar.bz2 |
Adding "see all" links to the projects and teams columns on the home page.
-rw-r--r-- | app/views/layouts/second_generation/application.html.erb | 10 | ||||
-rw-r--r-- | public/stylesheets/screen.css | 15 |
2 files changed, 22 insertions, 3 deletions
diff --git a/app/views/layouts/second_generation/application.html.erb b/app/views/layouts/second_generation/application.html.erb index 969a196..57e779d 100644 --- a/app/views/layouts/second_generation/application.html.erb +++ b/app/views/layouts/second_generation/application.html.erb @@ -62,12 +62,18 @@ <div id="main"> <div class="marginizer"> <div class="homepage_listing" id="homepage_listed_left_column"> - <h2 class="image_header"><span>Most Active Projects</span></h2> + <h2 class="image_header"> + <span>Most Active Projects</span> + <%= link_to "See all »", projects_path, :class => "see_all" %> + </h2> <%= list(@projects, :class => "simple") {|p| project_summary_box(p) } %> </div> <div class="homepage_listing" id="homepage_listed_middle_column"> - <h2 class="image_header"><span>Most Active Teams</span></h2> + <h2 class="image_header"> + <span>Most Active Teams</span> + <%= link_to "See all »", groups_path, :class => "see_all" %> + </h2> <%= list(@teams, :class => "simple") {|t| team_summary_box(t) } %> </div> diff --git a/public/stylesheets/screen.css b/public/stylesheets/screen.css index 942d461..a09aef5 100644 --- a/public/stylesheets/screen.css +++ b/public/stylesheets/screen.css @@ -345,7 +345,8 @@ Homepage lists } .homepage_listing h2{ - width:250px; + width:300px; + background-repeat:no-repeat; height:60px; margin:0; } @@ -368,6 +369,18 @@ Homepage lists background-position:left top; } +.homepage_listing .see_all{ + float:right; + font-size:11px; + color:#999; + font-weight:bold; + margin-top:48px; +} + +.homepage_listing .see_all:hover{ + color:#000; + text-decoration:none; +} .homepage_listing .summary_box{ background-image:url(../images/border_pixel_h.gif); |