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>
33 lines
1.6 KiB
HTML
33 lines
1.6 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Share Link Created — Fabled Scryer{% endblock %}
|
|
{% block content %}
|
|
<div style="max-width:640px;">
|
|
<h1 class="page-title">Share Link Created</h1>
|
|
|
|
<div class="card" style="border-color:var(--gold);margin-bottom:1rem;">
|
|
<div style="font-size:0.8rem;font-weight:600;color:var(--gold);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:0.75rem;">
|
|
Copy this link now — it cannot be shown again
|
|
</div>
|
|
|
|
{% set share_url = request.host_url.rstrip('/') + '/share/' + raw_token %}
|
|
<div style="display:flex;gap:0.5rem;align-items:center;">
|
|
<input type="text" id="share-url" value="{{ share_url }}" readonly
|
|
style="flex:1;font-family:ui-monospace,monospace;font-size:0.8rem;background:var(--bg);color:var(--text);">
|
|
<button onclick="navigator.clipboard.writeText(document.getElementById('share-url').value).then(()=>this.textContent='Copied!')"
|
|
class="btn btn-ghost btn-sm" style="white-space:nowrap;">Copy</button>
|
|
</div>
|
|
|
|
<div style="margin-top:0.75rem;font-size:0.82rem;color:var(--text-muted);">
|
|
{% if label %}<strong>Label:</strong> {{ label }} · {% endif %}
|
|
{% if expires_at %}<strong>Expires:</strong> {{ expires_at.strftime("%Y-%m-%d") }}
|
|
{% else %}<strong>Expires:</strong> Never{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display:flex;gap:0.75rem;">
|
|
<a href="/d/{{ dashboard.id }}/share" class="btn btn-ghost">Manage Share Links</a>
|
|
<a href="/d/{{ dashboard.id }}" class="btn btn-ghost">Back to Dashboard</a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|