home · contact · privacy
Add basic sorting features to Condition, Process table views.
[plomtask] / templates / processes.html
index 5cd00b5c279b0f14b25cb258549a05596230422b..977ac405ac89c57fd66d65bf8dd71d7c78cbfb67 100644 (file)
@@ -5,8 +5,8 @@
 
 <table>
 <tr>
-<th>steps</th>
-<th>title</th>
+<th><a href="?sort_by={% if sort_by == "steps" %}-{% endif %}steps">steps</a></th>
+<th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
 </tr>
 {% for process in processes %}
 <tr>