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 | |
parent | e247e0dd8c1cd6e27be4ec12de9038cc492faf0a (diff) |
Restore odd/even markup after JS sort
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/devel/index.html | 12 | ||||
-rw-r--r-- | templates/devel/mirrorlist.html | 2 | ||||
-rw-r--r-- | templates/packages/differences.html | 2 | ||||
-rw-r--r-- | templates/packages/signoffs.html | 2 | ||||
-rw-r--r-- | templates/todolists/list.html | 2 |
5 files changed, 10 insertions, 10 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 %} diff --git a/templates/packages/differences.html b/templates/packages/differences.html index 337dcd73..3805285b 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -37,7 +37,7 @@ <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]]}); + $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [0,0]]}); }); </script> {% endif %} diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index dd7a8a75..8d78c8a1 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -51,7 +51,7 @@ <script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script> <script type="text/javascript"> $(document).ready(function() { - $(".results").tablesorter({sortList: [[1,0]]}); + $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0]]}); }); </script> {% endif %} diff --git a/templates/todolists/list.html b/templates/todolists/list.html index bbd39f34..9d278aa5 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -41,7 +41,7 @@ <script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script> <script type="text/javascript"> $(document).ready(function() { - $(".results").tablesorter({sortList: [[1,1]]}); + $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,1]]}); }); </script> {% endblock %} |