lainchan/templates/mod/debug/antispam.html

66 lines
1.5 KiB
HTML
Raw Normal View History

2012-04-16 06:11:10 -04:00
<p style="text-align:center">
Most used (in active):
</p>
2012-04-18 11:37:31 -04:00
<table class="modlog" style="width:700px;margin:auto">
2012-04-16 06:11:10 -04:00
<tr>
<th>Board</th>
<th>Thread</th>
2012-04-18 11:37:31 -04:00
<th>Hash (SHA1)</th>
2012-04-16 06:11:10 -04:00
<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>
<small>{{ hash.hash|upper }}</small>
</td>
2012-04-16 06:11:10 -04:00
<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>
<form method="post" action="?/debug/antispam">
<table class="modlog" style="width:1%;white-space:nowrap;margin:auto">
<tr>
<th>Board</th>
<th>Thread</th>
<th></th>
</tr>
<tr>
<td>
<input type="text" name="board" style="width:90px" value="{{ board }}">
</td>
<td>
<input type="text" name="thread" style="width:90px" value="{{ thread }}">
</td>
<td>
<input type="submit" name="filter" value="Filter">
<input type="submit" name="purge" value="Purge">
</td>
</tr>
</table>
</form>