{% extends "admin/base.html" %} {% block admin_content %}
User Timeout Management
Create New Timeout
Active Timeouts ({{ active_timeouts|length }})
{% if active_timeouts %}
{% for timeout in active_timeouts %} {% endfor %}
User Reason Type Created Expires Remaining Created By Actions
{{ timeout.user.username }} {{ timeout.reason }} {{ timeout.timeout_type.replace('_', ' ').title() }} {{ timeout.created_at.strftime('%Y-%m-%d %H:%M') }} {{ timeout.expires_at.strftime('%Y-%m-%d %H:%M') }} Calculating... {% if timeout.creator %} {{ timeout.creator.username }} {% else %} System {% endif %}
{% else %}

No active timeouts.

{% endif %}
Recent Expired/Cancelled Timeouts
{% if recent_inactive %}
{% for timeout in recent_inactive %} {% endfor %}
User Reason Type Created Expired/Cancelled Status Cancelled By
{{ timeout.user.username }} {{ timeout.reason }} {{ timeout.timeout_type.replace('_', ' ').title() }} {{ timeout.created_at.strftime('%Y-%m-%d %H:%M') }} {% if timeout.cancelled_at %} {{ timeout.cancelled_at.strftime('%Y-%m-%d %H:%M') }} {% else %} {{ timeout.expires_at.strftime('%Y-%m-%d %H:%M') }} {% endif %} {% if timeout.cancelled_at %} Cancelled {% else %} Expired {% endif %} {% if timeout.canceller %} {{ timeout.canceller.username }} {% else %} - {% endif %}
{% else %}

No recent inactive timeouts.

{% endif %}
{% endblock %}