{% extends "base.html" %} {% from "_icons.html" import icon %} {% block title %}Library{% endblock %} {% block content %} {% set status_cls = {'complete': 'ok', 'scanned': 'scan', 'partial': 'run'} %} {% set total_pages = docs|sum(attribute='page_count') %} {% set total_missing = docs|sum(attribute='missing_pages') %}

Library

{{ docs|length }} document{{ 's' if docs|length != 1 }} · {{ total_pages }} page{{ 's' if total_pages != 1 }} {% if docs %} · {% if total_missing %}{{ total_missing }} page{{ 's' if total_missing != 1 }} still without text{% else %}every page has text{% endif %}{% endif %}

{% if docs %}
{% if spaces %}{% endif %}
{% endif %}
{% if docs %}
{% for key, label in [('all', 'All'), ('partial', 'Needs text'), ('scanned', 'Scanned'), ('complete', 'All pages have text')] %} {% endfor %}
{% for d in docs %} {% include "_doc_card.html" %} {% endfor %}
{% else %}

No documents yet

Use Upload in the top bar or drop files anywhere on this page.

{% endif %} {% endblock %} {% block scripts %}{% endblock %}