From: Aaron Lidman Date: Tue, 19 Nov 2013 03:11:01 +0000 (-0800) Subject: Improved export filter tool X-Git-Tag: live~4661^2~41 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/fc2351557096588c3763b21544996f7d9c3dae53 Improved export filter tool --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 7d3c9e1a1..a7591ba21 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1127,10 +1127,28 @@ header .search_form { margin-bottom: $lineheight/2; input[type="text"] { width: 80px; + text-align: center; margin-bottom: 5px; } } + .export_boxy { + background: #eee; + border: 1px solid #ccc; + border-radius: 3px; + + #maxlat { margin-top: -1px; } + #minlon { + float: left; + margin-left: -1px; + } + #maxlon { + float: right; + margin-right: -1px; + } + #minlat { margin-bottom: 0; } + } + .export_bound { margin: $lineheight/4; } diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index a1b905a71..4ac5ec4d9 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -9,13 +9,14 @@ <%= 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") %> -
+
+ <%= 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") %> +
<%= t'export.start.manually_select' %>