-<%= form_tag :action => "finish" do %>
+<%= form_tag :controller => "export", :action => "finish" do %>
+ <%= hidden_field_tag 'format', 'osm' %>
- <p class="export_heading"><%= t'export.start.area_to_export' %></p>
-
- <div class="export_bounds">
- <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
- <br/>
- <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
- <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
- <br/>
- <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
- <p class="export_hint">
- <a id="drag_box" href="#"><%= t'export.start.manually_select' %></a>
- </p>
- </div>
-
- <p class="export_heading"><%= t'export.start.format_to_export' %></p>
-
- <div class="export_details">
- <p>
- <%= radio_button_tag("format", "osm") %> <%= t'export.start.osm_xml_data' %>
+ <div class="export_bounds inner12">
+ <div class='export_area_inputs'>
+ <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
<br/>
- <%= radio_button_tag("format", "mapnik") %> <%= t'export.start.map_image' %>
+ <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
+ <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
<br/>
- <%= radio_button_tag("format", "html") %> <%= t'export.start.embeddable_html' %>
- </p>
+ <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
+ </div>
+ <a id="drag_box" class='export_hint button' href="#"><%= t'export.start.manually_select' %></a>
</div>
<div id="export_osm">
- <p class="export_heading"><%= t'export.start.licence' %></p>
+ <h4><%= t'export.start.licence' %></h4>
- <div class="export_details">
+ <div class="export_details inner12">
<p><%= raw t'export.start.export_details' %></p>
</div>
<div id="export_osm_too_large">
- <p class="export_heading"><%= t'export.start.too_large.heading' %></p>
+ <h4><%= t'export.start.too_large.heading' %></h4>
- <div class="export_details">
+ <div class="export_details inner12">
<p><%= t'export.start.too_large.body' %></p>
- </div>
- </div>
- </div>
+ <dl>
+ <dt><a href="http://planet.openstreetmap.org/"><%= t'export.start.too_large.planet.title' %></a></dt>
+ <dd><%= t'export.start.too_large.planet.description' %></dd>
- <div id="export_mapnik">
- <p class="export_heading"><%= t'export.start.options' %></p>
+ <dt><a href="http://download.geofabrik.de/"><%= t'export.start.too_large.geofabrik.title' %></a></dt>
+ <dd><%= t'export.start.too_large.geofabrik.description' %></dd>
- <div class="export_details">
- <p><%= t'export.start.format' %> <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"]], "png")) %></p>
- <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>
- <p><%= t'export.start.image_size' %> <span id="mapnik_image_width"></span> x <span id="mapnik_image_height"></span></p>
- </div>
- </div>
-
- <div id="export_html">
- <p class="export_heading"><%= t'export.start.options' %></p>
-
- <div class="export_details">
- <p><a id="add_marker" href="#"><%= t'export.start.add_marker' %></a></p>
- <p id="marker_inputs" style="display:none">
- <%= t'export.start.latitude' %> <input type="text" id="marker_lat" size="9" />
- <%= t'export.start.longitude' %> <input type="text" id="marker_lon" size="9" />
- </p>
- </div>
-
- <p class="export_heading"><%= t'export.start.output' %></p>
+ <dt><a href="http://metro.teczno.com/"><%= t'export.start.too_large.metro.title' %></a></dt>
+ <dd><%= t'export.start.too_large.metro.description' %></dd>
- <div class="export_details">
- <p><input type="text" id="export_html_text" style="width:95%" /></p>
- <p><%= t'export.start.paste_html' %></p>
+ <dt><a href="http://wiki.openstreetmap.org/wiki/Download"><%= t'export.start.too_large.other.title' %></a></dt>
+ <dd><%= t'export.start.too_large.other.description' %></dd>
+ </dl>
+ </div>
</div>
</div>
- <div class="export_buttons">
- <p><%= submit_tag t('export.start.export_button'), :id => "export_commit" %></p>
+ <div class="inner12">
+ <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
</div>
-
<% end %>