ips/pkg6depotd/templates/partials/search_results.html
Till Wegmueller 2b6613dbfe
feat: Redesign web UI with dark theme and fix display bugs
Design overhaul:
- Dark "Solaris Engineering" theme with amber accent colors
- JetBrains Mono + Source Sans 3 typography via Google Fonts
- Publisher cards with accent borders and stats layout
- Styled package tables with hover states
- Breadcrumb navigation and active nav indicators
- Colored dependency type badges (require/optional/incorporate)
- Terminal-style install command display
- Floating pill-shaped P5I cart with enter animation
- Custom scrollbars for manifest viewer

Bug fixes:
- P5I cart now hidden by default (was visible with 0 items)
- "Updated" timestamp now formatted via format_packaging_date
- Package count falls back to list_packages when get_info reports 0
2026-03-15 22:25:29 +01:00

32 lines
988 B
HTML

{% if results.is_empty() %}
<div class="empty-state">
<p>No packages found.</p>
</div>
{% else %}
<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>
{% endif %}