{% load i18n horizon %}

{% blocktrans %}Specify the details for launching an instance.{% endblocktrans %}

{% blocktrans %}The chart below shows the resources used by this project in relation to the project's quotas.{% endblocktrans %}

{% trans "Flavor Details" %}

{% trans "Name" %}
{% trans "VCPUs" %}
{% trans "Root Disk" %} {% trans "GB" %}
{% trans "Ephemeral Disk" %} {% trans "GB" %}
{% trans "Total Disk" %} {% trans "GB" %}
{% trans "RAM" %} {% trans "MB" %}

{% trans "Project Quotas" %}

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

{{ usages.instances.available|quota }}

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

{{ usages.cores.available|quota }}

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

{{ usages.gigabytes.available|quota:"GB" }}

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

{{ usages.ram.available|quota:"MB" }}

{% horizon_progress_bar usages.ram.used usages.ram.quota %}