summaryrefslogtreecommitdiff
path: root/templates/packages/differences.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-27 09:20:14 -0500
committerDan McGee <dan@archlinux.org>2010-08-27 09:20:14 -0500
commite247e0dd8c1cd6e27be4ec12de9038cc492faf0a (patch)
treeee876a6ac0d7723e52647368e42c07c9d3a7fe9f /templates/packages/differences.html
parentecdd4ad6dae62594acefb4e8650e405871775479 (diff)
Add table sorting to a handful of pages
Anything that it makes sense to add it to gets the treatment here. Anything with pagination can wait as that will be tougher. We also need to deal with odd/even formatting. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/differences.html')
-rw-r--r--templates/packages/differences.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html
index bc749016..337dcd73 100644
--- a/templates/packages/differences.html
+++ b/templates/packages/differences.html
@@ -33,5 +33,12 @@
</tbody>
</table>
</div>
+{% load cdn %}{% jquery %}
+<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
+<script type="text/javascript">
+$(document).ready(function() {
+ $(".results").tablesorter({sortList: [[1,0], [0,0]]});
+});
+</script>
{% endif %}
{% endblock %}