Improved export filter tool
This commit is contained in:
parent
c0b0829901
commit
fc23515570
2 changed files with 26 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -9,13 +9,14 @@
|
|||
<%= hidden_field_tag 'format', 'osm' %>
|
||||
|
||||
<div class='export_area_inputs'>
|
||||
<%= 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") %>
|
||||
<br/>
|
||||
<div class='export_boxy' style="border: 1px solid #ccc;">
|
||||
<%= 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'export.start.manually_select' %></a>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue