summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_top_nav.html
blob: bc4afa5d2260e1f7740d91909261a573136be8ef (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
36
37
38
39
40
41
42
43
44
45
46
47
48
<div class="columns">

  <nav class="column">
    <a href="{{ url_for('logout') }}" class="button">{% trans %}Logout{% endtrans %}</a>
    <a href="{{ url_for('write') }}" class="button">{% trans %}Write{% endtrans %}</a>
  </nav>

  <form class=column>
    <div class="field is-horizontal">
      <div class="field-label is-normal">
        <label for=search class=label>{% trans %}Search{% endtrans %}</label>
      </div>
      <div class=field-body>
        <div class=field>
          <div class=control>
            <input type=search id=search size=8 class=input />
          </div>
        </div>
      </div>
    </div>
  </form>

  <form class=column>
    <div class="field is-horizontal">
      <div class="field-label is-normal">
        <label for=sort class=label>{% trans %}Sort{% endtrans %}</label>
      </div>
      <div class=field-body>
        <div class=field>
          <div class="select" id=sort-select>
            <select name=sort id=sort>
              <option value="!date">{% trans %}Date{% endtrans %} - {% trans %}Descending{% endtrans %}</option>
              <option value="date">{% trans %}Date{% endtrans %} - {% trans %}Ascending{% endtrans %}</option>
              <option value="!size">{{ gettext('Size') }} - {{ gettext('Descending') }}</option>
              <option value="!sender">{{ gettext('Sender') }} - {{ gettext('Descending') }}</option>
              <option value="sender">{{ gettext('Sender') }} - {{ gettext('Ascending') }}</option>
            </select>
          </div>
        </div>
      </div>
    </div>
  </form>

  <div class=column>
    {{ pgn.links }}
  </div>

</div>