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

31 lines
1 KiB
HTML

{% extends "base.html" %}
{% block title %}Package Repository{% endblock %}
{% block nav_publishers %} class="active"{% endblock %}
{% block content %}
<div class="page-header">
<h1>Package Repository</h1>
<p class="subtitle">Browse publishers and packages served by this depot</p>
</div>
<div class="publisher-grid">
{% for pub_info in publishers %}
<a href="/ui/packages/{{ pub_info.name }}" class="publisher-card">
<div class="pub-name">{{ pub_info.name }}</div>
<div class="pub-stats">
<div class="stat">
<span class="stat-value">{{ pub_info.package_count }}</span>
<span class="stat-label">Packages</span>
</div>
{% if !pub_info.updated.is_empty() %}
<div class="stat">
<span class="stat-value" style="font-size: 0.85rem;">{{ pub_info.updated }}</span>
<span class="stat-label">Last Updated</span>
</div>
{% endif %}
</div>
</a>
{% endfor %}
</div>
{% endblock %}