forgery/templates/index.html

36 lines
918 B
HTML
Raw Normal View History

{% import "ui.html" as ui %}
{% extends "base.html" %}
{% block title %}Home{% endblock title %}
{% block content %}
<div class="stats">
Users: unclassified: {{unclassified_users_count}} | total: {{total_users_count}}
</div>
<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-11-23 11:42:53 +00:00
<form method="post">
<div class="users">
{% 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]
) }}
{% endfor %}
</div>
<input type="submit" value="Apply" class="button" style="width: 200px; height: 30px"/>
</form>
{% endblock content %}