]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
groundwork for responsive menu
[rails.git] / app / views / layouts / _header.html.erb
index c08b61b574f4b9cd06063e67058166a0572fd5ff..b4dc5db6a74f64ffa31d1c2cfc21c07fd276a5d3 100644 (file)
@@ -5,11 +5,13 @@
       <%= t 'layouts.project_name.h1' %>
     </a>
   </h1>
+  <a href="#" id="menu-icon">menu</a>
   <nav class='primary'>
     <ul>
       <li id="view_tab" class="<%= current_page_class(root_path) %>">
         <%= link_to t('layouts.view'), root_path, :class => 'tab geolink layers' %>
-      </li><li id="edit_tab" class="dropdown <%= current_page_class(edit_path) %>">
+      </li>
+      <li id="edit_tab" class="mobile-hide dropdown <%= current_page_class(edit_path) %>">
       <%= link_to t('layouts.edit'), edit_path, :class => "tab geolink object",
                   :id => 'editanchor',
                   :data => { :editor => preferred_editor }