{% extends "mod_base.html" %} {% block title %}Mod bans{% endblock %} {% block content %}

Bans

Add ban {{ csrf_html() }}





{{ csrf_html() }} {% for ban in bans %} {% endfor %}
ip to ip from until board reason
{{ ip4_to_str(ban.ip4) }} {{ ip4_to_str(ban.ip4_end) if ban.ip4_end is not none else '' }} {{ ban.date|formatted_time }} {% if ban.length > 0 %} {{ (ban.date + ban.length)|formatted_time }} - {% if (ban.date + ban.length) - now < 0 %} Expired, not viewed {% else %} {{ (ban.date + ban.length)|time_remaining }} remaining {% endif %} {% else %} Does not expire {% endif %} {{ ban.board or '' }} {{ ban.reason }}
{% endblock %} {% block javascripts %} {{ super() }} {% endblock %}