|
@ -11,12 +11,12 @@ |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
<select name="orderBy"> |
|
|
<select name="orderBy"> |
|
|
{% for orderBy in orderByValues %} |
|
|
{% for orderBy in orderByValues %} |
|
|
<option value="{{ orderBy.value }}">{{ orderBy.name }}</option> |
|
|
<option value="{{ orderBy.value }}" {{ 'selected' if req.query.orderBy == orderBy.value }}>{{ orderBy.name }}</option> |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</select> |
|
|
</select> |
|
|
<select name="order"> |
|
|
<select name="order"> |
|
|
<option value="asc">Ascending</option> |
|
|
<option value="asc" {{ 'selected' if req.query.order == 'asc' }}>Ascending</option> |
|
|
<option value="desc">Descending</option> |
|
|
<option value="desc" {{ 'selected' if req.query.order == 'desc' }}>Descending</option> |
|
|
</select> |
|
|
</select> |
|
|
<input type="submit" /> |
|
|
<input type="submit" /> |
|
|
{% if nodes.length %} |
|
|
{% if nodes.length %} |
|
|