230b542015
- Rename package fablednetmon → fabledscryer throughout - Multi-dashboard: ownership, per-user defaults, HTMX edit (add/remove/reorder) - Read-only share tokens scoped to individual dashboards - Dashboard edit is HTMX-driven (no page reloads) - Plugin management system: remote catalog, download/install, hot-reload, in-app restart - plugin_index.py: fetch/cache remote index.yaml; default URL → bvandeusen/fabledscryer-plugins - plugin_manager.py: download_and_install_plugin, hot_reload_plugin, restart_app - ZIP extraction handles GitHub archive formats (name-v1.0.0/, name-main/) - Settings split into tabbed sections: General, Notifications, Ansible, Plugins - Plugins tab: catalog browser (HTMX), install/activate/update/restart actions - UI/branding: dark palette (#07071a), crystal ball SVG logo, animated star field, Libertinus Serif applied to headings, nav, labels, and section titles - Widget registry (core/widgets.py) for dashboard plugin integration - UPS widget.html (dashboard card) and settings/_tabs.html include - Migrations 0005–0008: dashboards, is_default, ownership, share tokens - docs/plugins/: writing-a-plugin.md updated with publishing guide, index.yaml.example template for fabledscryer-plugins repo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
{% if hosts %}
|
|
{% for host in hosts %}
|
|
{% set d = latest.get(host.id) %}
|
|
<div class="ping-row">
|
|
<div class="ping-meta">
|
|
<span class="ping-name">{{ host.name }}</span>
|
|
<span class="ping-addr">{{ host.address }}</span>
|
|
</div>
|
|
<div style="flex:1;">
|
|
{% if d is none %}
|
|
<span style="color:var(--text-dim);font-size:0.85rem;">—</span>
|
|
{% elif d.status.value == 'resolved' %}
|
|
<span class="dot dot-up" style="margin-right:0.5rem;"></span>
|
|
<span style="font-size:0.85rem;color:var(--green);">{{ d.resolved_ip or 'resolved' }}</span>
|
|
{% else %}
|
|
<span class="dot dot-down" style="margin-right:0.5rem;"></span>
|
|
<span style="font-size:0.85rem;color:var(--red);">Failed</span>
|
|
{% endif %}
|
|
</div>
|
|
<div class="ping-cur">
|
|
{% if d %}
|
|
<span style="color:var(--text-muted);font-size:0.75rem;">{{ d.resolved_at.strftime('%H:%M:%S') }} UTC</span>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
{% else %}
|
|
<p class="empty" style="padding:0.5rem 0;">No DNS-enabled hosts. <a href="/hosts/">Enable DNS on a host →</a></p>
|
|
{% endif %}
|