karma: remove the rank from the index table
it's kind of redundant anyway, since we include the score
This commit is contained in:
parent
26f0604922
commit
46ffe7a72d
@ -15,14 +15,12 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Key</th>
|
<th>Key</th>
|
||||||
<th>Score</th>
|
<th>Score</th>
|
||||||
<th>Rank</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Key</th>
|
<th>Key</th>
|
||||||
<th>Score</th>
|
<th>Score</th>
|
||||||
<th>Rank</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -30,7 +28,6 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href="{% url 'karma_key_detail' entry.key %}">{{ entry.key }}</a></td>
|
<td><a href="{% url 'karma_key_detail' entry.key %}">{{ entry.key }}</a></td>
|
||||||
<td>{{ entry.score }}</td>
|
<td>{{ entry.score }}</td>
|
||||||
<td>{{ entry.rank }}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -39,8 +36,8 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#karma').DataTable( {
|
$('#karma').DataTable( {
|
||||||
"order": [[ 2, "asc" ]],
|
"order": [[ 1, "desc" ]],
|
||||||
"lengthMenu": [[50, 100, -1], [50, 100, "All"]]
|
"lengthMenu": [[25, 50, -1], [25, 50, "All"]]
|
||||||
} );
|
} );
|
||||||
} );
|
} );
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user