]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_start.rhtml
Disable the data browswer when the database is not available.
[rails.git] / app / views / browse / _start.rhtml
index 10316c3833b565c3b0543c0922090f684508ee24..2e120c100e7024bef6392458eb3e675e2727c4a6 100644 (file)
@@ -1,25 +1,13 @@
-<div style="padding:10px;">
-  <div class="export_bounds">
-    <span class="bounds_span" id="maxlat"></span> 
-    <br/>
-    <span class="bounds_span" style="padding:10px" id="minlon"></span> 
-    <span class="bounds_span" style="padding:10px" id="maxlon"></span> 
-    <br/>
-    <span class="bounds_span" id="minlat"></span> 
-    <p class="export_hint">
-      <a id="use_map" href="#">View Data For Current Map View</a>
+<div>
+  <div style="text-align: center">
+    <p style="margin-top: 10px; margin-bottom: 20px">
+      <a id="browse_select_view" href="#">View data for current map view</a>
       <br />
       <br />
-      <a id='drag_box' href="#">Manually select a different area</a>  
+      <a id="browse_select_box" href="#">Manually select a different area</a>  
     </p>
   </div>
     </p>
   </div>
-
-<div id="status"></div>
-<div id="object">
-<h3>Recent Changes</h3>
-<ul>
-<% @nodes.each do |node| %>
-<li><%= node.id %> @ <a href="#" onclick="setMapCenter(new OpenLayers.LonLat(<%= node.lon.to_s %>, <%= node.lat.to_s %>), 16); return false;"><%= node.lat.to_s %>,<%= node.lon.to_s %></a></li>
-<% end %>
-</ul>
-</div>
+  <div id="browse_status" style="text-align: center; display: none">
+  </div>
+  <div id="browse_content">
+  </div>
 </div>
 </div>