{% extends "base.html" %} {% load subnets %} {% block content %}

Configuration du VPS

{% if form %}
{% csrf_token %}

Quand vous aurez terminé vos modifications, cliquez sur

{% endif %} {% for message in messages %}
{{ message }}
{% endfor %} {% if form %} {% if form.non_field_errors or form.ipv4_endpoint.errors or form.ipv6_endpoint.errors %}
{{ form.non_field_errors }} {{ form.ipv4_endpoint.errors }} {{ form.ipv6_endpoint.errors }}
{% endif %} {% endif %}

Authentification

{% if object.fingerprint_set.all %} {% endif %} {% if object.console %} {% endif %} {% if form %} {% else %} {% endif %}
Empreinte(s) {% for fingerprint in object.fingerprint_set.all %} {{ fingerprint.length }} {{ fingerprint.fingerprint }} ({{ fingerprint.algo }}){% if not forloop.last %}
{% endif %} {% endfor %}
Console {{object.console.protocol }} {{ object.console.domain }}:{{ object.console.port }}
Voir le mot de passe (lien supprimé après ouverture)
{{ form.comment.label_tag }} {{ form.comment }}Commentaire {{ object.comment }}
{% if form %} {% endif %} Ce VPS est {{ object.activated|yesno:"activé,désactivé" }}

Adresses IP

{% if form %} {{ form.ipv4_endpoint }} {{ form.ipv6_endpoint }} {% else %} {% endif %}
{{ form.ipv4_endpoint.label_tag }}
{{ form.ipv6_endpoint.label_tag }}
IPv4 {{ object.ipv4_endpoint }}
IPv6 {{ object.ipv6_endpoint }}
Sous-réseaux {% for subnet in object.ip_subnet.all %}{{ subnet|prettify }}
{% endfor %}
{% if form %}

{% endif %}
{% endblock %}