{% extends 'base.html' %} {% import 'partials/history_tables.html' as tables with context %} {% import 'partials/pager.html' as pager %} {% block scripts %} {{ pager.pager_scripts() }} {{ tables.table_scripts(page_size) }} {% endblock %} {% block header %} {% endblock %} {% block content %} {# MSG: Heading for the section showing the session currently being recorded. #}

{% trans %}Current Session{% endtrans %}

{# One flex item, so the actions wrap as a group instead of splitting across rows. A div rather than a span: the name box's control wrapper is a block. #}
{# Named on the way in rather than started blank and renamed after: the name is what the splash screen shows, so a session that has to be named in a second step spends its first songs anonymous. The placeholder carries the instruction, so the bar stays one line high. #} {# Disabled until the box has something in it: naming is the whole point of starting one by hand, so there is nothing to fall back to. #}
{# MSG: Heading for the list of past karaoke sessions. #}

{% trans %}Session History{% endtrans %}

{# Above the table it filters. Nothing sits on the left here, but the row still holds the checkbox to the right edge. #}
{# Off by default, so the list shows every night on record. See hideAutoStarted. #}
{# The name column is deliberately unsized: it takes whatever the others do not need, on a phone as much as on a desktop. #} {# MSG: Session list column header for the session name. #} {# MSG: Session list column header for when the session started. #} {# MSG: Session list column header for how many songs were played. #}
{% trans %}Session{% endtrans %}{% trans %}Started{% endtrans %}{% trans %}Plays{% endtrans %}
{{ pager.pager_controls("sessions") }} {% endblock %}