summaryrefslogtreecommitdiff
path: root/templates/displayheaders/_top_nav.html.ep
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-03-10 13:54:57 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-03-10 13:54:57 +0100
commitfcf5549584b69e62b6c2f0eb919f6799c7904211 (patch)
treee5f0e480af0f39f1c0f457ea0aca8d33f8fb4d0b /templates/displayheaders/_top_nav.html.ep
parentdf59f9dec32d7f8f08706fd3eb5b784deaa0abfc (diff)
Proper recursive rendering of mails to html
1. Added raw mode to model 2. Added raw route 3. Moved readmail view parts to RenderMail plugin 4. Renamed displayheaders partial templates
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>