|
1
|
<div id="sort-dialog-form" title="Porządek sortowania">
|
|
2
3
4
5
|
<ul id='sort-rule-list'>
{% for rule in sort_rules %}
<li id="{{ rule.code_name }}" class="ui-state-default">
<span class="sort-column">{{ rule.ui_name }}</span>
|
|
6
|
<span class="sort-dir">
|
|
7
8
9
|
<select id="order-{{ rule.code_name }}">
<option value="asc">Rosnąco</option>
<option value="desc">Malejąco</option>
|
|
10
11
|
</select>
</span>
|
|
12
13
|
{% if rule.code_name == "entry" %}
<span class="sort-a-tergo">
|
|
14
15
|
<input type="checkbox" id="entries_a_tergo"/> a tergo
</span>
|
|
16
17
18
19
20
21
22
|
{% endif %}
</li>
{% endfor %}
</ul>
<input type="button" id="save-sort-order" value="Zatwierdź"/>
<input type="button" id="cancel-sort-order" value="Anuluj"/>
|
|
23
|
</div>
|