diff --git a/nyaa/static/css/main.css b/nyaa/static/css/main.css index d361049..d2646d0 100644 --- a/nyaa/static/css/main.css +++ b/nyaa/static/css/main.css @@ -411,3 +411,7 @@ h6:hover .header-anchor { margin-top: auto; } } + +table.table > tbody > tr.reports-row > td { + vertical-align: middle; +} diff --git a/nyaa/templates/reports.html b/nyaa/templates/reports.html index 455a6e9..a959089 100644 --- a/nyaa/templates/reports.html +++ b/nyaa/templates/reports.html @@ -3,7 +3,7 @@ {% block body %} {% from "_formhelpers.html" import render_field %}
- +
@@ -16,7 +16,7 @@ {% for report in reports.items %} - + -
#
{{ report.id }} {{ report.user.username }} @@ -26,13 +26,17 @@ {{ report.reason }} {{ report.created_time }} +
{{ report_action.csrf_token }} - {{ report_action.action }} {{ report_action.torrent(value=report.torrent.id) }} {{ report_action.report(value=report.id) }} - +
+ {{ report_action.action(class_="form-control") }} +
+ +
+