]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/export/_start.rhtml
add support for HTML export to export tabk
[rails.git] / app / views / export / _start.rhtml
index 4da7544960d38573d3eead6a287abc770a335dc6..83d747e8d71cc164db5ce53a230d23e96389a756 100644 (file)
@@ -23,6 +23,8 @@
       <%= radio_button_tag("format", "mapnik") %>Mapnik Image
       <br/>
       <%= radio_button_tag("format", "osmarender") %>Osmarender Image
       <%= radio_button_tag("format", "mapnik") %>Mapnik Image
       <br/>
       <%= radio_button_tag("format", "osmarender") %>Osmarender Image
+      <br/>
+      <%= radio_button_tag("format", "html") %>Embeddable HTML
     </p>
   </div>
 
     </p>
   </div>
 
       <p>Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %></p>
     </div>
   </div>
       <p>Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %></p>
     </div>
   </div>
+  
+  <div id="export_html">
+    <p class="export_heading">Options</p>
+     <p>
+      <%= check_box_tag("html_marker", "true") %> Include Marker on Map
+     </p>
+    <p class="export_heading">Output</p>
+    <div class="export_details">
+      <p>
+      <input type="text" id="export_html_text" style="width:95%" />
+      </p>
+      <p>
+      Paste HTML to embed in website
+      </p>
+    </div>
+  </div>
 
   <div class="export_buttons">
     <p><%= submit_tag "Export", :id => "export_commit" %></p>
 
   <div class="export_buttons">
     <p><%= submit_tag "Export", :id => "export_commit" %></p>