2022-07-02 06:48:04 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
<title>{{SITE_NAME}}</title>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% if thing %}
|
|
|
|
|
2022-10-29 00:38:39 +00:00
|
|
|
<h3 class="mt-2">{{thing.body_html | safe}} - {{ups | length}} {% if thing.exclusive == 2 %}bets{% else %}votes{% endif %}</h3>
|
2022-07-02 06:48:04 +00:00
|
|
|
<div class="overflow-x-auto mt-5">
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
2022-09-13 17:35:33 +00:00
|
|
|
<th>#</th>
|
2022-07-02 06:48:04 +00:00
|
|
|
<th>User</th>
|
2022-09-03 03:04:51 +00:00
|
|
|
<th onclick="sort_table(1)">User Truescore</th>
|
|
|
|
<th onclick="sort_table(2)">Vote Time</th>
|
2022-07-02 06:48:04 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
{% for vote in ups %}
|
|
|
|
<tr>
|
2022-09-13 17:35:33 +00:00
|
|
|
<td>{{loop.index}}</td>
|
2022-07-02 06:48:04 +00:00
|
|
|
<td>
|
2022-09-05 03:01:06 +00:00
|
|
|
{% with user=vote.user %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
2022-07-02 06:48:04 +00:00
|
|
|
</td>
|
2022-09-10 06:43:38 +00:00
|
|
|
<td>{{"{:,}".format(vote.user.truecoins)}}</td>
|
2022-07-03 07:41:25 +00:00
|
|
|
<td data-time="{{vote.created_utc}}"></td>
|
2022-07-02 06:48:04 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2022-09-24 07:04:06 +00:00
|
|
|
<script defer src="{{'js/sort_table.js' | asset}}"></script>
|
2022-07-09 08:35:47 +00:00
|
|
|
|
2022-07-02 06:48:04 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2022-10-29 00:38:39 +00:00
|
|
|
{% endblock %}
|