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

User settings

User type: {{ user_profile.user_type }}

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 1 %}

Upload Machine Learning Model

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

General information

{{ user.email }}
{{ user.username }}

User History

{% for entry in user_data %} {%endfor%}
Date Action Details
{{entry.date}} {{entry.action}} {{entry.file}}
{% if 1 %} {% comment %} REPLACE WITH LOGIC TO CHECK PROPER USER {%endcomment %} {% 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 %} {% endif %} {% comment %} Admin page functionality end {% endcomment %}
{% endblock content %}