Files
iRedAdmin-Pro-SQL/templates/default/fail2ban/matched_log_lines.html
2023-04-10 07:23:44 +02:00

22 lines
625 B
HTML

<div class="modal-window modal-800">
{# Use first 6 chars as Month and Day #}
{% if loglines %}
{% set mmdd = loglines[:6] %}
{% set lines = loglines.split(mmdd) %}
<table class="style1">
<tbody>
{% for line in lines %}
{% if line %}
<tr>
<td>{{ mmdd |e }} {{ line | e }}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
{% else %}
<p>{{ _('No matched log lines.') }}</p>
{% endif %}
</div>