summaryrefslogtreecommitdiff
path: root/templates/headers/_display_top_nav.html.ep
blob: ca5001bf18ba8e48949673100712b0957e691eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 'headers/_pagination2';
  </div>

  <!-- delete button
  <td>
    %# <form action="<%= url_for('delete_msg') %>" name=Formdel onsubmit="return confirm('<%= TXT q(js_confirm_delete) %>')" > </form>
  </td>
  -->

</div>