1 <% form_tag :action => "finish" do %>
3 <p class="export_heading"><%= t'export.start.area_to_export' %></p>
5 <div class="export_bounds">
6 <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
8 <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
9 <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
11 <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
12 <p class="export_hint">
13 <a id='drag_box' href="#" onclick="return startBox();"><%= t'export.start.manually_select' %></a>
17 <p class="export_heading"><%= t'export.start.format_to_export' %></p>
19 <div class="export_details">
21 <%= radio_button_tag("format", "osm") %> <%= t'export.start.osm_xml_data' %>
23 <%= radio_button_tag("format", "mapnik") %> <%= t'export.start.mapnik_image' %>
25 <%= radio_button_tag("format", "osmarender") %> <%= t'export.start.osmarender_image' %>
27 <%= radio_button_tag("format", "html") %> <%= t'export.start.embeddable_html' %>
32 <p class="export_heading"><%= t'export.start.licence' %></p>
34 <div class="export_details">
35 <p><%= t'export.start.export_details' %></p>
38 <div id="export_osm_too_large">
39 <p class="export_heading"><%= t'export.start.too_large.heading' %></p>
41 <div class="export_details">
42 <p><%= t'export.start.too_large.body' %></p>
47 <div id="export_mapnik">
48 <p class="export_heading"><%= t'export.start.options' %></p>
50 <div class="export_details">
51 <p><%= t'export.start.format' %> <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %></p>
52 <p><%= t'export.start.scale' %> 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> <span class="export_hint">(<%= t'export.start.max' %> 1 : <span id="mapnik_max_scale"></span>)</span></p>
53 <p><%= t'export.start.image_size' %> <span id="mapnik_image_width"></span> x <span id="mapnik_image_height"></span></p>
57 <div id="export_osmarender">
58 <p class="export_heading"><%= t'export.start.options' %></p>
60 <div class="export_details">
61 <p><%= t'export.start.format' %> <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %></p>
62 <p><%= 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])) %></p>
66 <div id="export_html">
67 <p class="export_heading"><%= t'export.start.options' %></p>
69 <div class="export_details">
70 <p><a id="add_marker" href="#"><%= t'export.start.add_marker' %></a></p>
71 <p id="marker_inputs" style="display:none">
72 <%= t'export.start.latitude' %> <input type="text" id="marker_lat" size="9" />
73 <%= t'export.start.longitude' %> <input type="text" id="marker_lon" size="9" />
77 <p class="export_heading"><%= t'export.start.output' %></p>
79 <div class="export_details">
80 <p><input type="text" id="export_html_text" style="width:95%" /></p>
81 <p><%= t'export.start.paste_html' %></p>
85 <div class="export_buttons">
86 <p><%= submit_tag t('export.start.export_button'), :id => "export_commit" %></p>