karma: remove the rank from the index table

it's kind of redundant anyway, since we include the score
This commit is contained in:
Brian S. Stephan 2016-05-13 22:30:59 -05:00
parent 26f0604922
commit 46ffe7a72d
1 changed files with 2 additions and 5 deletions

View File

@ -15,14 +15,12 @@
<tr>
<th>Key</th>
<th>Score</th>
<th>Rank</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Key</th>
<th>Score</th>
<th>Rank</th>
</tr>
</tfoot>
<tbody>
@ -30,7 +28,6 @@
<tr>
<td><a href="{% url 'karma_key_detail' entry.key %}">{{ entry.key }}</a></td>
<td>{{ entry.score }}</td>
<td>{{ entry.rank }}</td>
</tr>
{% endfor %}
</tbody>
@ -39,8 +36,8 @@
<script type="text/javascript">
$(document).ready(function() {
$('#karma').DataTable( {
"order": [[ 2, "asc" ]],
"lengthMenu": [[50, 100, -1], [50, 100, "All"]]
"order": [[ 1, "desc" ]],
"lengthMenu": [[25, 50, -1], [25, 50, "All"]]
} );
} );
</script>