{% extends "base.html" %} {% load i18n %} {% load static %} {% load operations %} {% load bootstrap_icons %} {% block title %}{% trans "Instances" %} - {{ compute.name }}{% endblock %} {% block page_heading %}{{ compute.name }} - {% trans "Instances" %}{% endblock page_heading %} {% block page_heading_extra %} {% if instances %} {% trans "Bulk migrate" %} {% endif %} {% if compute.maintenance %} {# a disabled button shows no title: its wrapper says why #} {% else %} {% bs_icon 'plus-lg' %} {% trans "New VM" %} {% endif %} {% endblock page_heading_extra %} {% block content %}
{% include "computes/host_nav.html" with section="instances" %} {% if compute.status is not True %}
{% blocktrans with name=compute.name error=compute.connection_error %}Problem occurred with host {{ name }}: {{ error }}{% endblocktrans %}
{% endif %} {% include 'instances/vm_list.html' %} {% endblock %} {% block script %} {% include 'instances/vm_list_scripts.html' %} {% job_panel_script job_resource %} {% endblock %}