mirror of
https://codeberg.org/Toasterson/ips.git
synced 2026-04-10 13:20:42 +00:00
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
20 lines
566 B
HTML
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() %}
|
|
· Updated {{ pub_info.updated }}
|
|
{% endif %}
|
|
</div>
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|