{% extends "base.html" %} {% load i18n %} {% load static %} {% load common_tags %} {% load bootstrap_icons %} {% block title %}{% trans "Computes" %}{% endblock %} {% block content %}
| {% trans "Host" %} | {% trans "vCPUs" %} | {% trans "Memory" %} | {% trans "Storage" %} | {% trans "Actions" %} | |||
|---|---|---|---|---|---|---|---|
|
{% if compute.status is True %}
{% trans "Connected" %}
{% else %}
{% trans "Not Connected" %}
{% endif %}
{{ compute.name }}
{{ compute.hostname }}{% if compute.details %}
{% if compute.status is not True %}
{{ compute.details }}{% endif %} {{ compute.connection_error }}
{% endif %}
|
{% if given %}
{% include "computes/capacity_vcpus.html" %} | {% include "computes/capacity_memory.html" %} | {% include "computes/capacity_storage.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 %}
{# a host the panel cannot reach opens too: its page says why #}
{% bs_icon 'eye-fill' %}
{% bs_icon 'pencil-fill' %}
{% bs_icon 'x-circle-fill' %}
|
||