MarseyWorld/files/templates/hole/holes.html

35 lines
1000 B
HTML
Raw Normal View History

2022-02-24 12:03:28 +00:00
{% extends "default.html" %}
{% block pagetitle %}Hole List{% endblock %}
2022-02-24 12:03:28 +00:00
{% block content %}
2023-10-29 12:51:00 +00:00
<h5 class="mt-3 mb-1">Hole List</h5>
<div class="overflow-x-auto">
<table>
<thead>
2023-10-29 12:51:00 +00:00
<tr>
<th>#</th>
<th>Name</th>
<th>Posts</th>
<th>Followers</th>
<th>Blockers</th>
<th>Created on</th>
</tr>
</thead>
{% for hole, count in holes %}
2023-10-29 12:51:00 +00:00
<tr>
<td>{{loop.index}}</td>
<td><a href="/h/{{hole}}">{{hole}} {% if hole.name in v.hole_blocks %}<span class="text-danger">[blocked, visit it to unblock it]</span>{% endif %}</a></td>
<td><a href="/h/{{hole}}">{{count}}</a></td>
<td><a href="/h/{{hole}}/followers">{{hole.follow_num}}</a></td>
{% if hole.stealth %}
2024-02-15 20:14:28 +00:00
<td>{{total_users - hole.stealth_hole_unblock_number}}</td>
2023-10-29 12:51:00 +00:00
{% else %}
<td><a href="/h/{{hole}}/blockers">{{hole.block_num}}</a></td>
{% endif %}
<td data-time="{{hole.created_utc}}"></td>
</tr>
{% endfor %}
</table>
</div>
2022-10-12 05:40:59 +00:00
{% endblock %}