{% extends "base.html" %} {% block content %}
{{ xsrf_form_html() }}
 
{% if not traps %} {% endif %} {% for trap in traps %} {% set expired = trap.expires != None and now >= trap.expires %} {% endfor %}
  Hostname Trap Received Expiration
No Active Traps.
{% if not expired %}
{{ xsrf_form_html() }}
{% endif %}
{{trap.host|hostname_or_ip}} {{trap.oid|to_mibname}} {{trap.sent|print_date}} {{trap.expires|print_date}}
{% endblock %} {% block script %} {% endblock %}