summaryrefslogtreecommitdiff
path: root/templates/displayheaders/_top_nav.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/displayheaders/_top_nav.html.ep')
-rw-r--r--templates/displayheaders/_top_nav.html.ep35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/displayheaders/_top_nav.html.ep b/templates/displayheaders/_top_nav.html.ep
new file mode 100644
index 0000000..fd6bae6
--- /dev/null
+++ b/templates/displayheaders/_top_nav.html.ep
@@ -0,0 +1,35 @@
+<div class="pure-g">
+
+ <div class="pure-u-1 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 class="pure-menu-item">
+ %= link_to ucfirst(l 'compose') => 'write'
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ <div class="pure-u-1 pure-u-md-1-4">
+ %= form_for '' => (class => 'pure-form') => begin
+ %= label_for search => ucfirst(l 'search')
+ %= search_field search => (size => 8)
+ % end
+ </div>
+
+ <div class="pure-u-1-1 pure-u-md-1-2">
+ %= include 'displayheaders/_pagination2';
+ </div>
+
+ <!-- delete button
+ <td>
+ %# <form action="<%= url_for('delete_msg') %>" name=Formdel onsubmit="return confirm('<%= TXT q(js_confirm_delete) %>')" > </form>
+ </td>
+ -->
+
+</div>