forked from leftypol/leftypol
multiple improvements
This commit is contained in:
parent
f0412b0814
commit
cc614e36b4
6 changed files with 138 additions and 9 deletions
42
templates/mod/debug/antispam.html
Normal file
42
templates/mod/debug/antispam.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
<p style="text-align:center">
|
||||
Most used (in active):
|
||||
</p>
|
||||
<table class="modlog" style="width:600px;margin:auto">
|
||||
<tr>
|
||||
<th>Board</th>
|
||||
<th>Thread</th>
|
||||
<th>Hash (CRC32)</th>
|
||||
<th>Created</th>
|
||||
<th>Expires</th>
|
||||
<th>Passed</th>
|
||||
</tr>
|
||||
{% for hash in top %}
|
||||
<tr>
|
||||
<td>{{ config.board_abbreviation|sprintf(hash.board) }}</td>
|
||||
<td>
|
||||
{% if hash.thread %}
|
||||
{{ hash.thread }}
|
||||
{% else %}
|
||||
-
|
||||
{% endif %}</td>
|
||||
<td>{{ hash.hash }}</td>
|
||||
<td>
|
||||
<span title="{{ hash.created|date(config.post_date) }}">{{ hash.created|ago }} ago</span>
|
||||
</td>
|
||||
<td>
|
||||
{% if hash.expires %}
|
||||
<span title="{{ hash.expires|date(config.post_date) }}">
|
||||
{{ hash.expires|until }}
|
||||
</span>
|
||||
{% else %}
|
||||
-
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ hash.passed }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<p style="text-align:center">
|
||||
Total: <strong>{{ total }}</strong> (<strong>{{ expiring }}</strong> set to expire)
|
||||
</p>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue