diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-27 16:33:16 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-27 16:33:16 +0200 |
commit | 181573a74ad9149718f90f688dc1475b59cb8d73 (patch) | |
tree | ef9e3400a29ac0118702b6eb1490dfbcc7bfa357 /templates/devel | |
parent | e247e0dd8c1cd6e27be4ec12de9038cc492faf0a (diff) | |
download | archweb-181573a74ad9149718f90f688dc1475b59cb8d73.tar.gz archweb-181573a74ad9149718f90f688dc1475b59cb8d73.tar.xz |
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 0a2167e..eb950ef 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 b9ad8f4..9ae6563 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 %} |