summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_top_nav.html
blob: 960ae86acfcadda89d5c008773350403bdbf63e3 (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
<div class="columns">

  <form class=column>
    <div class=field>
      <div class=control>
        <input type=search id=search size=8 class=input placeholder="{{ gettext('Search') }}" />
      </div>
    </div>
  </form>

  <form class=column>
    <div class="field">
      <div class=control>
        <label for=sort class="label">
          {% trans %}Sort{% endtrans %}
          <div class="select ml-2" id=sort-select>
            <select name=sort id=sort>
              <option value="!date">{{ gettext('Date') }} - {{ gettext('Descending') }}</option>
              <option value="date">{{ gettext('Date') }} - {{ gettext('Ascending') }}</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>
        </label>
      </div>
    </div>
  </form>

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

</div>