{% load i18n %} {% load bootstrap_icons %}
| # | {% trans "Name" %} {% trans "Description" %} |
{% trans "User"%} | {% trans "Status" %} | {% if app_settings.VM_DRBD_STATUS == 'True' %}{% trans "Role/Disk" %} | {% endif %}{% trans "VCPU" %} | {% trans "Memory" %} | {% trans "Actions" %} & {% trans "Mem Usage" %} | |||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ compute.name }} {{ compute.instance_set.count }} | {% if compute.status is True %} {% trans "Connected" %} {% else %} {% trans "Not Connected" %} {% endif %} | {% if app_settings.VM_DRBD_STATUS == 'True' %}{% endif %} {% if compute.status is True %} | {{ compute.cpu_count }} | {{ compute.ram_size|filesizeformat }} |
|
{% else %}
{% endif %} | ||||
| {{ forloop.counter }} |
{{ instance.name }}
{% if instance.info %} {{ instance.title }} {% endif %} |
{% if instance.userinstance_set.all.count > 0 %} {{ instance.userinstance_set.all.0.user }} {% if instance.userinstance_set.all.count > 1 %} (+{{ instance.userinstance_set.all.count|add:"-1" }}) {% endif %} {% endif %} | {% include 'instance_state.html' %} | {% if app_settings.VM_DRBD_STATUS == 'True' %}{% if instance.drbd == "Primary/OK" or instance.drbd == "Secondary/OK" %}{% else %}{% endif %}{{ instance.drbd }} | {% endif %}{{ instance.info.3 }} | {% if instance.info %}{% widthratio instance.info.2 1024 1 %} MB{% endif %} | {% include 'instance_actions.html' %} |