{% extends "base.html" %} {% block title %}User Profile{% endblock %} {% block page_content %}

User Profile

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
{% if user.profile_picture %} Profile {% endif %}

{{ user.email }}

Username: {{ username }}

{% if user.last_login %}

Last login: {{ user.last_login }}

{% endif %}
{% if new_token %} {% endif %}
API Tokens

API tokens authenticate with the QUADS API. Use as a Bearer token: Authorization: Bearer qat_...

{% if api_tokens %} {% for token in api_tokens %} {% endfor %}
Name Token Created Last Used
{{ token.name }} {{ token.token_prefix }}... {{ token.created_at }} {% if token.last_used %} {{ token.last_used }} {% else %} Never {% endif %}
{% else %}

No API tokens yet.

{% endif %}
SSH Public Key

Your SSH key is automatically distributed to hosts in your assignments.

Cloud Release Command

An optional command to run on the first host of your allocations after release. Executes in a detached tmux session as root. Maximum 1024 characters.

{{ (release_command or '')|length }}/1024
My Cloud Assignments
{% if assignments %} {% for assignment in assignments %} {% endfor %}
Cloud Description Ticket Self-Scheduled
{{ assignment.cloud.name }} {{ assignment.description }} {% if assignment.ticket %} {{ assignment.ticket }} {% endif %} {% if assignment.is_self_schedule %} Yes {% else %} No {% endif %}
{% else %}

You currently have no cloud assignments.

{% endif %}
{% endblock %} {% block scripts %} {{ super() }} {% endblock %}