blob: 4e5bcb9238170004d9c5d40e41978c77543162df (
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
|
<div class="columns">
<form class=column>
<div class=field>
<div class=control>
<input type=search name=search size=8 class=input value="{{ request.args.search }}"
placeholder="{{ gettext('Search') }}" />
</div>
</div>
{% if request.args.per_page %}
<input type=hidden name=per_page value="{{ request.args.per_page }}"/>
{% endif %}
{% if request.args.sort %}
<input type=hidden name=sort value="{{ request.args.sort }}"/>
{% endif %}
</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>
{% if request.args.per_page %}
<input type=hidden name=per_page value="{{ request.args.per_page }}"/>
{% endif %}
{% if request.args.search %}
<input type=hidden name=search value="{{ request.args.search }}"/>
{% endif %}
</form>
<div class=column>
{% include '_nav.html' %}
</div>
</div>
|