mirror of
https://github.com/sb745/NyaaV3.git
synced 2025-03-12 22:06:55 +02:00
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
{% extends "layout.html" %}
|
|
{% block title %}Reports :: {{ config.SITE_NAME }}{% endblock %}
|
|
{% block body %}
|
|
{% from "_formhelpers.html" import render_field %}
|
|
<div class="table-responsive">
|
|
<table class="table table-bordered table-hover table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>Reported by:</th>
|
|
<th>Torrent:</th>
|
|
<th>Reason:</th>
|
|
<th>Date:</th>
|
|
<th>Action:</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for report in reports %}
|
|
<tr>
|
|
<td>{{ report.id }}</td>
|
|
<td><a href="{{ url_for('view_user', user_name=report.user.username) }}">{{ report.user.username }}</a></td>
|
|
<td><a href="{{ url_for('view_torrent', torrent_id=report.torrent.id) }}">{{ report.torrent.display_name }}</a></td>
|
|
<td>{{ report.reason }}</td>
|
|
<td>{{ report.created_time }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endblock %}
|