2022-05-04 23:09:46 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
<title>{{SITE_NAME}}</title>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% if thing %}
|
2022-06-25 15:44:02 +00:00
|
|
|
|
2022-06-27 02:47:49 +00:00
|
|
|
<script src="/assets/js/sort_table.js?v=243"></script>
|
2022-06-25 15:44:02 +00:00
|
|
|
|
2022-05-04 23:09:46 +00:00
|
|
|
<pre>
|
|
|
|
|
|
|
|
</pre>
|
|
|
|
<h1>Info</h1>
|
|
|
|
<p><a href="{{thing.permalink}}">{{thing.permalink}}</a></p>
|
|
|
|
<p><b>Author:</b> <a href="{{thing.author.url}}">@{{thing.author.username}}</a></p>
|
|
|
|
<p><b>Author Created At:</b> {{thing.author.created_datetime}}</p>
|
|
|
|
<p><b>Author Truescore:</b> {{thing.author.truecoins}}</p>
|
|
|
|
<p><b>Upvotes: </b>{{ups | length}}</p>
|
|
|
|
<p><b>Downvotes: </b>{{downs | length}}</p>
|
|
|
|
|
2022-06-30 23:39:09 +00:00
|
|
|
{% if v.admin_level %}
|
|
|
|
<p><b>Total Truescore: </b>{{total_ups}}</p>
|
|
|
|
<p><b>Total Paypigs: </b>{{patrons_ups}}</p>
|
|
|
|
{% endif %}
|
|
|
|
|
2022-05-04 23:09:46 +00:00
|
|
|
<h2>Upvotes</h2>
|
2022-06-27 02:47:49 +00:00
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>User</th>
|
2022-06-27 04:10:10 +00:00
|
|
|
<th role="button" onclick="sort_table(1)">User Truescore</th>
|
2022-06-28 23:53:52 +00:00
|
|
|
<th>Vote Time</th>
|
2022-06-27 02:47:49 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
2022-06-27 02:47:49 +00:00
|
|
|
{% for vote in ups %}
|
|
|
|
<tr>
|
2022-06-27 02:50:13 +00:00
|
|
|
<td>
|
|
|
|
<a style="color:#{{vote.user.namecolor}};font-weight:bold" href="/@{{vote.user.username}}">
|
|
|
|
<img loading="lazy" src="{{vote.user.profile_url}}" class="pp20">
|
|
|
|
<span {% if vote.user.patron %}class="patron" style="background-color:#{{vote.user.namecolor}}"{% endif %}>
|
|
|
|
{{vote.user.username}}
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</td>
|
2022-06-27 02:47:49 +00:00
|
|
|
<td>{{vote.user.truecoins}}</td>
|
2022-06-27 04:10:10 +00:00
|
|
|
<td>{{vote.created_datetime}}</td>
|
2022-06-27 02:47:49 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
2022-06-27 02:47:49 +00:00
|
|
|
<h2>Downvotes</h2>
|
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>User</th>
|
2022-06-27 04:10:10 +00:00
|
|
|
<th role="button" onclick="sort_table(1)">User Truescore</th>
|
2022-06-28 23:53:52 +00:00
|
|
|
<th>Vote Time</th>
|
2022-06-27 02:47:49 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
2022-06-27 02:47:49 +00:00
|
|
|
{% for vote in downs %}
|
|
|
|
<tr>
|
2022-06-27 02:50:13 +00:00
|
|
|
<td>
|
|
|
|
<a style="color:#{{vote.user.namecolor}};font-weight:bold" href="/@{{vote.user.username}}">
|
|
|
|
<img loading="lazy" src="{{vote.user.profile_url}}" class="pp20">
|
|
|
|
<span {% if vote.user.patron %}class="patron" style="background-color:#{{vote.user.namecolor}}"{% endif %}>
|
|
|
|
{{vote.user.username}}
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</td>
|
2022-06-27 02:47:49 +00:00
|
|
|
<td>{{vote.user.truecoins}}</td>
|
2022-06-27 04:10:10 +00:00
|
|
|
<td>{{vote.created_datetime}}</td>
|
2022-06-27 02:47:49 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2021-07-30 11:05:20 +00:00
|
|
|
{% endblock %}
|