51 lines
1.6 KiB
HTML
51 lines
1.6 KiB
HTML
<div id="driver-list">
|
|
{% if parsed is defined and parsed.unused_files %}
|
|
<p class="notice">
|
|
{{ parsed.unused_files | length }} file(s) may be unused (not referenced by the INF):
|
|
<details>
|
|
<summary>Show unused files</summary>
|
|
<ul>
|
|
{% for f in parsed.unused_files %}
|
|
<li>{{ f }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</details>
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% if driver_data %}
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th x-data x-text="$store.i18n.t('driver_filename')">Filename</th>
|
|
<th x-data x-text="$store.i18n.t('driver_names_col')">Driver Name(s)</th>
|
|
<th x-data x-text="$store.i18n.t('architecture')">Architecture</th>
|
|
<th x-data x-text="$store.i18n.t('uploaded_at')">Uploaded</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for item in driver_data %}
|
|
<tr>
|
|
<td>{{ item.driver.original_filename }}</td>
|
|
<td>
|
|
{% if item.names %}
|
|
<select aria-label="Driver names">
|
|
{% for name in item.names %}
|
|
<option>{{ name }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
{% else %}
|
|
<em x-data x-text="$store.i18n.t('unknown')">Unknown</em>
|
|
{% endif %}
|
|
</td>
|
|
<td>{% if item.driver.architecture %}{{ item.driver.architecture }}{% else %}<span x-data x-text="$store.i18n.t('unknown')">Unknown</span>{% endif %}</td>
|
|
<td>{{ item.driver.uploaded_at }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p x-data x-text="$store.i18n.t('no_drivers')">No drivers uploaded yet.</p>
|
|
{% endif %}
|
|
</div>
|