]> git.openstreetmap.org Git - rails.git/commitdiff
very minor ui niggles
authorChristopher Schmidt <crschmidt@crschmidt.net>
Wed, 23 Apr 2008 04:28:42 +0000 (04:28 +0000)
committerChristopher Schmidt <crschmidt@crschmidt.net>
Wed, 23 Apr 2008 04:28:42 +0000 (04:28 +0000)
app/views/browse/_start.rhtml
app/views/browse/start.rjs

index 302082de13a9aad0dc71285ab147c8ccd39a9570..8b894fcb8c004a37c44c412b552f99abbc5176e6 100644 (file)
@@ -1,6 +1,6 @@
-<div style="padding:0px 10px;">
+<div style="padding:0px 10px; width:100%">
     <div style="text-align: center">
     <div style="text-align: center">
-    <p>
+    <p style="margin-top: 10px">
       <a id="use_map" display="hidden" href="#">View Data For Current Map View</a>
       <br />
       <a id='drag_box' href="#">Manually select a different area</a>  
       <a id="use_map" display="hidden" href="#">View Data For Current Map View</a>
       <br />
       <a id='drag_box' href="#">Manually select a different area</a>  
index 11f9edfd45a56071fb725685e1e93dcc47649147..84a03ce1c0a2a42e8a4d6a8b043d543ed7e41e98 100644 (file)
@@ -74,7 +74,6 @@ page << <<EOJ
             currentBounds = tileBounds;
             getData(tileBounds);
             mode = "auto";
             currentBounds = tileBounds;
             getData(tileBounds);
             mode = "auto";
-            $("drag_box").style.display="inline";
             $("use_map").style.display="none";
         }
         return false;
             $("use_map").style.display="none";
         }
         return false;
@@ -88,7 +87,6 @@ page << <<EOJ
         $("drag_box").innerHTML = "Manually select a different area";
         mode = "manual";  
         $("use_map").style.display="inline";
         $("drag_box").innerHTML = "Manually select a different area";
         mode = "manual";  
         $("use_map").style.display="inline";
-        $("drag_box").style.display="none";
     }
     
     function displayFeatureWarning() {
     }
     
     function displayFeatureWarning() {