{% set nav_title = "Aird" %} {% set nav_search_path = "" %} {% set show_admin_link = True %} {% include '_app_nav_header.html' %}

Profile Settings

{% if user %}

User: {{ escape(user['username']) }} ({{ escape(user['role']) }})

Member since: {{ escape(user['created_at'].split('T')[0] if 'T' in user['created_at'] else user['created_at']) }}

{% end %}
{% if error %}
{{ escape(error) }}
{% end %} {% if success %}
{{ escape(success) }}
{% end %}

Appearance

Light or dark theme for the whole app. Your choice is saved in this browser.

{% if not user %}
Profile management is not available for token-authenticated sessions.
{% else %} {% if not ldap_enabled %}

Change Password

Update your account password. Make sure to use a strong password.

{% raw xsrf_form_html() %}
{% else %}

Password Management

LDAP Authentication: Your account is managed through LDAP directory.

To change your password, please use your organization's password change system or contact your system administrator.

{% end %}

Account Information

Username: {{ escape(user['username']) }}

Role: {{ escape(user['role']) }}

Created: {{ escape(user['created_at'].split('T')[0] if 'T' in user['created_at'] else user['created_at']) }}

Status: {{ "Active" if user['active'] else "Inactive" }}

{% if user['last_login'] %}

Last Login: {{ escape(user['last_login'].split('T')[0] if 'T' in user['last_login'] else user['last_login']) }}

{% end %}
{% if quota and quota.get('quota_bytes') is not None %}

Storage Usage

{% set used = quota.get('used_bytes', 0) %} {% set total = quota.get('quota_bytes', 0) %} {% set pct = int(used * 100 / total) if total > 0 else 0 %}

{{ "%.1f" % (used / 1048576) }} MB of {{ "%.1f" % (total / 1048576) }} MB used ({{ pct }}%)

{% end %} {% end %}