X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/599c48227a94339f7e58bddc3fb0d0215baa58c4..7a9b2de42b8e969c162917e3e69877815a6eab75:/app/views/export/_start.rhtml?ds=sidebyside diff --git a/app/views/export/_start.rhtml b/app/views/export/_start.rhtml index 11fc61809..9e3d64783 100644 --- a/app/views/export/_start.rhtml +++ b/app/views/export/_start.rhtml @@ -1,6 +1,6 @@ <% form_tag :action => "finish" do %> -

Area to Export

+

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

<%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %> @@ -10,234 +10,70 @@
<%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>

- Drag a box with control held down to select an area to export + <%= t'export.start.manually_select' %>

-

Format to Export

+

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

- <%= radio_button_tag("format", "osm") %>OpenStreetMap XML Data + <%= radio_button_tag("format", "osm") %> <%= t'export.start.osm_xml_data' %>
- <%= radio_button_tag("format", "mapnik") %>Mapnik Image + <%= radio_button_tag("format", "mapnik") %> <%= t'export.start.mapnik_image' %>
- <%= radio_button_tag("format", "osmarender") %>Osmarender Image + <%= radio_button_tag("format", "osmarender") %> <%= t'export.start.osmarender_image' %> +
+ <%= radio_button_tag("format", "html") %> <%= t'export.start.embeddable_html' %>

-

Licence

+

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

-

OSM license agreement blah blah blah...

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

+
-

Options

+

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

-

Format <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %>

-

Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (max 1 : )

+

<%= t'export.start.format' %> <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %>

+

<%= t'export.start.scale' %> 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (<%= t'export.start.max' %> 1 : )

+

<%= t'export.start.image_size' %> x

-

Options

+

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

+ +
+

<%= t'export.start.format' %> <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %>

+

<%= t'export.start.zoom' %> <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %>

+
+
+ +
+

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

+
+

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

+ +
+

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

-

Format <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %>

-

Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %>

+

+

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

-

<%= submit_tag "Export", :id => "export_commit" %>

+

<%= submit_tag t('export.start.export_button'), :id => "export_commit" %>

<% end %> - -