1 {% extends "2022/base_simple.html" %}
3 {% load reporting_stats catalogue_tags %}
7 {% trans "Reports" as title %}
11 {% block titleextra %}{% trans "Reports" %}{% endblock %}
13 {% block bodyid %}reports-stats{% endblock %}
19 <div class="normal-text">
23 <tr><th>Utwory</th></tr>
24 <tr><td>Utwory:</td><td>{% count_books %}</td></tr>
25 <tr><td>Niezależne książki:</td><td>{% count_books_root %}</td></tr>
26 <tr><td>Utwory nadrzędne:</td><td>{% count_books_parent %}</td></tr>
27 <tr><td>Wszystkie utwory:</td><td>{% count_books_all %}</td></tr>
29 <tr><th>Media</th><th>Liczba</th><th>Rozmiar</th><th>Do wymiany</th></tr>
30 {% for mt in media_types %}
32 <td>{{ mt.type }}:</td>
33 <td>{{ mt.count }}</td>
34 <td>{{ mt.size|filesizeformat }}</td>
37 {% for m in mt.deprecated_files %}
38 <br/><a href="{{ m.book.get_absolute_url }}">{% book_title m.book %}: {{ m }}</a>
47 {% for license, license_description in licenses %}
48 <li>{{ license }} ({{ license_description }})</li>
53 <h3>Aktualność plików</h3>
59 style="width: 80px; overflow: hidden; text-overflow: ellipsis; padding: 2px;"
70 <div style="width: 80px; overflow: hidden; text-overflow: ellipsis; padding: 2px;">
78 <td style="vertical-align: top">
79 {% for et in e.tags %}
81 style="position: relative; width:80px; overflow:hidden; text-overflow: ellipsis; padding: 2px;"
82 title="{{ et.perc }}%"
84 <span style="z-index: 0; background: {% if et.tag == e.etag %}#92BD39{% elif et.tag == '' %}#FF4C54{% else %}#FFA500{% endif %}; position: absolute;left:0; top:0; bottom: 0; width: {{ et.perc }}%;"></span>
85 <span style="position: relative; z-index: 1">
86 {{ et.count }} {{ et.tag }}