2026-03-15 21:55:10 +01:00
|
|
|
{% if results.is_empty() %}
|
2026-03-15 22:25:29 +01:00
|
|
|
<div class="empty-state">
|
|
|
|
|
<p>No packages found.</p>
|
|
|
|
|
</div>
|
2026-03-15 21:55:10 +01:00
|
|
|
{% else %}
|
2026-03-15 22:25:29 +01:00
|
|
|
<div class="pkg-table-wrap">
|
|
|
|
|
<table class="pkg-table">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="col-select"></th>
|
|
|
|
|
<th>Package</th>
|
|
|
|
|
<th>Publisher</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% for r in &results %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="col-select">
|
|
|
|
|
<input type="checkbox"
|
|
|
|
|
onchange="toggleP5i(this, '{{ r.publisher }}', '{{ r.fmri }}')"
|
|
|
|
|
aria-label="Select {{ r.name }}">
|
|
|
|
|
</td>
|
|
|
|
|
<td class="pkg-name-cell">
|
|
|
|
|
<a href="/ui/package/{{ r.publisher }}/{{ r.fmri_encoded }}">{{ r.name }}</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="pkg-publisher">{{ r.publisher }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
2026-03-15 21:55:10 +01:00
|
|
|
{% endif %}
|