{% if index == 1 %} {% else %} {% endif %}
Page {{ index }} of {{ total_pages }}
{% if index == total_pages %} {% else %} {% endif %}
{% if current_page.status == 'known' %}
Known
  • paper: {{ current_page.info.paper_number }}
  • page: {{ current_page.info.page_number }}
  • version: {{ current_page.info.version }}
  • rotation: {{ current_page.rotation }}
  • {{ current_page.qr_codes|length }} qr-codes read:
{% elif current_page.status == 'extra' %}
Extra
  • paper: {{ current_page.info.paper_number }}
  • questions: {{ current_page.info.question_list_html | safe }}
  • rotation: {{ current_page.rotation }}
  • {% if current_page.qr_codes %}
  • {{ current_page.qr_codes|length }} qr-codes read:
  • {% else %}
  • No qr-codes read
  • {% endif %}
{% elif current_page.status == 'unknown' %}
Unknown
  • No qr-codes could be read
{% elif current_page.status == 'discard' %}
Discard
  • {{ current_page.info.reason }}
  • rotation: {{ current_page.rotation }}
  • {% if current_page.qr_codes %}
  • {{ current_page.qr_codes|length }} qr-codes read:
  • {% else %}
  • No qr-codes read
  • {% endif %}
{% elif current_page.status == 'error' %}
Error
  • {{ current_page.info.reason }}
  • rotation: {{ current_page.rotation }}
  • {{ current_page.qr_codes|length }} qr-codes read:
{% elif current_page.status == 'unread' %}
Unread
  • Have not read qr-codes yet
{% endif %} {% if is_push_locked %}
Bundle is locked
{% endif %} {% if not is_pushed and not is_push_locked %} {% include "Scan/fragments/rotate_image.html" %} {% if current_page.status == 'known' %} Discard {% elif current_page.status == 'error' %} Discard {% elif current_page.status == 'unread' %} {% elif current_page.status == 'discard' %} {% elif current_page.status == 'unknown' %} {% elif current_page.status == 'extra' %} {% if current_page.info.paper_number %} {% else %}
Set extra page information
Paper:
{% for qidx, qlabel, qlabel_html in question_labels_html %}
{% endfor %}
{% endif %} {% endif %} {% endif %}