{% import "partials/icons.html" as ico %} {% set usage = usage | default({}, true) %} {% set new_driver_id = new_driver_id | default(None, true) %}
{{ parsed.unused_files | length }} file(s) in the ZIP are unused — the .inf never references them.
| File | Driver name(s) | Architecture | Used by | Added | Actions |
|---|---|---|---|---|---|
|
{# Placeholder span keeps the id addressable so an icon saved in
the dialog can be swapped in out of band. #}
{% if item.has_icon %}
|
{% if item.names %}
{# Multi-model INFs can carry a dozen names — show three, fold the rest. #}
{% for name in item.names[:3] %}{{ name }}{% endfor %}
{% if item.names | length > 3 %}
+{{ item.names | length - 3 }}{% for name in item.names[3:] %}{{ name }}{% endfor %} |
{% if item.driver.architecture %} {{ item.driver.architecture }} {% else %} Unknown {% endif %} | {% set n = usage.get(item.driver.id, 0) %} {% if n %}{{ n }}{% else %}0{% endif %} | {{ item.driver.uploaded_at.strftime('%Y-%m-%d %H:%M') if item.driver.uploaded_at is not string else item.driver.uploaded_at }} {% if new_driver_id and item.driver.id == new_driver_id %} {{ ico.i('check', 12) }}new {% endif %} | {% include "partials/driver_edit_modal.html" %} |
The ZIP must contain the .inf file and every file it references.