]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/export.html.erb
Use secondary body color for export inputs background
[rails.git] / app / views / site / export.html.erb
index b3a3bd0e9596ece4dc5ff3336d340ddf255b1662..9b9499e6586f4f117a7bc760a49741f3c0640bdf 100644 (file)
@@ -6,11 +6,11 @@
   <%= hidden_field_tag "format", "osm", :autocomplete => "off" %>
 
   <div class='export_area_inputs'>
-    <div class='export_boxy border border-grey rounded'>
+    <div class='export_boxy border border-secondary-subtle rounded bg-body-secondary'>
       <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %>
       <div class="clearfix">
-        <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control") %>
-        <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control") %>
+        <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control my-2") %>
+        <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control my-2") %>
       </div>
       <%= text_field_tag("minlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %>
       </div>
@@ -18,7 +18,7 @@
   </div>
 
   <h4><%= t ".licence" %></h4>
-  <p><%= t ".export_details_html" %></p>
+  <p><%= t ".licence_details_html", :odbl_link => link_to(t(".odbl"), t(".odbl_url")) %></p>
 
   <div id="export_osm_too_large">
     <p class="alert alert-warning">
@@ -27,7 +27,7 @@
   </div>
 
   <div id="export_commit">
-    <div class="form-group d-flex">
+    <div class="mb-3 d-flex">
       <%= submit_tag t(".export_button"), :class => "btn btn-primary mx-auto" %>
     </div>
   </div>