Sortable table view

This commit is contained in:
2012-07-10 22:42:45 +01:00
parent f32b62cbe0
commit b36c2b1be8

View File

@@ -10,7 +10,7 @@
<p>More than one user was found matching your criteria:</p>
<table>
<table id="userlist">
<thead>
<tr><th>User</th><th>Primary Character</th><th>Corp</th><th>Alliance</th></tr>
<thead>
@@ -21,4 +21,9 @@
</tbody>
</table>
<script src="{{ STATIC_URL }}js/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$("table#userlist").tablesorter({ sortList: [[0,0]] });
</script>
{% endblock %}