2022-02-24 12:03:28 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
{% block content %}
|
2022-03-06 00:21:13 +00:00
|
|
|
<script src="/static/assets/js/sort_table.js?v=240"></script>
|
|
|
|
|
2022-02-24 12:03:28 +00:00
|
|
|
<pre>
|
|
|
|
|
|
|
|
|
|
|
|
</pre>
|
2022-03-06 00:25:28 +00:00
|
|
|
<h5>List of subs</h5>
|
2022-02-24 12:03:28 +00:00
|
|
|
<pre></pre>
|
2022-03-06 00:21:13 +00:00
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table id="sortable_table" class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
2022-02-24 12:03:28 +00:00
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Name</th>
|
2022-03-06 00:21:13 +00:00
|
|
|
<th role="button" onclick="sort_table(2)" >Posts</th>
|
|
|
|
<th role="button" onclick="sort_table(3)" >Subscribers</th>
|
2022-02-24 12:03:28 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for sub, count in subs %}
|
|
|
|
<tr>
|
|
|
|
<td>{{loop.index}}</td>
|
2022-03-06 00:21:13 +00:00
|
|
|
<td><a href="/s/{{sub.name}}" {% if v and v.newtab and not g.webview %}target="_blank"{% endif %}>{{sub.name}}</a></td>
|
2022-02-24 12:03:28 +00:00
|
|
|
<td>{{count}}</a>
|
2022-03-06 00:21:13 +00:00
|
|
|
<td>{{sub.subscription_num}}</td>
|
2022-02-24 12:03:28 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% endblock %}
|