summaryrefslogtreecommitdiffstats
path: root/templates/devel/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/devel/index.html')
-rw-r--r--templates/devel/index.html13
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 02dd369..0a2167e 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -189,11 +189,18 @@
</div><!-- #dash-by-maintainer -->
{% load cdn %}{% jquery %}
+<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
+$(document).ready(function() {
+ $("#dash-todo").tablesorter({sortList: [[1,1]]});
+ $("#dash-myflagged").tablesorter({sortList: [[0,0]]});
+ $("#dash-mytodolist").tablesorter({sortList: [[0,0], [1,0]]});
+ $("#stats-by-arch").tablesorter({sortList: [[0,0]]});
+ $("#stats-by-repo").tablesorter({sortList: [[0,0]]});
+ $("#stats-by-maintainer").tablesorter({sortList: [[0,0]]});
$("h3.dash-stats").click(
- function(e) {
- $(this).next().toggle();
- }
+ function(e) { $(this).next().toggle(); }
);
+});
</script>
{% endblock %}