{% extends '@Kiosk/layout.html.twig' %} {% import "macros/widgets.html.twig" as widgets %} {% import "@theme/components/buttons.html.twig" as buttons %} {% block login_box_msg %}{{ 'kiosk.video.title'|trans }}{% endblock %} {% block kiosk_content %} {{ form_start(form) }}
{# TODO make this configurable #} {{ form_widget(form.code, {attr:{inputmode: "none"}}) }}
{{ buttons.submit_button('login', {'title': null, 'class': 'btn-icon'}) }}
{{ form_end(form) }} {% endblock %} {% block login_box_after %} {% if kiosk_active_users is not empty or kiosk_inactive_users is not empty %}
{% if kiosk_active_users is not empty %}

{{ 'title.show_active_users'|trans }}

{% if kiosk_active_users is not empty %} {% for user in kiosk_active_users %} {{ widgets.user_avatar(user) }} {% endfor %} {% else %}

{{ 'empty.show_active_users'|trans }}

{% endif %}
{% endif %} {% if kiosk_inactive_users is not empty %}

{{ 'title.show_inactive_users'|trans }}

{% if kiosk_inactive_users is not empty %} {% for user in kiosk_inactive_users %} {{ widgets.user_avatar(user) }} {% endfor %} {% else %}

{{ 'empty.show_inactive_users'|trans }}

{% endif %}
{% endif %}
{% endif %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}