summaryrefslogtreecommitdiff
path: root/templates/devel
diff options
context:
space:
mode:
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/index.html13
-rw-r--r--templates/devel/mirrorlist.html8
2 files changed, 17 insertions, 4 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 02dd369c..0a2167e6 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 %}
diff --git a/templates/devel/mirrorlist.html b/templates/devel/mirrorlist.html
index 5084ccac..b9ad8f48 100644
--- a/templates/devel/mirrorlist.html
+++ b/templates/devel/mirrorlist.html
@@ -38,6 +38,12 @@
{% endfor %}
</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], [2,0]]});
+});
+</script>
{% endblock %}