{% extends 'dashboard.html' %} {% block page %}

Login History

View your recent login activity and security events

{% if history %}
{% for entry in history %} {% endfor %}
Date & Time IP Address Browser / Device Status
{{ entry.login_time.strftime('%b %d, %Y') }}
{{ entry.login_time.strftime('%I:%M %p') }}
{{ entry.ip_address or 'N/A' }}
{{ entry.user_agent or 'Unknown' }}
{% if entry.success %} Success {% else %} Failed {% endif %}
{% else %}

No login history

Your login activity will appear here

{% endif %}
{% if history %}

Showing last {{ history|length }} login{% if history|length != 1 %}s{% endif %}. Login history is kept for security purposes.

{% endif %}
{% endblock %}