diff options
Diffstat (limited to 'templates/headers/_display_top_nav.html.ep')
-rw-r--r-- | templates/headers/_display_top_nav.html.ep | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/templates/headers/_display_top_nav.html.ep b/templates/headers/_display_top_nav.html.ep index 2b882af..6279f5f 100644 --- a/templates/headers/_display_top_nav.html.ep +++ b/templates/headers/_display_top_nav.html.ep @@ -1,34 +1,35 @@ -<table width=100%> - <tr> +<div class="pure-g"> - <td> - <ul class=line> - %# <a href="<%= url_with($prefsurl) %>"><%= TXT 'userconfig' %></a> - %# <a href="<%=$prefsurl%>?action=editaddresses&folder=<%=$folder%>&sessionid=<%=$thissession%>&sort=<%=$sort%>&firstmessage=<%=$firstmessage+1%>&lang=<%=$lang%>" ><%= TXT 'addressbook' %></a> - <li> + <div class="pure-u-1-2 pure-u-md-1-4"> + <div class="pure-menu pure-menu-horizontal"> + <ul class="pure-menu-list"> + %# <a href="<%= url_with($prefsurl) %>"><%= TXT 'userconfig' %></a> + %# <a href="<%=$prefsurl%>?action=editaddresses&folder=<%=$folder%>&sessionid=<%=$thissession%>&sort=<%=$sort%>&firstmessage=<%=$firstmessage+1%>&lang=<%=$lang%>" ><%= TXT 'addressbook' %></a> + <li class="pure-menu-item"> %= link_to ucfirst(l 'logout') => 'logout' </li> - <li> + <li class="pure-menu-item"> %= link_to ucfirst(l 'compose') => 'write' </li> </ul> - </td> + </div> + </div> - <td> - %= form_for '' => begin - %= label_for search => ucfirst(l 'search') . ': ' - %= search_field search => (size => 8) - % end - </td> + <div class="pure-u-1-2 pure-u-md-1-4"> + %= form_for '' => (class => 'pure-form') => begin + %= label_for search => ucfirst(l 'search') + %= search_field search => (size => 8) + % end + </div> - <td id=pag2> - %= include '_pagination2'; - </td> + <div class="pure-u-1-1 pure-u-md-1-2"> + %= include 'headers/_pagination2'; + </div> - <td> - <!-- delete button --> - %# <form action="<%= url_for('delete_msg') %>" name=Formdel onsubmit="return confirm('<%= TXT q(js_confirm_delete) %>')" > </form> - </td> + <!-- delete button + <td> + %# <form action="<%= url_for('delete_msg') %>" name=Formdel onsubmit="return confirm('<%= TXT q(js_confirm_delete) %>')" > </form> + </td> + --> - </tr> -</table> +</div> |