{% load i18n %} {% load icons %} {% for compute in computes %} {% if compute.status is True and compute.instance_set.count > 0 %} {% for instance in compute.instance_set.all %} {% endfor %} {% endif %} {% endfor %}
# {% trans "Name" %}
{% trans "Description" %}
{% trans "User"%} {% trans "Status" %} {% trans "VCPU" %} {% trans "Memory" %} {% trans "Actions" %} & {% trans "Mem Usage" %}
{{ compute.name }} {{ compute.instance_set.count }} {% trans "Connected" %} {{ compute.cpu_count }} {{ compute.ram_size|filesizeformat }}
{{ compute.ram_usage }}%
{{ forloop.counter }} {{ instance.name }}
{% 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 %} {% if instance.proxy.instance.info.0 == 1 %}{% trans "Active" %}{% endif %} {% if instance.proxy.instance.info.0 == 5 %}{% trans "Off" %}{% endif %} {% if instance.proxy.instance.info.0 == 3 %} {% trans "Suspended" %} {% endif %} {{ instance.proxy.instance.info.3 }} {{ instance.cur_memory }} MB {% include 'instance_actions.html' %}
{% block script %} {% endblock %}