]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_start.rhtml
Tidy up map browse code and qualify various global names to avoid
[rails.git] / app / views / browse / _start.rhtml
index 10316c3833b565c3b0543c0922090f684508ee24..00e1411b98fcec71687b55b9a1275303cb0b9033 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 style="padding: 0px 10px">
+  <div style="text-align: center">
+    <p style="margin-top: 10px">
+      <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">
+  </div>
+  <div id="browse_object_list">
+  </div>
 </div>
 </div>