{% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 i18n %} {% block content %}
{% csrf_token %}

{% trans "Access Key"%}

{% if messages %}
{% for message in messages %} {{ message }} {% endfor %}
{% endif %}
{% if not user_key %}

{% trans "Upload your own key. "%}

{% trans "Or generate a new key pair."%}

{% else %}
Use your created key to access to the machine. If you lost it, contact us.

{% trans "Name"%} {% trans "Created at"%} {% trans "Status"%}
{{user_key.name}} {{user_key.created_at}} Active
{% endif %}
{% if private_key %}
{% trans "Warning!"%}{% trans "You can download your SSH private key once. Don't lost your key"%}
{% else %} {% endif %}
{% if private_key %} {%endif%} {% if next_url %} {% endif %} {%endblock%}