From: Christopher Schmidt Date: Tue, 22 Apr 2008 12:48:26 +0000 (+0000) Subject: change layout: now a link, no longer a tab X-Git-Tag: live~7743^2~24 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/25fa17d6129adbbbd7bcd8533d24889b25fbf240 change layout: now a link, no longer a tab --- diff --git a/app/views/browse/_start.rhtml b/app/views/browse/_start.rhtml index 10316c383..eff1f415b 100644 --- a/app/views/browse/_start.rhtml +++ b/app/views/browse/_start.rhtml @@ -15,11 +15,5 @@
-

Recent Changes

-
diff --git a/app/views/browse/start.rjs b/app/views/browse/start.rjs index 2f23c1b1a..2c48c70ff 100644 --- a/app/views/browse/start.rjs +++ b/app/views/browse/start.rjs @@ -22,6 +22,11 @@ page << <= 16) { + useMap(); + } else { + $("status").innerHTML = "Zoom in or Select an area of the map to view."; + } } function stopBrowse() { @@ -49,7 +54,6 @@ page << <API)"; @@ -257,17 +262,6 @@ page << <
  • <%= link_to 'GPS Traces', {:controller => 'trace', :action => 'list'}, {:id => 'traceanchor', :title => 'manage traces', :class => traceclass} %>
  • <%= link_to 'User Diaries', {:controller => 'diary_entry', :action => 'list'}, {:id => 'diaryanchor', :title => 'view user diaries', :class => diaryclass} %>
  • -
  • <%= link_to_remote 'Browse', {:url => {:controller => 'browse', :action => 'start'}}, {:href => url_for( {:controller => 'browse', :action => 'index'}), :id => 'browseanchor', :title => 'browse data', :class => browseclass} %>
  • diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 94b24debf..fa31d848b 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -9,6 +9,7 @@ <%= render :partial => 'search' %>
    +
    diff --git a/public/stylesheets/site.css b/public/stylesheets/site.css index c7f1b0085..4e4a70343 100644 --- a/public/stylesheets/site.css +++ b/public/stylesheets/site.css @@ -1,4 +1,4 @@ -a { +a m color: #0000ff; text-decoration: none; } @@ -569,6 +569,13 @@ input[type="text"] { font-weight: normal; } +#datalink { + z-index:10000; + position:absolute; + bottom:30px; + right:15px; + font-size:smaller; +} #permalink { z-index:10000; position:absolute;