diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-27 09:33:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-27 09:33:16 -0500 |
commit | 181573a74ad9149718f90f688dc1475b59cb8d73 (patch) | |
tree | ef9e3400a29ac0118702b6eb1490dfbcc7bfa357 /templates/devel | |
parent | e247e0dd8c1cd6e27be4ec12de9038cc492faf0a (diff) |
Restore odd/even markup after JS sort
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r-- | templates/devel/index.html | 12 | ||||
-rw-r--r-- | templates/devel/mirrorlist.html | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index 0a2167e6..eb950ef4 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -192,12 +192,12 @@ <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]]}); + $("#dash-todo").tablesorter({widgets: ['zebra'], sortList: [[1,1]]}); + $("#dash-myflagged").tablesorter({widgets: ['zebra'], sortList: [[0,0]]}); + $("#dash-mytodolist").tablesorter({widgets: ['zebra'], sortList: [[0,0], [1,0]]}); + $("#stats-by-arch").tablesorter({widgets: ['zebra'], sortList: [[0,0]]}); + $("#stats-by-repo").tablesorter({widgets: ['zebra'], sortList: [[0,0]]}); + $("#stats-by-maintainer").tablesorter({widgets: ['zebra'], sortList: [[0,0]]}); $("h3.dash-stats").click( function(e) { $(this).next().toggle(); } ); diff --git a/templates/devel/mirrorlist.html b/templates/devel/mirrorlist.html index b9ad8f48..9ae65639 100644 --- a/templates/devel/mirrorlist.html +++ b/templates/devel/mirrorlist.html @@ -43,7 +43,7 @@ <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]]}); + $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [2,0]]}); }); </script> {% endblock %} |