X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b2a82f501dd50603b2d87661c48924e440453fa9..4bcc88161c881bca9d7193f43acdc13ae9c4efa7:/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 6a2131e90..e612ff1af 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,47 +1,50 @@ -

- - <%= 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") %> -
- <%= t'export.start.manually_select' %> -
+<% set_title(t(".title")) %> -
-

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

+<%= render "sidebar_header", :title => t(".title") %> -
-
-

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

-
-
<%= t'export.start.too_large.planet.title' %>
-
<%= t'export.start.too_large.planet.description' %>
+<%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form" }) do %> + <%= hidden_field_tag "format", "osm", :autocomplete => "off" %> -
<%= t'export.start.too_large.geofabrik.title' %>
-
<%= t'export.start.too_large.geofabrik.description' %>
+
+
+ <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %> +
+ <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control") %> + <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control") %> +
+ <%= text_field_tag("minlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %> +
+ <%= t ".manually_select" %> +
-
<%= t'export.start.too_large.metro.title' %>
-
<%= t'export.start.too_large.metro.description' %>
+

<%= t ".licence" %>

+

<%= t ".export_details_html" %>

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

+ <%= t ".too_large.body" %> +

-
- <%= submit_tag t('export.start.export_button'), :id => "export_commit" %> +
+
+ <%= submit_tag t(".export_button"), :class => "btn btn-primary mx-auto" %> +
+ +

<%= t ".too_large.advice" %>

+ +
+
<%= t ".too_large.overpass.title" %>
+
<%= t ".too_large.overpass.description" %>
+ +
<%= t ".too_large.planet.title" %>
+
<%= t ".too_large.planet.description" %>
+ +
<%= t ".too_large.geofabrik.title" %>
+
<%= t ".too_large.geofabrik.description" %>
+ +
<%= t ".too_large.other.title" %>
+
<%= t ".too_large.other.description" %>
+
<% end %>