{% from "utils.html" import submit_button, submit_button_with_attrs %} {% extends "layout.html" %} {% block title %}User{% endblock %} {% block content %}
{% if userdata %}

{{ userdata['username'] }}

{{ submit_button('Log out') }}

Notice: By continuing to use the Hail system, you agree that you have reviewed and will be bound by the Hail Terms of Service and have read the Privacy Policy. If not you must log out and stop using the Hail system immediately.

{% if cloud == "gcp" %}

Google Service Account: {{ userdata['display_name'] }}

{% endif %} {% if cloud == "azure" %}

Azure Service Principal Display Name: {{ userdata['display_name'] }}

Azure Service Principal Application ID: {{ userdata['hail_identity'] }}

{% endif %}

Trial Billing Project: {{ userdata['trial_bp_name'] }}

{{ submit_button('Get a copy-paste login token') }}
{% else %}

Log in to continue

{% if next_page %}

You must sign up or log in to continue to {{ next_page }}

{% else %}

You must sign up or log in to continue

{% endif %}
{% if next_page %} {% endif %} {{ submit_button_with_attrs('Log in', 'id=loginButton disabled') }}

No account yet? Click below to sign up:

{% if next_page %} {% endif %} {{ submit_button_with_attrs('Sign up', 'id=signupButton disabled') }}
{% endif %}

The Hail system records your email address and IP address. Your email address is recorded so that we can authenticate you. Your IP address is tracked as part of our surveillance of all traffic to and from the Hail system. This broad surveillance enables the protection of the Hail system from malicious actors.

{% endblock %}