]> git.openstreetmap.org Git - rails.git/blob - app/views/site/export.html.erb
Remove unused code for handling search results in Potlatch
[rails.git] / app / views / site / export.html.erb
1 <% set_title(t('export.title')) %>
2
3 <h2>
4   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
5   <%= t 'export.title' %>
6 </h2>
7
8 <%= form_tag({:controller => "export", :action => "finish"}, :class => "export_form") do %>
9   <%= hidden_field_tag 'format', 'osm' %>
10
11   <div class='export_area_inputs'>
12     <div class='export_boxy' style="border: 1px solid #ccc;">
13       <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
14       <br/>
15       <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
16       <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
17       <br/><br/>
18       <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
19       </div>
20     <a id='drag_box' href="#"><%= t'export.start.manually_select' %></a>
21   </div>
22
23   <h4><%= t'export.start.licence' %></h4>
24   <p><%= raw t 'export.start.export_details' %></p>
25
26   <div id="export_osm_too_large">
27     <p class="warning">
28       <%= t'export.start.too_large.body' %>
29     </p>
30     <dl class="inner12">
31       <dt><a href="http://planet.openstreetmap.org/"><%= t'export.start.too_large.planet.title' %></a></dt>
32       <dd><%= t'export.start.too_large.planet.description' %></dd>
33
34       <dt><a href="http://download.geofabrik.de/"><%= t'export.start.too_large.geofabrik.title' %></a></dt>
35       <dd><%= t'export.start.too_large.geofabrik.description' %></dd>
36
37       <dt><a href="http://metro.teczno.com/"><%= t'export.start.too_large.metro.title' %></a></dt>
38       <dd><%= t'export.start.too_large.metro.description' %></dd>
39
40       <dt><a href="http://wiki.openstreetmap.org/wiki/Download"><%= t'export.start.too_large.other.title' %></a></dt>
41       <dd><%= t'export.start.too_large.other.description' %></dd>
42     </dl>
43   </div>
44
45   <div class="export_button">
46     <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
47   </div>
48 <% end %>