2022-07-02 06:48:04 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
<title>{{SITE_NAME}}</title>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% if thing %}
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
|
|
|
|
</pre>
|
|
|
|
|
2022-08-26 21:53:17 +00:00
|
|
|
<h3>{{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>
|
|
|
|
<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>
|
|
|
|
<td>
|
2022-08-27 02:57:19 +00:00
|
|
|
<a style="color:#{{vote.user.name_color}};font-weight:bold" href="/@{{vote.user.username}}">
|
2022-07-02 06:48:04 +00:00
|
|
|
<img loading="lazy" src="{{vote.user.profile_url}}" class="pp20">
|
2022-08-28 16:12:35 +00:00
|
|
|
<span {% if vote.user.patron %}class="patron" style="background-color:#{{vote.user.name_color}}"{% endif %} data-user-id="{{vote.user.id}}">
|
2022-07-02 06:48:04 +00:00
|
|
|
{{vote.user.username}}
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>{{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-03 18:24:26 +00:00
|
|
|
<script src="{{asset('js/sort_table.js')}}"></script>
|
2022-07-09 08:35:47 +00:00
|
|
|
|
2022-07-02 06:48:04 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|