From: Andy Allan Date: Mon, 20 Dec 2010 14:50:15 +0000 (+0000) Subject: Use a list for the main menu, rather than br-separated links X-Git-Tag: live~6287^2^2~29 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0aec1c5fa062feacf2ea7f6c8330ac7c7e2258bd Use a list for the main menu, rather than br-separated links --- diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 2eae3963a..01dd5aee5 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -130,14 +130,16 @@ <% end %>
- <%= t 'layouts.help_and_wiki', - :help => link_to(t('layouts.help'), t('layouts.help_url'), :title => t('layouts.help_title')), - :wiki => link_to(t('layouts.wiki'), t('layouts.wiki_url'), :title => t('layouts.wiki_title')) - %>
- <%= link_to t('layouts.copyright'), {:controller => 'site', :action => 'copyright'} %>
- <%= t 'layouts.news_blog' %>
- <%= t 'layouts.shop' %>
- <%= yield :left_menu %> +
<%= yield :optionals %> diff --git a/app/views/site/_key.html.erb b/app/views/site/_key.html.erb index e990071c8..6fc70ef46 100644 --- a/app/views/site/_key.html.erb +++ b/app/views/site/_key.html.erb @@ -29,5 +29,5 @@ <% content_for :left_menu do %> - <%= link_to_function t('site.key.map_key'), "openMapKey()", :title => t('site.key.map_key_tooltip') %> +
  • <%= link_to_function t('site.key.map_key'), "openMapKey()", :title => t('site.key.map_key_tooltip') %>
  • <% end %> diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index ceceda1c6..a04604c2e 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -146,8 +146,9 @@ hr { } .left_menu ul { - padding-left: 10px; + padding-left: 0px; margin: 0px; + list-style-type: none; } .left_menu li {