MarseyWorld/files/templates/sub/subs.html

35 lines
949 B
HTML
Raw Normal View History

2022-02-24 12:03:28 +00:00
{% extends "default.html" %}
{% block content %}
<pre>
</pre>
2022-07-09 12:51:08 +00:00
<h5>{{HOLE_NAME|capitalize}} List</h5>
2022-02-24 12:03:28 +00:00
<pre></pre>
2022-03-06 00:21:13 +00:00
<div class="overflow-x-auto">
2022-06-27 02:47:49 +00:00
<table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
2022-09-03 03:04:51 +00:00
<th onclick="sort_table(2)">Posts</th>
2022-09-10 03:26:27 +00:00
<th onclick="sort_table(3)">Followers</th>
<th onclick="sort_table(4)">Blockers</th>
2022-06-27 02:47:49 +00:00
</tr>
</thead>
2022-02-24 12:03:28 +00:00
2022-06-27 02:47:49 +00:00
{% for sub, count in subs %}
2022-08-19 21:53:45 +00:00
<tr>
<td>{{loop.index}}</td>
<td><a href="/h/{{sub}}">{{sub}} {% if sub.name in v.all_blocks %}<span class="text-danger">[blocked, visit it to unblock it]</span>{% endif %}</a></td>
<td><a href="/h/{{sub}}" >{{count}}</a></td>
<td><a href="/h/{{sub}}/followers">{{sub.follow_num}}</a></td>
<td><a href="/h/{{sub}}/blockers">{{sub.block_num}}</a></td>
2022-06-27 02:47:49 +00:00
</tr>
{% endfor %}
</table>
</div>
<script defer src="{{'js/sort_table.js' | asset}}"></script>
2022-02-24 12:03:28 +00:00
{% endblock %}