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>
29 lines
1.4 KiB
HTML
29 lines
1.4 KiB
HTML
<div style="background:#0f0f1e;border:1px solid #2a2a4a;border-radius:6px;padding:1rem;">
|
|
<div style="display:flex;align-items:center;gap:1rem;margin-bottom:0.75rem;">
|
|
<span style="color:#a0a000;font-weight:bold;">RUNNING</span>
|
|
<span style="color:#a0a0c0;font-size:0.9rem;">{{ run.playbook_path }}</span>
|
|
<a href="/ansible/runs/{{ run.id }}" style="color:#6060c0;font-size:0.82rem;margin-left:auto;">Full view →</a>
|
|
</div>
|
|
<pre id="sse-output-{{ run.id }}"
|
|
style="background:#080810;padding:0.75rem;border-radius:4px;font-family:monospace;font-size:0.78rem;color:#a0c0a0;max-height:400px;overflow-y:auto;white-space:pre-wrap;margin:0 0 0.5rem 0;">
|
|
</pre>
|
|
<div id="sse-status-{{ run.id }}" style="font-size:0.85rem;color:#606080;">
|
|
Streaming output…
|
|
</div>
|
|
<script>
|
|
(function() {
|
|
var es = new EventSource('/ansible/runs/{{ run.id }}/stream');
|
|
var pre = document.getElementById('sse-output-{{ run.id }}');
|
|
var status = document.getElementById('sse-status-{{ run.id }}');
|
|
es.addEventListener('output', function(e) {
|
|
pre.textContent += e.data + '\n';
|
|
pre.scrollTop = pre.scrollHeight;
|
|
});
|
|
es.addEventListener('done', function(e) {
|
|
es.close();
|
|
status.textContent = 'Finished: ' + e.data;
|
|
});
|
|
})();
|
|
</script>
|
|
</div>
|