X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a9b00e16e70707e398d475352d68ed9da86dec3b..ea3760f94d9d74d3aaa8492182b9e1a15ec1effa:/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 2eb23f755..d277f344e 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,27 +1,24 @@ <% set_title(t(".title")) %> -

- - <%= t ".title" %> -

+<%= render "sidebar_header", :title => t(".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") %> + <%= hidden_field_tag "format", "osm", :autocomplete => "off" %> + +
+
+ <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center mx-auto") %> +
+ <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center my-2") %> + <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center my-2") %> +
+ <%= text_field_tag("minlat", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center mx-auto") %>
<%= t ".manually_select" %>

<%= t ".licence" %>

-

<%= t ".export_details_html" %>

+

<%= t ".licence_details_html", :odbl_link => link_to(t(".odbl"), t(".odbl_url")) %>

@@ -30,14 +27,14 @@

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

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

-
+

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

+ +
<%= t ".too_large.overpass.title" %>
<%= t ".too_large.overpass.description" %>