From: Steve Coast Date: Sat, 26 Aug 2006 16:55:17 +0000 (+0000) Subject: slippy map alpha X-Git-Tag: live~9575 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a42dc9f4826da27b21fa1f66ea6318110afaa0b2 slippy map alpha --- diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index eebb23301..d01b86bba 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -1,2 +1,5 @@ class SiteController < ApplicationController + def index + + end end diff --git a/app/views/layouts/user.rhtml b/app/views/layouts/site.rhtml similarity index 99% rename from app/views/layouts/user.rhtml rename to app/views/layouts/site.rhtml index cee649145..0ff110ced 100644 --- a/app/views/layouts/user.rhtml +++ b/app/views/layouts/site.rhtml @@ -19,8 +19,6 @@ - - <%= link_to 'Login', {:controller => 'user', :action => 'login'}, {:id => 'loginanchor'}%> / <%= link_to 'Sign up', {:controller => 'user', :action => 'new'}, {:id => 'registeranchor'} %> @@ -34,8 +32,6 @@ - -
- - - - + + diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml new file mode 100644 index 000000000..e08565a21 --- /dev/null +++ b/app/views/site/index.rhtml @@ -0,0 +1,23 @@ +
+
+ + +
+
+ +
+
+ zoom out + zoom in +
+
+ +
+ + diff --git a/public/images/map_zoomin.png b/public/images/map_zoomin.png new file mode 100644 index 000000000..1ac4864d4 Binary files /dev/null and b/public/images/map_zoomin.png differ diff --git a/public/images/map_zoomout.png b/public/images/map_zoomout.png new file mode 100644 index 000000000..d67a87de5 Binary files /dev/null and b/public/images/map_zoomout.png differ