From: Shaun McDonald Date: Fri, 16 May 2008 09:44:50 +0000 (+0000) Subject: Showing a nice message for browsers with javascript disabled. closes #36 X-Git-Tag: live~7794 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1f59ad76eff4b63c149d406868527372191e268f Showing a nice message for browsers with javascript disabled. closes #36 --- diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 895885360..f924f7a14 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -8,6 +8,10 @@ <%= render :partial => 'key' %> <%= render :partial => 'search' %> + +
diff --git a/public/stylesheets/site.css b/public/stylesheets/site.css index 2ede490ef..c6b566215 100644 --- a/public/stylesheets/site.css +++ b/public/stylesheets/site.css @@ -639,3 +639,10 @@ input[type="submit"] { width: 100%; text-align: center; } + +#noscript { + z-index:20000000; + position:absolute; + top:15px; + left:15px +}