diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-03 18:22:43 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-03 18:22:43 +0200 |
commit | a6e6f8be88a93699765f25aee0e6109a3eb0b307 (patch) | |
tree | c4ba131bdf3af616ff70072876d384924bf408ce /templates/headers/_display_top_nav.html.ep | |
parent | ebe37a68d39dbc1cc4f6af1c05301d5a5fc29c13 (diff) |
reworked templates based on purecss
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> |