This ensures that the text and the close icon don't overlap, regardless of the length of the title. The title div grows to use all available space, while ensuring the text breaks if necessary to prevent it from pushing the close icon offscreen.
50 lines
1.8 KiB
Text
50 lines
1.8 KiB
Text
<% set_title(t(".title")) %>
|
|
|
|
<%= render "sidebar_header", :title => t(".title") %>
|
|
|
|
<%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form standard-form" }) do %>
|
|
<%= hidden_field_tag "format", "osm" %>
|
|
|
|
<div class='export_area_inputs'>
|
|
<div class='export_boxy'>
|
|
<%= 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 /><br />
|
|
<%= text_field_tag("minlat", nil, :size => 10, :class => "export_bound") %>
|
|
</div>
|
|
<a id='drag_box' href="#"><%= t ".manually_select" %></a>
|
|
</div>
|
|
|
|
<h4><%= t ".licence" %></h4>
|
|
<p><%= t ".export_details_html" %></p>
|
|
|
|
<div id="export_osm_too_large">
|
|
<p class="alert alert-warning">
|
|
<%= t ".too_large.body" %>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="export_commit">
|
|
<div class="export_button">
|
|
<%= submit_tag t(".export_button") %>
|
|
</div>
|
|
|
|
<p><%= t ".too_large.advice" %></p>
|
|
</div>
|
|
|
|
<dl class="inner12">
|
|
<dt><a id="export_overpass" href="https://overpass-api.de/api/map?bbox="><%= t ".too_large.overpass.title" %></a></dt>
|
|
<dd><%= t ".too_large.overpass.description" %></dd>
|
|
|
|
<dt><a href="https://planet.openstreetmap.org/"><%= t ".too_large.planet.title" %></a></dt>
|
|
<dd><%= t ".too_large.planet.description" %></dd>
|
|
|
|
<dt><a href="https://download.geofabrik.de/"><%= t ".too_large.geofabrik.title" %></a></dt>
|
|
<dd><%= t ".too_large.geofabrik.description" %></dd>
|
|
|
|
<dt><a href="https://wiki.openstreetmap.org/wiki/Download"><%= t ".too_large.other.title" %></a></dt>
|
|
<dd><%= t ".too_large.other.description" %></dd>
|
|
</dl>
|
|
<% end %>
|