2024-12-18 12:22:56 +00:00
|
|
|
{% import "ui.html" as ui %}
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %}Home{% endblock title %}
|
2024-11-22 09:48:11 +00:00
|
|
|
|
2024-12-18 12:22:56 +00:00
|
|
|
{% block content %}
|
2024-11-23 11:33:54 +00:00
|
|
|
<div class="stats">
|
|
|
|
Users: unclassified: {{unclassified_users_count}} | total: {{total_users_count}}
|
|
|
|
</div>
|
2024-12-18 12:22:56 +00:00
|
|
|
|
|
|
|
<div>
|
|
|
|
<a href="/classified">Edit classified users</a>
|
|
|
|
</div>
|
|
|
|
|
2024-11-23 11:42:53 +00:00
|
|
|
<div class="sort-options">
|
|
|
|
<a href="/?sort=spam">Sort: Spam first</a> |
|
|
|
|
<a href="/?sort=legit">Sort: Legit first</a> |
|
|
|
|
<a href="/?sort=random">Sort: Random</a>
|
|
|
|
</div>
|
2024-12-18 12:22:56 +00:00
|
|
|
|
2024-11-23 11:42:53 +00:00
|
|
|
<form method="post">
|
2024-11-22 15:26:17 +00:00
|
|
|
<div class="users">
|
2024-12-18 12:22:56 +00:00
|
|
|
{% for user_data in users %}
|
|
|
|
{{ ui::user_card(
|
|
|
|
user_id=user_data[0],
|
|
|
|
user=user_data[1],
|
|
|
|
score=user_data[2],
|
|
|
|
score_approx=user_data[3],
|
|
|
|
is_spam=user_data[4]
|
|
|
|
) }}
|
2024-11-22 09:48:11 +00:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2024-11-22 15:26:17 +00:00
|
|
|
|
|
|
|
<input type="submit" value="Apply" class="button" style="width: 200px; height: 30px"/>
|
2024-11-22 09:48:11 +00:00
|
|
|
</form>
|
2024-12-18 12:22:56 +00:00
|
|
|
{% endblock content %}
|