{% extends "base.html" %} {% load subnets %} {% block title %}Configuration du VPN {{ object.offersubscription.get_subscription_reference }} - {{ block.super }}{% endblock %} {% block content %}

Configuration du VPN

{% 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.password %} {% endif %} {% if object.crypto_link %} {% endif %} {% if form %} {% else %} {% endif %}
Identifiant {{object.login}}
Générer un nouveau mot de passe
Matériel cryptographique Télecharger (lien supprimé après ouverture)
{{ form.comment.label_tag }} {{ form.comment }}Commentaire {{ object.comment }}
{% if form %} {% endif %} Ce VPN 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 %}

Graphe de trafic sur :

Graphe de trafic {{ object.login }}
{% endblock %} {% block extra_js %} {% endblock extra_js %}