{% extends "_base.html" %} {% block content %}

User settings

{% if user_profile.user_type == 0 %} User type: User {% elif user_profile.user_type == 1 %} User type: Admin {% elif user_profile.user_type == 2 %} User type: ML Engineer {% elif user_profile.user_type == 3 %} User type: Accountant {% else %} User type: Unknown {% endif %}

Tokens:

{{ token_count }}

Change your password

Change Password
{% if user_profile.user_type == 3 %}

Generate Financial Statement

Download Financial Statement
{% comment %} REPLACE WITH LOGIC TO CHECK PROPER USER {% endcomment %}
{% endif %} {% if user_profile.user_type == 2 %}

Upload Machine Learning Model

{% comment %} AI content {% endcomment %} {% endif %}

General information

{{ user.email }} {% else %} No email address on record. {% endif %}
{{ user.username }}
{% if user_profile.user_type == 1 or user_profile.user_type == 2 %}

User History

{% for entry in user_data %} {%endfor%}
Date Action Details
{{entry.date}} {{entry.action}} {{entry.file}}
{% endif %} {% if 1 %} {% comment %} REPLACE WITH LOGIC TO CHECK PROPER USER {%endcomment %} {% comment %} {% if user_profile.user_type == 2 %}

Application Logs

{% for entry in admin_data %} {% endfor %}
Date Action User ID status
{{entry.date}} {{entry.action}} {{entry.user}} {{entry.status}}
{% endif %} {% endcomment %} {% endif %} {% comment %} Admin page functionality end {% endcomment %}
{% endblock content %}