{% load i18n %} {% load url from future %} {% load form_helpers %}

{% trans "Available Deployment Roles" %}

{% csrf_token %}
{% for role in free_roles %}{% spaceless %} {% include "tuskar_boxes/overview/_role_info.html" with role=role %} {% endspaceless %}{% endfor %}

{% trans "Hardware" %}

{% for flavor in flavors %}
{% trans "Flavor:" %} {{ flavor.name }}, {{ flavor.cpu_arch }}, {{ flavor.vcpus }}{% trans " CPU" %}, {{ flavor.ram }}{% trans " MB of Memory" %}, {{ flavor.disk }}{% trans " GB of Disk" %}
{% for role in flavor.roles %}{% spaceless %} {% include "tuskar_boxes/overview/_role_info.html" with role=role %} {% endspaceless %}{% endfor %}

{% trans "enroll a deployment role" %}
{% include "tuskar_boxes/overview/_node_info.html" with nodes=flavor.nodes classes="col-xs-7" %}
{% endfor %}
{% trans "No flavor" %}
{% include "tuskar_boxes/overview/_node_info.html" with nodes=no_flavor_nodes %}