commit a23dc86a9b4d0403370475da3098ae7d63bd7e0d
parent 35b859841a43fb31c9f36682d866eb0963ad5a78
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 27 Dec 2011 17:11:57 +0100
zebra
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/static/style.css b/static/style.css
@@ -25,7 +25,7 @@ table.tablesorter tbody td {
vertical-align: top;
}
table.tablesorter tbody tr.odd td {
- background-color:#ddd;
+ background-color:#f8f8f8;
}
table.tablesorter thead tr .headerSortUp {
background-image: url(asc.gif);
diff --git a/templates/page.html b/templates/page.html
@@ -10,7 +10,8 @@
<script type="text/javascript" src="static/jquery.tablesorter.js"></script>
<script type="text/javascript" id="js">$(document).ready(function() {
$("#results").tablesorter({
- sortList: [[2,1],[3,1],[4,1],[0,0]]
+ sortList: [[2,1],[3,1],[4,1],[0,0]],
+ widgets: ['zebra']
});
}); </script>
</head>