{% extends "horizon/common/_modal_form.html" %} {% load horizon i18n %} {% block form_id %}launch_image_form{% endblock %} {% block form_action %}{% url horizon:nova:images_and_snapshots:images:launch image.id %}{% endblock %} {% block modal_id %}launch_image_{{ image.id }}{% endblock %} {% block modal-header %}{% trans "Launch Instances" %}{% endblock %} {% block modal-body %}
{% include "horizon/common/_form_fields.html" %}

{% trans "Description:" %}

{% trans "Specify the details for launching an instance. The chart below shows the resources used by this project in relation to the project's quotas." %}

{% trans "Project Quotas" %}

{% trans "Instance Count" %} ({{ usages.instances.used }})

{{ usages.instances.available }} {% trans "Available" %}

{% horizon_progress_bar usages.instances.used usages.instances.quota %}
{% trans "VCPUs" %} ({{ usages.cores.used }})

{{ usages.cores.available }} {% trans "Available" %}

{% horizon_progress_bar usages.cores.used usages.cores.quota %}
{% trans "Disk" %} ({{ usages.gigabytes.used }} {% trans "GB" %})

{{ usages.gigabytes.available }} {% trans "GB" %} {% trans "Available" %}

{% horizon_progress_bar usages.gigabytes.used usages.gigabytes.quota %}
{% trans "Memory" %} ({{ usages.ram.used }} {% trans "MB" %})

{{ usages.ram.available }} {% trans "MB" %} {% trans "Available" %}

{% horizon_progress_bar usages.ram.used usages.ram.quota %}
{% endblock %} {% block modal-footer %} {% trans "Cancel" %} {% endblock %}