X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/681022443ea24c11d9aeedeb3e1ddc3789b8ffd5..bb9f20710e851eb4943bfb8e63386680e359834a:/app/views/site/export.html.erb?ds=sidebyside diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index 0cabc0c2d..6bf336535 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,57 +1,56 @@ -<% content_for :head do %> - <%= javascript_include_tag "index" %> -<% end %> - -<% content_for :sidebar do %> -

<%= t 'export.start_rjs.export' %>

- <%= form_tag :controller => "export", :action => "finish" do %> - <%= hidden_field_tag 'format', 'osm' %> - -
-
- <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %> -
- <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %> - <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %> -
- <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %> +<% set_title(t('export.title')) %> + +

+ + <%= t 'export.title' %> +

+ +<%= form_tag({:controller => "export", :action => "finish"}, :class => "export_form") do %> + <%= hidden_field_tag 'format', 'osm' %> + +
+
+ <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %> +
+ <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %> + <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %> +

+ <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
- <%= t'export.start.manually_select' %> -
+ <%= t'export.start.manually_select' %> +
-
-

<%= t'export.start.licence' %>

+

<%= t'export.start.licence' %>

+

<%= raw t 'export.start.export_details' %>

-
-

<%= raw t'export.start.export_details' %>

-
+
+

+ <%= t'export.start.too_large.body' %> +

+
-
-

<%= t'export.start.too_large.heading' %>

+
+
+ <%= submit_tag t('export.start.export_button') %> +
-
-

<%= t'export.start.too_large.body' %>

-
-
<%= t'export.start.too_large.planet.title' %>
-
<%= t'export.start.too_large.planet.description' %>
+

<%= t'export.start.too_large.advice' %>

+
-
<%= t'export.start.too_large.geofabrik.title' %>
-
<%= t'export.start.too_large.geofabrik.description' %>
+
+
<%= t'export.start.too_large.overpass.title' %>
+
<%= t'export.start.too_large.overpass.description' %>
+ +
<%= t'export.start.too_large.planet.title' %>
+
<%= t'export.start.too_large.planet.description' %>
-
<%= t'export.start.too_large.metro.title' %>
-
<%= t'export.start.too_large.metro.description' %>
+
<%= t'export.start.too_large.geofabrik.title' %>
+
<%= t'export.start.too_large.geofabrik.description' %>
-
<%= t'export.start.too_large.other.title' %>
-
<%= t'export.start.too_large.other.description' %>
-
-
-
-
+
<%= t'export.start.too_large.metro.title' %>
+
<%= t'export.start.too_large.metro.description' %>
-
- <%= submit_tag t('export.start.export_button'), :id => "export_commit" %> -
- <% end %> +
<%= t'export.start.too_large.other.title' %>
+
<%= t'export.start.too_large.other.description' %>
+ <% end %> - -<%= render :template => 'layouts/map' %>