{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Computes" %}{% endblock %} {% block content %}
{% include 'sidebar.html' %}

Computes

{% include 'errors.html' %}
{% if computes_info %} {% for compute in computes_info %}
{% ifequal compute.status 1 %}

{{ compute.name }}

{% else %}

{{ compute.name }}

{% endifequal %}

{% csrf_token %}

{% ifequal compute.type 1 %} tcp://{{ compute.hostname }} {% endifequal %} {% ifequal compute.type 2 %} ssh://{{ compute.hostname }} {% endifequal %} {% ifequal compute.type 3 %} tls://{{ compute.hostname }} {% endifequal %} {% ifequal compute.type 4 %} socket:// {% endifequal %}

{% endfor %} {% else %}

{% trans "You have no connection" %}

{% endif %}
{% endblock %}