]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/export.html.erb
Update title on pushState, closes #33
[rails.git] / app / views / site / export.html.erb
index 978244db485c6a4679b7b4c00347a62c8878c963..168f7d4396a8799d24994dbadc04bf74eef5d872 100644 (file)
@@ -1,4 +1,8 @@
-<h2><%= t 'export.start_rjs.export' %></h2>
+<% set_title(t('export.title')) %>
+<h2>
+  <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+  <%= t 'export.start_rjs.export' %>
+</h2>
 
 <%= form_tag :controller => "export", :action => "finish" do %>
   <%= hidden_field_tag 'format', 'osm' %>
   </div>
 
   <div id="export_osm">
-    <h4><strong><%= t'export.start.licence' %></strong><br>
-    <%= raw t'export.start.export_details' %></h4>
+    <h4><span class="small-title"><%= t'export.start.licence' %></span><%= raw t'export.start.export_details' %></h4>
 
-    <div  id="export_osm_too_large">
+    <div id="export_osm_too_large">
       <div class="export_details">
-        <h4><strong class="red"><%= t'export.start.too_large.heading' %></strong><br>
-        <%= t'export.start.too_large.body' %></p>
-        <dl>
+        <h4><span class="small-title red"><%= t'export.start.too_large.heading' %></span><%= t'export.start.too_large.body' %></h4>
+        <dl class="inner12">
           <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>
 
@@ -40,7 +42,7 @@
     </div>
   </div>
 
-  <div class="inner12">
+  <div class="export_button inner12">
     <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
   </div>
 <% end %>