{% extends 'commands.html' %} {% import 'bootstrap/wtf.html' as wtf %} {% import 'macros.html' as macros %} {% set sidebar_state = 'disabled' %} {% set btn_back = true %} {% block nav_setup %} active{% endblock %} {% block nav_setup_setup %} active{% endblock %} {% block content %} {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %}

{{ _('Partitioning %(ip_count)d client(s)', ip_count=ip_count) }}

{{ macros.cmd_selected_clients(selected_clients) }} {% if common_disk_data|length > 0 %}
{% for disk, data in common_disk_data.items() %} {% for size, ips in data.inventory.items() %} {% if loop.first %} {% endif %} {% endfor %} {% endfor %}
{{ _('Disk') }} {{ _('Size (MiB)') }} {{ _('Clients') }}
{{ disk }} {% if size == data.common_size %} {{ size // 1024 }} {% else %} {{ size // 1024 }} {% endif %} {% for ip in ips %}
{{ ip }}
{% endfor %}

{{ _('Note: the disk size in bold represents the selected common size for partitioning') }}

{% endif %} {{ wtf.quick_form(form, action=url_for('action_setup_show'), method='get', button_map={'restore': 'primary'}, extra_classes='m-5') }} {% endblock %}