2024-02-17 21:24:39 +00:00
|
|
|
{% import "../macros/post-actions.html" as post_actions %}
|
|
|
|
{% import "../macros/post.html" as post %}
|
2023-12-11 15:18:43 +00:00
|
|
|
{% import "../macros/staff-nav.html" as staff_nav %}
|
2024-02-17 21:24:39 +00:00
|
|
|
{% import "../macros/static-pagination.html" as static_pagination %}
|
2023-12-11 15:18:43 +00:00
|
|
|
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Hlášení{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2024-02-17 21:24:39 +00:00
|
|
|
<div class="center">
|
|
|
|
<h1 class="title">Hlášení</h1>
|
|
|
|
<p class="description greentext">>Ukliď to!!!</p>
|
|
|
|
</div>
|
2023-12-25 13:53:44 +00:00
|
|
|
{% call staff_nav::staff_nav() %}
|
2023-12-11 15:18:43 +00:00
|
|
|
<hr>
|
2024-02-17 21:24:39 +00:00
|
|
|
<form method="post">
|
|
|
|
{% for post in posts %}
|
2024-02-18 19:25:38 +00:00
|
|
|
<b>Příspěvek z <a href="/boards/{{ post.board }}">/{{ post.board }}/</a></b>
|
|
|
|
<br>
|
2024-02-17 21:24:39 +00:00
|
|
|
{% call post::post(boards[post.board.as_str()], post, true) %}
|
|
|
|
<table class="data-table inline-block m-0">
|
|
|
|
<tr>
|
|
|
|
<th>IP adresa</th>
|
|
|
|
<th>Důvod hlášení</th>
|
|
|
|
</tr>
|
|
|
|
{% for report in post.reports.0 %}
|
|
|
|
<tr>
|
|
|
|
<td><b>{{ report.reporter_ip }}</b> (<img class="icon" src="/static/flags/{{ report.reporter_country }}.png">)</td>
|
|
|
|
<td>{{ report.reason }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
<hr>
|
|
|
|
{% endfor %}
|
2024-03-08 21:05:21 +00:00
|
|
|
{% call static_pagination::static_pagination("/staff/reports", page, false) %}
|
2024-02-17 21:24:39 +00:00
|
|
|
<hr>
|
|
|
|
{% call post_actions::post_actions() %}
|
|
|
|
</form>
|
2023-12-11 15:18:43 +00:00
|
|
|
{% endblock %}
|