{% load parse_date %} {% load i18n %} {% for instance in instances %} {% endfor %}
{% trans "Name" %} {% trans "Tenant" %} {% trans "User" %} {% trans "Host" %} {% trans "Created" %} {% trans "Image" %} {% trans "IPs" %} {% trans "State" %} {% trans "Actions" %}
{{ instance.name }} (id: {{ instance.id }}) {{ instance.attrs.tenant_id }} {{ instance.attrs.user_id }} {{ instance.attrs.host }} {{ instance.attrs.launched_at|parse_date }} {{ instance.image_name }} {% for ip_group, addresses in instance.addresses.items %} {% if instance.addresses.items|length > 1 %}

{{ ip_group }}

    {% for address in addresses %}
  • {{ address.addr }}
  • {% endfor %}
{% else %}
    {% for address in addresses %}
  • {{ address.addr }}
  • {% endfor %}
{% endif %} {% endfor %}
{{ instance.status|lower|capfirst }}
    {% if instance.status == 'PAUSED' %}
  • {% include 'nova/instances_and_volumes/instances/_unpause.html' with form=unpause_form %}
  • {% endif %} {% if instance.status == 'SUSPENDED' %}
  • {% include 'nova/instances_and_volumes/instances/_resume.html' with form=resume_form %}
  • {% endif %} {% if instance.status == "ACTIVE" %}
  • {% include 'nova/instances_and_volumes/instances/_pause.html' with form=pause_form %}
  • {% include 'nova/instances_and_volumes/instances/_suspend.html' with form=suspend_form %}
  • {% include "syspanel/instances/_reboot.html" with form=reboot_form %}
  • {% trans "Console Log" %}
  • {% trans "VNC Console" %}
  • {% endif %}
  • {% include "syspanel/instances/_terminate.html" with form=terminate_form %}