ips/pkg6depotd/templates/packages.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

53 lines
1.7 KiB
HTML

{% extends "base.html" %}
{% block title %}{{ publisher }} — Packages{% endblock %}
{% block nav_publishers %} class="active"{% endblock %}
{% block content %}
<div class="page-header">
<div class="breadcrumb">
<a href="/ui/">Publishers</a><span class="sep">/</span>{{ publisher }}
</div>
<h1>{{ publisher }}</h1>
<p class="subtitle">{{ total_packages }} packages</p>
</div>
<div class="pkg-table-wrap">
<table class="pkg-table">
<thead>
<tr>
<th class="col-select"></th>
<th>Package</th>
<th>Version</th>
</tr>
</thead>
<tbody>
{% for pkg in packages %}
<tr>
<td class="col-select">
<input type="checkbox"
onchange="toggleP5i(this, '{{ publisher }}', '{{ pkg.fmri_str }}')"
aria-label="Select {{ pkg.name }}">
</td>
<td class="pkg-name-cell">
<a href="/ui/package/{{ publisher }}/{{ pkg.fmri_encoded }}">{{ pkg.name }}</a>
</td>
<td class="pkg-version">{{ pkg.version }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% if total_pages > 1 %}
<div class="pagination">
{% if page > 1 %}
<a href="/ui/packages/{{ publisher }}?page={{ page - 1 }}&per_page={{ per_page }}">&#8592; Previous</a>
{% endif %}
<span class="page-info">{{ page }} / {{ total_pages }}</span>
{% if page < total_pages %}
<a href="/ui/packages/{{ publisher }}?page={{ page + 1 }}&per_page={{ per_page }}">Next &#8594;</a>
{% endif %}
</div>
{% endif %}
{% endblock %}