{% extends "base.html" %} {% load i18n %} {% load static %} {% load bootstrap_icons %} {% block title %}{% trans "Computes" %}{% endblock %} {% block content %}
| {% trans "Host" %} | {% trans "VMs" %} | {% trans "vCPUs" %} | {% trans "Memory" %} | {% trans "Actions" %} | |||
|---|---|---|---|---|---|---|---|
|
{{ compute.name }}
{% if compute.status is True %}
{% trans "Connected" %}
{% else %}
{% trans "Not connected" %}
{% endif %}
{{ compute.connection_name }}
{{ compute.hostname }}
{% if compute.details %}{{ compute.details }} {% endif %}
{% if compute.status is not True %}
{{ compute.connection_error }}
{% endif %}
|
{% if given %}
{{ given.vm_count }}
{% blocktrans with running=given.vms.running %}{{ running }} running{% endblocktrans %}
|
{% include "computes/capacity_vcpus.html" %} | {% include "computes/capacity_memory.html" %} | {% else %}{% if compute.status is True %}{% trans "The capacity could not be read." %}{% else %}{% trans "No capacity while the host cannot be reached." %}{% endif %} | {% endif %}
{# fixed: the menu would be cut off by the table's scrolling box #}
|
||