{% extends 'pages/settings/settings.twig' %} {% import 'macros/form.twig' as f %} {% import 'macros/base.twig' as m %} {% block title %}{{ __('settings.sessions') }}{% endblock %} {% block row_content %}
{{ m.info(__('settings.sessions.info')) }}
{% for session in sessions %} {% endfor %}
{{ __('settings.sessions.id') }} {{ __('settings.sessions.last_activity') }} {% if sessions|length > 1 %}
{{ csrf() }} {{ f.hidden('id', 'all') }} {{ f.submit( __('form.delete_all'), {'name': 'delete', 'btn_type': 'danger', 'size': 'sm', 'icon_left': 'trash'} ) }}
{% endif %}
{{ session.id[:15] }}…
{{ session.last_activity.format(__('Y-m-d H:i:s')) }} {% if session.id != current_session %}
{{ csrf() }} {{ f.hidden('id', session.id[:15]) }} {{ f.submit( __('form.delete'), {'name': 'delete', 'btn_type': 'danger', 'size': 'sm', 'icon_left': 'trash'} ) }}
{% else %} {{ __('settings.sessions.current') }} {% endif %}
{% endblock %}