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

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

{{ macros.cmd_selected_clients(selected_clients) }}

{% if os_groups|length > 1 %} The selected clients have different installed OS: {% endif %}

{{ form.hidden_tag() }} {% for os_choice in form.os %} {% endfor %}
{{ _('Operating System') }} {{ _('Clients') }}
{{ os_choice(class_="form-control") }} {{ os_choice.label.text }} {{ ', '.join(os_groups[os_choice.data]) }}
{% endblock %}