Commit ed12d98e authored by Ted Trask's avatar Ted Trask

Added tablesorter zebra widget

parent 48a82fb1
......@@ -17,7 +17,7 @@
<script type="text/javascript">
$(document).ready(function() {
<% if data.value.groupby.value == "clientip" then %>
$("#audit").tablesorter({headers: {0:{sorter:'ipAddress'}}});
$("#audit").tablesorter({headers: {0:{sorter:'ipAddress'}}, widgets: ['zebra']});
<% else %>
$("#audit").tablesorter();
<% end %>
......
......@@ -82,7 +82,7 @@ end
}
$(function(){
$("#loglist").tablesorter({headers: {0:{sorter: false}, 1:{sorter: 'text'}, 5:{sorter: false}, 6:{sorter: false}, 7:{sorter: false}}});
$("#loglist").tablesorter({headers: {0:{sorter: false}, 1:{sorter: 'text'}, 5:{sorter: false}, 6:{sorter: false}, 7:{sorter: false}}, widgets: ['zebra']});
$('#chkHead').click(clickhead);
$('.chktbl').click(clicktable);
<% if data.value.focus.value ~= "" then %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment