mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 21:30:41 +00:00
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
53 lines
1.7 KiB
HTML
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 }}">← 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 →</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|