forked from rDrama/rDrama
add ability to sort votes table by truescoer
parent
f415b469de
commit
c53b8dae81
|
@ -8,6 +8,9 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
{% if thing %}
|
{% if thing %}
|
||||||
|
|
||||||
|
<script src="/assets/js/sort_table.js?v=242"></script>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
|
@ -23,7 +26,7 @@
|
||||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||||
<thead class="bg-primary text-white"><tr>
|
<thead class="bg-primary text-white"><tr>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th>User truescore</th>
|
<th role="button" onclick="sort_table(1)">User truescore</th>
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
|
|
||||||
{% for vote in ups %}
|
{% for vote in ups %}
|
||||||
|
|
Loading…
Reference in New Issue