ips/pkg6depotd/templates/index.html
Till Wegmueller d49bb3c306
feat: Add web UI for browsing packages in pkg6depotd
Add a human-facing web interface at /ui/ for browsing IPS package
repositories. Uses Askama templates, HTMX for interactivity, and
Pico.css for styling.

Routes:
- /ui/ - Publisher list with package counts
- /ui/packages/:publisher - Paginated package list
- /ui/search - Search with HTMX search-as-you-type
- /ui/package/:publisher/*fmri - Package detail with lazy manifest
- /ui/p5i - P5I file generation for installing package sets
2026-03-15 21:55:10 +01:00

20 lines
566 B
HTML

{% extends "base.html" %}
{% block title %}Package Repository{% endblock %}
{% block content %}
<h1>Package Repository</h1>
<div class="publisher-grid">
{% for pub_info in publishers %}
<a href="/ui/packages/{{ pub_info.name }}" class="publisher-card">
<h3>{{ pub_info.name }}</h3>
<div class="meta">
{{ pub_info.package_count }} packages
{% if !pub_info.updated.is_empty() %}
&middot; Updated {{ pub_info.updated }}
{% endif %}
</div>
</a>
{% endfor %}
</div>
{% endblock %}