{% extends "base.html" %} {% load staticfiles %} {% load i18n %} {% block title %}{% trans "Instance" %} - {{ instance.name }}{% endblock %} {% block page_heading %} {{ instance.name }}{% if instance.title %} ({{ instance.title }}){% endif %} {% endblock page_heading %} {% block content %} {% include 'pleasewaitdialog.html' %}
{% if instance.status == 5 %} {% trans "Off" %} {% endif %} {% if instance.status == 1 %} {% trans "Active" %} {% endif %} {% if instance.status == 3 %} {% trans "Suspend" %} {% endif %} | | {% if instance.snapshots %} | {% endif %} {% if instance.cur_vcpu %} {{ instance.cur_vcpu }} {% trans "VCPU" %} {% else %} {{ instance.vcpu }} {% trans "VCPU" %} {% endif %} | {{ instance.cur_memory }} {% trans "MB" %} {% trans "RAM" %} | {% for disk in instance.disks %} {{ disk.size|filesizeformat }} {% trans "Disk" %} | {% endfor %} {% for net in instance.networks %} {% for ipv4 in net.ipv4 %} {{ ipv4 }} | {% endfor %} {% endfor %} {% if instance.guest_agent_ready %} {% endif %}
{% if user_quota_msg %}
{{ user_quota_msg|capfirst }} {% trans "quota reached" %}.
{% endif %}
{% include 'instances/power_tab.html' %} {% include 'instances/access_tab.html' %} {% include 'instances/resize_tab.html' %} {% include 'instances/snapshots_tab.html' %} {% include 'instances/settings_tab.html' %} {% include 'instances/stats_tab.html' %} {% include 'instances/destroy_tab.html' %}
{% if app_settings.VIEW_INSTANCE_DETAIL_BOTTOM_BAR == 'True' %} {% include 'bottom_bar.html' %} {% endif %} {% endblock %} {% block script %} {% endblock %}