{% extends "layout.html" %} {% block title %}User Detail: {{ target_user.username }} - BZOD{% endblock %} {% block active_users %}active{% endblock %} {% block header_title %}User Detail: {{ target_user.username }}{% endblock %} {% block content %} {% if let Some(msg) = success %}
{{ msg }}
{% endif %} {% if let Some(err) = error %}
{{ err }}
{% endif %}
← Back to Users List

User Profile & Settings

{% if let Some(meta) = target_user.metadata %} {% endif %}
User ID {{ target_user.id }}
Username {{ target_user.username }}
Account Type {{ target_user.account_type }}
Account Status {{ target_user.status }}
Created At {{ target_user.created_at }}
Last Login {% if let Some(login) = target_user.last_login %} {{ login }} {% else %} Never {% endif %}
Metadata {{ meta }}

Administrative Actions

Edit Settings {% if target_user.status == "active" %}
{% else %}
{% endif %}

Reset Password

Quota & Storage Usage

Short URLs Created {{ stats.current_urls }} / {{ stats.max_urls }}
Landing Pages {{ stats.current_landings }} / {{ stats.max_landings }}
API Tokens {{ stats.current_api_tokens }} / {{ stats.max_api_tokens }}
Storage (MB) {{ stats.current_storage_mb }} / {{ stats.max_storage_mb }}
Total Clicks/Visits Combined visitor traffic
{{ stats.total_visits }}

Active Sessions

{% if sessions.is_empty() %} {% else %} {% for s in sessions %} {% endfor %} {% endif %}
Created Expires Action
No active sessions.
{{ s.created_at[0..10] }} {{ s.expires_at[0..10] }}

API Tokens

{% if tokens.is_empty() %} {% else %} {% for t in tokens %} {% endfor %} {% endif %}
ID Created At Action
No API tokens.
{{ t.id }} {{ t.created_at }}
{% endblock %}