{% extends 'base.html' %} {% load static %} {% block title %}2FA Device Details - Account Security{% endblock %} {% block content %}
Device Information
{% if object.device_type == 'authenticator' %} {% elif object.device_type == 'hardware_key' %} {% elif object.device_type == 'sms' %} {% else %} {% endif %}
{{ object.name|default:"Google Authenticator" }}
{% if object.device_type == 'authenticator' %} Mobile App {% elif object.device_type == 'hardware_key' %} Hardware Key {% elif object.device_type == 'sms' %} SMS {% else %} Other {% endif %}
{% if object.is_active %} Active {% else %} Inactive {% endif %}
{{ object.created_at|default:"Jan 15, 2024"|date:"M d, Y" }} {{ object.created_at|default:"3 months ago"|timesince }} ago
{{ object.last_used_at|default:"Today 09:30 AM"|date:"M d, Y g:i A" }} {{ object.last_used_at|default:"2 hours ago"|timesince }} ago
{{ object.usage_count|default:247 }} times Total authentications
{% if object.description %}

{{ object.description|default:"Primary mobile device for two-factor authentication. Used for daily login verification." }}

{% endif %}
Security Details
{{ object.device_id|default:"auth_device_12345" }}
{% if object.backup_codes_generated %} Generated {% else %} Not Generated {% endif %}
{% if object.device_type == 'hardware_key' %} High Security {% elif object.device_type == 'authenticator' %} Medium Security {% else %} Basic Security {% endif %}
{% if object.device_type == 'authenticator' %} Time-based One-Time Password (TOTP) {% elif object.device_type == 'hardware_key' %} FIDO2/WebAuthn {% elif object.device_type == 'sms' %} SMS Code {% endif %}
Recent Usage History
Date & Time IP Address Location Status
Today 09:30 AM Apr 15, 2024 192.168.1.100 New York, NY Success
Yesterday 02:15 PM Apr 14, 2024 192.168.1.100 New York, NY Success
Apr 13, 08:45 AM Apr 13, 2024 10.0.0.50 Office Network Success
Quick Actions

Remove Device
Security Tips
Test your device regularly to ensure it's working
Keep backup codes in a secure, offline location
Use multiple 2FA methods for redundancy
Never share your 2FA codes with anyone
Usage Statistics
Total Uses 247
This Month 42
Success Rate 99.6%
Failed Attempts 1
{% endblock %}